Re: gtkTree
| From: | Steph | Date: | Fri, 15 Mar 2002 15:32:59 +0000 |
| Subject: | Re: gtkTree | ||
| References: | 1 2 3 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1571@lists.php.net to get a copy of this message | ||
GtkCList was meant to replace GtkList initially. But if you look at GTK 2.0 (released earlier this
week) GtkCList has also been superceded now. GtkList itself isn't actually broken, it just
keeps getting improved. The source for both is in GTK 2.0 marked 'deprecated'. Do what
you feel :)
----- Original Message -----
From: "Michael Dransfield" <mike@blueroot.net>
To: "Steph" <steph.fox@btinternet.com>
Cc: "PHP-GTK gen" <php-gtk-general@lists.php.net>
Sent: Friday, March 15, 2002 3:19 PM
Subject: Re: [PHP-GTK] gtkTree
> Thanks - i found gtkCTree worked... and was easier to accomplish.
>
> Do you know if it is the same for GtkList and GtkCList?
>
> On Fri, 2002-03-15 at 14:51, Steph wrote:
> > You're probably finding that (as with listitem) you don't get treeitems
> > displayed in the Glade version because it's never heard of them. Run the gui from PHP, if
> > it's still not showing add $treeitem->show() after the append.
> >
> > Antique and scribbly test code attached.
> >
> > NB GtkCTree is less buggy/broken...
> >
> > ----- Original Message -----
> > From: "Michael Dransfield" <mike@blueroot.net>
> > To: "PHP-GTK gen" <php-gtk-general@lists.php.net>
> > Sent: Friday, March 15, 2002 1:48 PM
> > Subject: [PHP-GTK] gtkTree
> >
> >
> > > I am trying to populate the contents of a Tree with the contents of a
> > > database. I am using glade to design the GUI.
> > >
> > > i am trying this code;
> > >
> > > $sktree = $gx->get_widget("my_tree");
> > >
> > > $treeitem =& new GtkTreeItem("hello");
> > > $sktree->append($treeitem);
> > >
> > > This produces no errors or warnings, but doesnt add anything to the
> > > tree.
> > >
> > > Am i missing something?
> > >
> > >
> > > --
> > > 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
>