Re: [pygtk] problem with rh9

2003-06-13 Thread Christian Reis
On Fri, Jun 13, 2003 at 02:06:51PM -0700, Mark C. Mason wrote: > This program: > > #!/bin/env python > import gtk > > def hello_cb(button): > print "Hello World" > window.destroy() > > window = gtk.Window(gtk.WINDOW_TOPLEVEL) # create a top level window > # never gets past here.

[pygtk] problem with rh9

2003-06-13 Thread Mark C. Mason
This program: #!/bin/env python import gtk def hello_cb(button): print "Hello World" window.destroy() window = gtk.Window(gtk.WINDOW_TOPLEVEL) # create a top level window # never gets past here. Produces this message: window = gtk.Window(gtk.WINDOW_TOPLEVEL) # create a top

[pygtk] spurious enter/leave events?

2003-06-13 Thread Lars Damerow
Hello, I'm trying to detect when the pointer enters or leaves the area of a drawing area, so I did the obvious thing of putting the drawing area in an event box and hooking callbacks up to its enter_notify_event and leave_notify_events. This works fine, but I'm also getting enter and leave notifi

[pygtk] Lines in GtkFixed ?

2003-06-13 Thread Jean-Baptiste Cazier
Sæl ! I am trying to draw a tree (not a directory like GtkTree but more like a graph) which nodes and edges should be active (ie tootip, clickable, ...) Therefore I decided to draw them on a GtkFixed rather than a GtkDrawingArea. My nodes are buttons which are very easy to handle. However I ca