[Gtk-sharp-list] Gnome.IconList + Gtk.Menu
Federico Mena Quintero
Fri, 05 Nov 2004 09:15:42 -0600
On Fri, 2004-11-05 at 08:31 -0500, Nigel Benns wrote:
> Does anyone know what the event would be to get a popup menu to come up
> when right-clicking on an Icon in an IconList?
Check out the IconList.IconSelected event. The event handler's args
have an Event field which is the mouse button event that triggered the
selection. You can use that event to see if the button == 3, and pop up
the menu in that case.