Re: Enumerating Gtk object & proprietes ?



raptor unacs bg wrote:

Is there a way to enumerate the proprites and methods of Gtk objects, say I do :

$obj = new Gtk::Button;
@p = $obj->proprietes;
print @p;

and I get something like :
Name
Class
Borther width
Label
X
Y
Width
Height
.... etc..

I want the same for methods and events !? If even there is static way to do this i.e. extract this from a 
file ... where this can be found ?! what about extract script ?
Have you looked at the docs that are built by Gtk-Perl? They are in
the build directory for each sub-module. They are built by a script
in the toplevel tools directory and this might be interesting to you.

HTH, Dermot




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