Context Menu for GtkTreeView without losing the selection?
- From: Lothar Scholz <llothar web de>
- To: gtk-list gnome org
- Subject: Context Menu for GtkTreeView without losing the selection?
- Date: Mon, 25 Apr 2011 15:03:00 +0700
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 web de
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]