Re: an easy one...ctree question
| From: | Rich Payne | Date: | Mon, 14 May 2001 18:21:54 +0000 |
| Subject: | Re: an easy one...ctree question | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1839@lists.php.net to get a copy of this message | ||
Works great. Thanks Andrei.
--rdp
On Mon, 14 May 2001, Andrei Zmievski wrote:
> On Mon, 14 May 2001, Rich Payne wrote:
> > On Mon, 14 May 2001, Steph wrote:
> >
> > > Rich, hi -
> > >
> > > You've defined $sibling using $sibling, won't that hurt it?
> >
> > Honestly....I don't know. I stole that bit of code from the gtk.php
> > example included in php.gtk. I originally had it as NULL, but it seems to
> > make little difference (at least in my case).
> >
> > > (Is this a brand new form of sibling rivalry?)
>
> Ok, I implemented node_get_pixtext(). You should use something like
> this:
>
> if ($col == 0)
> list($text, $spacing, $pixmap, $mask) = $tree->node_get_pixtext($node, $col);
> else
> $text=$tree->node_get_text($node,$col);
>
>
> -Andrei
>
> Give a man a fish; you have fed him for today. Teach a man to use
> the Net and he won't bother you for weeks.
> -Author unknown
>
>
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org