Re: connect to all glade widgets
| From: | Steph | Date: | Tue, 05 Feb 2002 14:01:41 +0000 |
| Subject: | Re: connect to all glade widgets | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1144@lists.php.net to get a copy of this message | ||
And how would you differentiate between the widgets?
I suppose it'd be possible (from dev side) to fetch them as an array, but you'd still have
to fetch the correct widget from such an array & put a handle on it in PHP, so you wouldn't
be saving any time by doing so.
----- Original Message -----
From: "Moritz Post" <MoritzPost@gmx.de>
To: "Steph" <steph.fox@btinternet.com>
Cc: <php-gtk-general@lists.php.net>
Sent: Tuesday, February 05, 2002 1:21 PM
Subject: Re: [PHP-GTK] connect to all glade widgets
> hi
>
> > That'd be illogical.
> >
> > Or am I missing something?
>
> well... you have to use $WidgetFromGlade =
> $glade->get_widget("<widgetNameInGlade>"); to get the each $WidgetFromGlade.
> i think there should be something
> so that you have all the widgets as an objekt straight away.
>
> moritz
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>