Re: GtkCTree nodes
| From: | epplestun | Date: | Thu, 27 Mar 2003 17:37:56 +0000 |
| Subject: | Re: GtkCTree nodes | ||
| References: | 1 2 3 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3158@lists.php.net to get a copy of this message | ||
parent return scrolledwindow and not gtkctreenode :( because?¿
----- Original Message -----
From: "epplestun" <epplestun@alaplaya.com>
To: "epplestun" <epplestun@alaplaya.com>; "Rich Payne"
<rdp@talisman.mv.com>
Cc: <php-gtk-general@lists.php.net>
Sent: Thursday, March 27, 2003 6:35 PM
Subject: Re: [PHP-GTK] GtkCTree nodes
> I can´t do this:
>
> $parent = $this->gui['BBDD']->parent;
> $name = $this->gui['BBDD']->node_get_text($parent,0);
> echo $name."\n";
>
>
> Warning: node_get_text() expects argument 1 to be GtkCTreeNode,
> GtkScrolledWindo
> w given in c:\test\BBDD\bbdd.php on line 46
>
> Why this?¿
>
> ----- Original Message -----
> From: "epplestun" <epplestun@alaplaya.com>
> To: "Rich Payne" <rdp@talisman.mv.com>
> Cc: <php-gtk-general@lists.php.net>
> Sent: Thursday, March 27, 2003 6:27 PM
> Subject: Re: [PHP-GTK] GtkCTree nodes
>
>
> > thx :)
> > ----- Original Message -----
> > From: "Rich Payne" <rdp@talisman.mv.com>
> > To: "epplestun" <epplestun@alaplaya.com>
> > Cc: <php-gtk-general@lists.php.net>
> > Sent: Thursday, March 27, 2003 6:17 PM
> > Subject: Re: [PHP-GTK] GtkCTree nodes
> >
> >
> > >
> > >
> > > $parent = $node->parent;
> > >
> > > then use the node_get_text() or node_get_pixtext() functions to get
the
> > > text.
> > >
> > > --rdp
> > >
> > > On Thu, 27 Mar 2003, epplestun wrote:
> > >
> > > > Hi :-)
> > > >
> > > > How can i get the text of the parent node if I select the child
node?¿
> > > >
> > > > Example:
> > > >
> > > > |parent
> > > > |----Chlid1
> > > > |----Child2
> > > > |parent2
> > > > |----Child1-2
> > > >
> > > > If i select Child1 or child 2 how can I get the text parent ?¿ and
if
> a
> > I select child1-2 the parnet2 ? can i do this?¿
> > > >
> > > > thx :)
> > > >
> > >
> > > Rich Payne
> > > http://talisman.mv.com
> > > rdp at talisman dot mv dot com
> > >
> > >
> > > --
> > > PHP-GTK General Mailing List (http://gtk.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
> >
> > --
> > PHP-GTK General Mailing List (http://gtk.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>