Querying about the type of a given widget


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.


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