RE: [gtkmm] Gtk::TreeView on gtkmm
- From: Murray Cumming Comneon com
- To: susumu yt com, gtkmm-list gnome org
- Subject: RE: [gtkmm] Gtk::TreeView on gtkmm
- Date: Tue, 20 Jan 2004 12:57:00 +0100
> 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).
So "high-lit" and "selected" would look exactly the same to the user. I
think that's a bad, confused, idea.
> When you double-click "entry11", the first row
> should be selected and some operation should be done.
That should be easy. You need to handle signal_button_press_event. If you
have problems, then this bug should help you:
http://bugzilla.gnome.org/show_bug.cgi?id=89780
Murray Cumming
www.murrayc.com
murrayc usa net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]