[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk
Subject: [gtk-list] Re: Creating the root tree node in a Gtk-- Gtk_CTree
From: Todd Dukes <tdukes () ibmoto ! com>
Date: 1999-07-14 18:14:42
[Download RAW message or body]
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!
>
> thanks,
> --
> 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 gtk-list-request@redhat.com < /dev/null
Create a null Gtk_CTreeNode by using the default c'tor.
Gtk_CTreeNode nullNode;
Thenu use this where in gtk+ you would use the null pointer.
Todd.
--
| Todd Dukes E-MAIL: tdukes@ibmoto.com |
| Motorola Somerset Phone: (512) 424-8008 |
| 6200 Bridgepoint Parkway Building #4 MS OE70 |
| Austin, Texas 78730 |
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic