Re: GtkTreeView popup-menu
- From: Andreas Volz <lists brachttal net>
- To: gtk-app-devel-list gnome org
- Subject: Re: GtkTreeView popup-menu
- Date: Sun, 1 Aug 2004 14:42:34 +0200
Am Sun, 1 Aug 2004 14:04:22 +0200 schrieb Andreas Volz:
Why does it not reenable drag&drop? Perhaps there's an better way to
handle drag&drop and popup menus?
Ok, was a mistake. Now reenabling drag&drop works. But drag action is
still activated after popup menu closes. Hm, i think I found the
problem. The drag should only start with left mouse button. But it
starts also with all other mouse buttons.
gtk_tree_view_enable_model_drag_source (GTK_TREE_VIEW (treeview_menu),
GDK_BUTTON1_MASK,
row_targets,
G_N_ELEMENTS (row_targets),
GDK_ACTION_MOVE |
GDK_ACTION_COPY);
GDK_BUTTON1_MASK should only allow button 1 for drag, not? Why doesn't
this work?
regards
Andreas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]