> There is a reference to GDK_2BUTTON_PRESS in
>    /usr/share/pygtk/2.0/defs/gdk-types.defs
> but I am at a total loss on how to use this in my python program.
> 
> What can I do? I can slap a '5' in there but it is gross...

try:

from gtk import gdk

and later on use gdk.2BUTTON_PRESS 

defined starting with GTK_* are in the gtk module and GDK_* in gtk.gdk.

-- 
Johan Dahlin <[EMAIL PROTECTED]>
Async Open Source

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to