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
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]