Bug in GtkCTree
| From: | (Aaron Bishell) | Date: | Wed, 25 Dec 2002 23:17:00 +0000 |
| Subject: | Bug in GtkCTree | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-2815@lists.php.net to get a copy of this message | ||
Ive built a little program for a file/folder selection dialog. It displays
all the info in a tree like form (screenshot:
http://binary.gamer.net.nz/file_dialog.gif).
When you double click an _expanded_ node it always returns NULL when
trying to retrieve the node selected. I use this piece of code to get the
node selected:
$node=$this->ctree->selection[0];
You can download the full program here:
http://binary.gamer.net.nz/file_dialog.zip
Im not sure whether this is a GTK+ bug itself of it only occurs in PHPGTK
but its very annoying.
Also is there a way, if I was to display the expand "crosses" that when a
user clicks an expand "cross" it selects that node? I could not find a way
so I had to remove them.