Querying about the type of a given widget
- From: "Cogan, Gil" <gil cogan intel com>
- To: "'gtk-perl-list gnome org'" <gtk-perl-list gnome org>
- Subject: Querying about the type of a given widget
- Date: Wed, 3 Jan 2001 09:29:39 -0800
I'd like to query whether a certain Gtk object is of a given type/class
my $widget = pop @widgets;
if $widget is an entry widget do this else do that.
I looked in "Types - Handle run-time type creation", which is in the GTK+
reference manual, but in vain.
Thanks for your help.
] [Thread Prev