Gtk.StatusIcon.PresentMenu Method
Positions and displays a menu.

Syntax

public void PresentMenu (Menu menu, uint button, uint activate_time)

Parameters

menu
The menu to present.
button
The button provided by StatusIcon.PopupMenu.
activate_time
The time provided by StatusIcon.PopupMenu.

Remarks

This method provides an optimized alternative to calling Menu.Popup directly, saving a some native/managed marshaling roundtrips.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Since: Gtk# 2.10