Querying about the type of a given widget



Hi,

I'd like to query whether a certain Gtk object is of a given type/class 
Example:

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.

Gil.





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