Re: how do we double click the node of treeview programmatically?
- From: Murray Cumming <murrayc murrayc com>
- To: Akbar <tuxer myrealbox com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: how do we double click the node of treeview programmatically?
- Date: Wed, 06 Jul 2005 11:41:22 +0200
On Tue, 2005-07-05 at 23:46 +0700, Akbar wrote:
> I made the editable column of the treeview. So when we double click it,
> it will select all the text of the node, then we can edit the node. How
> do I achieve that but not using double click, but function. So for the
> example, when I click the certain button, it will get same effect when
> we just double click of the node.
TreeView::set_cursor() should programmatically start editing if you use
true for the start_editing parameter:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1TreeView.html#a102
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]