Gkt::TreeView on gtkmm



Hi all,

I am coding a software on glademm and gtkmm.
If there is someone with knowledge, I would like you to help me.
I got a problem when I tried to use a Gtk::TreeView.
I would like to code as below.
Suppose there is a TreeView like ...

item1   |  item2  |  item3 
---------------------------
entry11 | entry12 | entry13
entry21 | entry22 | entry23
entry31 | entry32 | entry33

I would like to distinguish between single-click and double-click.
When you single-click "entry11", for example , the first row should be 
just high-lit (not selected, nothing happens but being high-lit).
When you double-click "entry11", the first row should be selected
and some operation should be done.

What signal should I connect?
And what code should I add?




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