Re: unassigned variables in docs
| From: | Malk0 | Date: | Thu, 11 Nov 2004 11:59:15 +0000 |
| Subject: | Re: unassigned variables in docs | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5219@lists.php.net to get a copy of this message | ||
Hi John
the $item is the selected item in the combo list.
this object is passed to the function on signal 'select-child' =>
$list->connect('select-child', 'print_this');
So when this signal is emitted the function print_this will be called
with the list object as first parameter and the selected child item as
second parameter.
You perhaps need to have a further look to GtkSignal to better
understand how does this work:
http://gtk.php.net/manual/en/signals.whatare.php
best regards,
nathan
On Wed, 10 Nov 2004 22:20:56 -0500, John Coder <jcoder@insightbb.com> wrote:
> Hi all,
> I've been lurking for awhile and I came across something I can't figure
> out in the docs.
> In
>
> http://gtk.php.net/manual/en/gtk.gtkcombo.method.set_popdown_strings.php
> $item is used in the function print_this.But I can't find what it is assigned to. The only
> instances of it are in the function.
> Could someone explain where it came from?
>
> Thanks
> John Coder
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
-- Malk0 --
venez discuter php-gtk en francais ici http://mk0phpgtk.xgarreau.org