[Glade-users] click event on GtkTreeView



On Fri, Apr 25, 2008 at 8:32 PM, Antonio Ragagnin <spocchio at gmail.com> wrote:
I have a GtkTreeView, my idea was that you select one or more item, so
 click the tree and a menu will appear whit some options to do on them
 (the best will be the right click)
 on glade in the signal section of the GtkTreeView there isn't the
 "clicked" signal ( like for the button ), so i can attach me to the
 (right) click event of a widget?

You can use "button-press-event" on GtkWidgetClass of the treeview.

remember to return the right thing in your callback (i.e. FALSE if event
was not handled).

Cheers,
                       -Tristan



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