Re: TreeView and selecting rows
- From: Daniel Kasak <dkasak nusconsulting com au>
- To: gtk-perl-list gnome org
- Subject: Re: TreeView and selecting rows
- Date: Wed, 18 Aug 2004 08:17:26 +1000
Carl Nygard wrote:
On Tue, 2004-08-17 at 01:06, Daniel Kasak wrote:
Hi all.
I have a treeview that I made quite some time ago.
Now I want to have rows selectable, and some code running on when
something is double-clicked.
The double-click part is fine.
However for some reason I can't select any rows in the treeview.
I've only ever really used SimpleLists before, and those seem to have
rows which are selectable by default.
What do I have to do to a treeview to make the rows selectable?
Possibly returning the wrong value from your button-click handler?
which tells Gtk+ that you've handled the click, which would
short-circuit the normal selection mechanism. Just a guess, w/o looking
at code...
Ah yes.
If I return 0, the rows are selectable again.
Thankyou ( and thanks to others who also responded ).
--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak nusconsulting com au
website: http://www.nusconsulting.com.au
Title: CanIt Vote for ID 85097
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]