Re: signal on selecting a row in TreeView
- From: Mohith Manoj <mohith manoj skanray com>
- To: Praveen Tiwari <praveen hipro co in>
- Cc: gtkmm-list gnome org
- Subject: Re: signal on selecting a row in TreeView
- Date: Thu, 16 Aug 2012 11:22:12 +0530
Praveen,
Connect a function with following prototype to signal_changed of
Gtk::TreeView
void YourClass::YourFunction(void)
This function is going to be called each time there is a change in
selection (for multiple selections as well)
You might want to consider using Gtk::Selection (RefPtr returned from a
called to YourTreeView.get_selection()) if you have multiple selection
enabled for the tree view.
You'll find the above story in better detail in the link below.
http://developer.gnome.org/gtkmm-tutorial/3.0/sec-treeview-selection.html.en
(Its the same for Gtkmm 2.x as well)
regards
Mohith Manoj,
Asst. Manager (R&D),
Skanray Technologies PVT.LTD
Web: www.skanray.com
Mob: +919886742571
Ph : +918212415559
Fax: +918212403344
On 16 August 2012 11:09 AM, Praveen Tiwari wrote:
Can any body help me to figure out the name of the signal raised on
selecting a row (single click on row) in a TreeView, i am using
Liststrore as a model .
Thanks in advance
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]