Re: GtkCTree
| From: | Joseph Crawford | Date: | Wed, 27 Oct 2004 19:55:58 +0000 |
| Subject: | Re: GtkCTree | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5170@lists.php.net to get a copy of this message | ||
thanks for the information i will attempt to get this to work ;)
On Wed, 27 Oct 2004 18:10:41 +0200, Christian Weiske <cweiske@cweiske.de> wrote:
> Hello
>
>
> > what exactly is a column in a CTree? i keep getting errors like this
> A GtkCTree is like a GtkCList (that means it can have multiple columns),
> just with indents and parent-child relations.
>
> > Warning: insert_node(): the text array size (2) does not match the
> > number of columns in the ctree (1) in
> > /home/idle/PhpIRC/system/class/GUI.class.php on line 89
> When you instantiate the tree, you have to pass an array of column titles:
> >$tree = &new GtkCTree(1, 0, array( 'Server', 'IP');
>
> When inserting a node, you have to pass exactly the same number of text
> fields to the insert_node function (2 in our case)
>
> Regards/MfG,
> Christian Weiske
> --
> XMMS is playing now:
>
>
>
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl@gmail.com
For a GMail account
contact me OFF-LIST