Evgeny Chukreev wrote:
Hello! [repost]
I have tried to create private signal for my class.
Now it looks like:
-- - - - -- - - - - - - - - - - - - - - - --
import gtk, gobject
class A (gtk.Window, gobject.GObject):
eek! If you just want a gtk.Window subclass, don't also subclass from
Don Allingham wrote:
In the past, I've been able to determine the width of a string before it
is displayed by using the width() method of a GdkFont. With the change
to Pango, this method no longer seems to apply. While I can get a
GdkFont, and use the string_width method, it doesn't seem to
On Mon, 09 Sep 2002 15:00:01 +0800, James Henstridge [EMAIL PROTECTED] wrote:
JH Try changing your code to look like the following:
JH class A(gtk.Window):
JH __gsignals__ = { 'no_undo': (gobject.SIGNAL_RUN_FIRST, None, ()) }
JH def __init__(self):
JH
Martin Grimme wrote:
I would be very happy if anyone could post a short
example of how to do panel applets with PyGNOME 1.9.x.
Here you can find a simple example, this code is not mine, I got it
from RM [EMAIL PROTECTED], I'm giving it away with his permission,
and I haven't yet looked at
Evgeny Chukreev wrote:
On Mon, 09 Sep 2002 15:00:01 +0800, James Henstridge [EMAIL PROTECTED] wrote:
JH Try changing your code to look like the following:
JH class A(gtk.Window):
JH __gsignals__ = { 'no_undo': (gobject.SIGNAL_RUN_FIRST, None, ()) }
JH def __init__(self):
JH
Hi,
I want to check a few sockets and respond fairly quickly in a gnome
app.
once up and running I do gtk.idle_add(self.check_comms)
def check_comms(self):
rtoread, rtowrite, err = select.select(self.in_comms, self.out_comms,
[], 1.0)
if (len(rtoread) != 0):
On Mon, Sep 09, 2002 at 09:30:55PM +1200, Rob Brown-Bayliss wrote:
Hi,
I want to check a few sockets and respond fairly quickly in a gnome
app.
once up and running I do gtk.idle_add(self.check_comms)
def check_comms(self):
rtoread, rtowrite, err =
Michele Campeotto wrote:
Martin Grimme wrote:
I would be very happy if anyone could post a short
example of how to do panel applets with PyGNOME 1.9.x.
Here you can find a simple example, this code is not mine, I got it
from RM [EMAIL PROTECTED], I'm giving it away with his
On Mon, Sep 09, 2002 at 09:30:55PM +1200, Rob Brown-Bayliss wrote:
I want to check a few sockets and respond fairly quickly in a gnome
app.
once up and running I do gtk.idle_add(self.check_comms)
def check_comms(self):
rtoread, rtowrite, err = select.select(self.in_comms,
On Mon, Sep 09, 2002 at 10:38:28AM +0800, James Henstridge wrote:
The new PyGTK is not fully compatible with the old one. There are a few
things you will need to do to convert your app:
Added to FAQ as
http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq02.002.htp
Take care,
--
On Sat, 2002-09-07 at 10:24, Anthony Tekatch wrote:
and got the following error:
libtool: link: `/usr/lib/libesd.la' is not a valid libtool archive
After some digging I found that there is some sort of problem with the
esound package and its improper use of library links. I could not
On Tue, 2002-09-10 at 00:20, Christian Reis wrote:
You might want to look at gtk.input_add() and friends, which IIRC does
what you want. I think I learned how to use it reading the GTK+
tutorial, and if you do have a minute, write a simple example back and
I'll add it to the FAQ.
What I
If you ran into the problem of libgnomeui not being correctly
initialised when you call gnome.init(), that problem has now been
solved. You will need to upgrade to libgnome-2.0.5 (in the 2.0.2
release candidate) in order to get the fix. Thanks go to Matt Wilson
for tracking down the
13 matches
Mail list logo