Re: Another newbie question
- From: Alexandre Jousset <mid gtmp org>
- To: "Fred. Oger" <oger sia ucl ac be>
- Cc: gtk-perl mailing list <gtk-perl-list gnome org>
- Subject: Re: Another newbie question
- Date: Mon, 25 Oct 2004 15:16:17 +0200
Hi,
Fred. Oger wrote:
Hi all,
I have a function which takes a widget (either a Gtk2::Button or a
Gtk2::Entry) as argument. I need to know the type of this widget. Is the
any function to get it ?
Use ref($widget), that returns a string containg the type. Try it !
HTH,
--
\^/
-/ O \----------------------------------------
| |/ \| Alexandre (Midnite) Jousset |
-|___|----------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]