menu item as destination for drag data (gtk)

menu item as destination for drag data (gtk)

Post by jos » Fri, 26 Oct 2001 23:16:12


I'm trying to make a gtk menu into which the user
can drop a gnome .desktop file, upon which the
corresponding application is appended to the menu as
a launcher. To do this, I inserted a gtk_menu_item
and set this as a drag/drop widget. I didn't get this
to work yet however. The same s*t of code does
work, when I apply it to another widget (not a menu
item). So I was wondering if it is at all possible
to use a menu item as a drag destination, or maybe
I should set some kind of flag of the menu to indicate
that it is to be used as a drag destination?

best regards