Hi everybody !

Using glade, it is possible to generate an interface description as a xml
file. Moreover, via libglade, it is possible to perform several operations
with this xml file, like listing all widgets, do signals/callbacks
association and so on.

My problem is: I would like to list all events related to a specific widget,
I mean, to list all events set by user when designing the interface in glade
but without parsing the xml file, just using libglade. Reading
documentation, I discovered that get_event() could do this for me, that is,
get_event() returns a number (a event mask) with all events set by user.
However, I couldn't understand how to use this number for converting the
bits inside mask into event/signals names. I will use this feature to create
automatic signals/callbacks association in my application.

Any tip/code fragment ?

Thanks a lot !

Marcelo Barros
_______________________________________________
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