Re: Obtaining widget info

Le mer 23/10/2002 à 19:20, Guillaume Cottenceau a écrit :
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";

I think you have more chance with:

print "widget is $widget\n";

Which is certainely a syntaxical error.

Guillaume Cottenceau -
gtk-perl-list mailing list
gtk-perl-list gnome org

Daniel Lacroix

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