How to get the Class name of an element
- From: <list guenther-sohler net>
- To: <gtk-perl-list gnome org>
- Subject: How to get the Class name of an element
- Date: Fri, 16 Apr 2010 09:25:31 +0000
Its really a stupid question.
If I write
$text=Gtk2::Entry->new;
or
$text=Gtk2::ComboBoxEntry->new;
how can I check later in the program if $text is an Entry or an
ComboBoxEntry ?
if($text->get_text != undef)
{
}
does not help. It already tries to call an undefined function
rds
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]