[Glade-users] click event on GtkTreeView

Tristan Van Berkom tristan.van.berkom at gmail.com
Sat Apr 26 08:54:51 EDT 2008


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


More information about the Glade-users mailing list