[pygtk] Unsure which module to import
Chris Irish
chris.irish at libertydistribution.com
Thu Jul 15 06:38:53 WST 2004
John Finlay wrote:
>> Ah it seems I found the answer myself. In the FAQs section 5.4, when
>> the example is testing for single, double, or triple clicks it is
>> shown that you test the event type like above. However, it's not
>> GDK._2BUTTON_PRESS, it seems to work correctly if you test against
>> gtk.gdk._2BUTTON_PRESS. Maybe this is implied or something, or maybe
>> it's just a typo in the FAQs. Hopefully this helps anyone else with
>> the same question/problem. :)
>>
> This stuff is also documented in the PyGTK 2 Reference Manual, for
> example in:
>
> http://www.moeraki.com/pygtkreference/pygtk2reference/class-gdkevent.html
>
> Don't use the www.pygtk.org manuals as they are not being updated.
>
> John
Cool, thanks for the info John
More information about the pygtk
mailing list