Single and double clicks on a row in treeview (gtkmm 2)



Hi

I am working on a software that has been developed using gtkmm 2. I
have been working on a treeview. I wish to implement two different
actions on single and double click on rows of this treeview.

The property "activate-on-single-click" is available in gtkmm 3. Else
this property could have been used for both type of clicks.
signal_row_activated() is emitted when the user double clicks a
treeview row.

How can I achieve both type of clicks for the treeview?

-- 
Kamalpreet Kaur Grewal
Blog: http://kamalpreetgrewal.com/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]