StatusIcon.positionMenu

void positionMenu(gtk.menu.Menu menu, ref int x, ref int y, out bool pushIn, gtk.status_icon.StatusIcon userData)

Menu positioning function to use with [gtk.menu.Menu.popup] to position menu aligned to the status icon user_data.

Parameters

menuthe #GtkMenu
xreturn location for the x position
yreturn location for the y position
pushInwhether the first menu item should be offset (pushed in) to be aligned with the menu popup position (only useful for GtkOptionMenu).
userDatathe status icon to position the menu on

Deprecated

Use #GNotification and #GtkApplication to

provide status notifications; notifications do not have menus, but can have buttons, and actions associated with each button