Re: [gtk-list] Creating the root tree node in a Gtk-- Gtk_CTree
- From: Todd Dukes <tdukes ibmoto com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Creating the root tree node in a Gtk-- Gtk_CTree
- Date: Wed, 14 Jul 1999 13:14:42 -0500
Joe Pfeiffer wrote:
> In gtk+, it's possible to specify that you want to add a node at the
> root of the tree by specifying a NULL parent node.
> When this is wrapped by Gtk--, the parent and sibling pointers are
> replaced by references.
> So -- how can I go about putting a node at the root, or as the last
> child of a node, in Gtk--? If you can point me to a good example of
> using Gtk_CTrees, I'd appreciate it!
> Joseph J. Pfeiffer, Jr., Ph.D. Phone -- (505) 646-1605
> Department of Computer Science FAX -- (505) 646-1002
> New Mexico State University http://www.cs.nmsu.edu/~pfeiffer
> To unsubscribe: mail -s unsubscribe email@example.com < /dev/null
Create a null Gtk_CTreeNode by using the default c'tor.
Thenu use this where in gtk+ you would use the null pointer.
| Todd Dukes E-MAIL: firstname.lastname@example.org |
| Motorola Somerset Phone: (512) 424-8008 |
| 6200 Bridgepoint Parkway Building #4 MS OE70 |
| Austin, Texas 78730 |
] [Thread Prev