Re: Obtaining widget info



Jim Donoghue <jim smithy com> writes:

Is there any way to find out what something is in Gtk? Something like:

$what = $widget->type()..

returning something like Gtk::Entry, etc...

Just do:

print "widget is $what\n";


-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/



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