Context Menu for GtkTreeView without losing the selection?

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

 



Hello Gtk-list,

I want to add a context menu on a tree in multiple selection mode.
Using a signal handler like this:

g_signal_connect(G_OBJECT(widget), "button_release_event", G_CALLBACK(context_menu_handler), view);

and then showing the menu via gtk_menu_popup does unfortunately
unselect all rows except the one under the mouse (on right mouse
button press).

How can i change this and offer a context menu for
multiple items?

Also how can i add a context menu on the column view header?

-- 
Best regards,
 Lothar                          mailto:llothar@xxxxxx

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux