introspection?



Is there any sort of introspection facility built into gtk?  For example,
I'd like to be able to ask a widget what signals it knows about and what its
property names are.  This isn't perhaps such a useful thing when programming
in C, but I've gotten kind of spoiled working with Python where such
facilities are common, and I'm using gtk strictly from Python at this point.
It's much easier to ask a widget for the signals it responds to than to poke
through the reference manual page-by-page or scan the source code for a
widget and its ancestors in the class hierarchy.

Thanks,

-- 
Skip Montanaro (skip pobox com)
(847)971-7098




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]