[pygtk] A few questions/comments

e11321 at comcast.net e11321 at comcast.net
Mon Jan 8 05:05:34 WST 2007


Hi,

Is there a way to search this list?  I've looked from these places:
    http://www.daa.com.au/mailman/listinfo/pygtk
    http://www.daa.com.au/pipermail/pygtk/

I can't find how to add a separator to a pop up menu.  I created a pop up menu a couple of month ago and have no idea where I found out how to do that (probably copied from some example).

The documentation for TreeModel.get_iter_from_string(string_path) does not define the format for 'string_path'  This got me a couple of months ago, and then again yesterday.  How do I put in a request to get the documentation fixed?

For 'button-press-event' handlers:

    def mouseClick(self, widget, event):
        #....
        x,y = event.get_coords()
 
Is there a reason that x,y are floating point values?  When I turn around and call TreeView function get_path_at_pos(x,y) I get a warning because of the floating point values (I'm casting them so I'm not seeing the warning at the moment).

Pat.


More information about the pygtk mailing list