Re: [pygtk] double click on a CList

2001-02-01 Thread Dave Reed
From: Pier [EMAIL PROTECTED] Hi again, Ricardo Caesar Lenzi wrote: Try this: def on_clist_button_press_event(clist,mousebutton,data): if mousebutton.type==5: print "Double-click!" clist.connect("button_press_event",on_clist_button_press_event) - Ricardo

Re: [pygtk] double click on a CList

2001-02-01 Thread Ricardo Caesar Lenzi
Pier wrote: Hi again, Ricardo Caesar Lenzi wrote: Try this: def on_clist_button_press_event(clist,mousebutton,data): if mousebutton.type==5: print "Double-click!" clist.connect("button_press_event",on_clist_button_press_event) - Ricardo this does not work

Re: [pygtk] double click on a CList

2001-02-01 Thread George Young
On Thu, 01 Feb 2001, you wrote: Pier wrote: Ricardo Caesar Lenzi wrote: Try this: def on_clist_button_press_event(clist,mousebutton,data): if mousebutton.type==5: I think it's somewhat clearer to say (having done "import GDK" somewhere): if mousebutton.type ==

[pygtk] double click on a CList

2001-01-31 Thread Pier
Hi to all i need to handle a double click on a row of a CList but i can't figure the name of the signal ("double_click" does not work); any idea Tks Pier ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

Re: [pygtk] double click on a CList

2001-01-31 Thread Ricardo Caesar Lenzi
Pier wrote: Hi to all i need to handle a double click on a row of a CList but i can't figure the name of the signal ("double_click" does not work); any idea Tks Pier ___ pygtk mailing list [EMAIL PROTECTED]