Gtk.StatusIcon.PositionMenu Method
Menu Positioning Callback function.

Syntax

public static void PositionMenu (Menu menu, out int x, out int y, out bool push_in, IntPtr user_data)

Parameters

menu
A menu to position.
x
Returns the x coordinate.
y
Returns the y coordinate.
push_in
Returns true if the menu must be pushed in to be completely visible.
user_data
Native handle of the StatusIcon for which the menu is being placed.

Remarks

Used with Menu.Popup to position context menus.

Requirements

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