On Wed, 20 Mar 2002 10:15:37 +0800
James Henstridge [EMAIL PROTECTED] wrote:
..
I think you can set this up in a gtkrc file for your application. As
GtkCTree uses the GTK Bindings API, you should be able to load a file
holding something like:
binding my-ctree-bindings {
bind right
On Tue, 19 Mar 2002 09:40:54 +0800
James Henstridge [EMAIL PROTECTED] wrote:
You can use the plus and minus keys to expand and collapse the selected
node in the ctree.
Cool! In the meantime, I grabbed the key_press_event signal for the ctree,
and checked for GDK.{Left,Right}. If it was one
On Sun, 17 Mar 2002 11:26:29 +0800
James Henstridge [EMAIL PROTECTED] wrote:
..
Not really sure what you want to do that can't be done with ctree. For
instance, I might do:
node1 = ctree.insert_node(None, None, ['node1'], is_leaf=0) # insert
a node at toplevel
node2 =
On Sun, 17 Mar 2002 11:26:29 +0800
James Henstridge [EMAIL PROTECTED] wrote:
..
This would produce the following tree:
+-node1
| +-node4
| | +-node5
| +-node3
+-node2
..
Cool.
I have pretty much everything working with a GtkCTree, now.
Thanks!
I have a few more questions.
Jon Nelson wrote:
On Sun, 17 Mar 2002 11:26:29 +0800
James Henstridge [EMAIL PROTECTED] wrote:
..
This would produce the following tree:
+-node1
| +-node4
| | +-node5
| +-node3
+-node2
..
Cool.
I have pretty much everything working with a GtkCTree, now.
Thanks!
I have a few
Jon Nelson wrote:
On Fri, 15 Mar 2002 14:10:44 +0800
James Henstridge [EMAIL PROTECTED] wrote:
Jon Nelson wrote:
I have no choice. I can't use the GtkCTree in this instance at all,
and I have tied to Python 1.5.2, gtk 1.2.[6,8] and pygtk 0.6.8 (can't run anything
newer because they require
On Fri, 15 Mar 2002 14:10:44 +0800
James Henstridge [EMAIL PROTECTED] wrote:
Jon Nelson wrote:
I have no choice. I can't use the GtkCTree in this instance at all,
and I have tied to Python 1.5.2, gtk 1.2.[6,8] and pygtk 0.6.8 (can't run anything
newer because they require either newer
tor 2002-03-14 klockan 18.28 skrev Jon Nelson:
I have a GtkTree that I populate with different contents depending
on what is chosen in a GtkCList. Yay, that part works great.
The GtkTree is contained in a viewport, which itself is in a
scrolled window. I'm using Glade for most of the UI,
Jon Nelson wrote:
I have no choice. I can't use the GtkCTree in this instance at all,
and I have tied to Python 1.5.2, gtk 1.2.[6,8] and pygtk 0.6.8 (can't run anything
newer because they require either newer version of gtk or python
than I can provide). The GtkCTree doesn't support arbitrary