logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Enumerating Gtk object & proprietes ?: msg#00068

Subject: Re: Enumerating Gtk object & proprietes ?
raptor@xxxxxxxx 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


<Prev in Thread] Current Thread [Next in Thread>