[Gtk-sharp-list] Gnome.IconList + Gtk.Menu

Nigel Benns nigel_benns@rogers.com
Fri, 5 Nov 2004 08:31:09 -0500 (EST)

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?

I've captured IconList.ButtonPressEventHandler, and added a popup menu for
that, but if I right click on an icon, it doesn't popup the menu.

This leads me to believe that I should be able to capture an event on the
Icons themselve to get an menu for the icons, and then use IconList's
ButtonPressEvent for a popup menu for everywhere else on the window.

The only problem is I can't figure out how to access any of the icons
other then just by getting back what one is selected and the data I passed
to it on creation...

Am I just pulling at strings here? Should I be using the ButtonPressEvent
for the IconList all of the time, and just change the menu when an Icon is