StatusIcon.positionMenu

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

More...
class StatusIcon
static
void
positionMenu
(,
ref int x
,
ref int y
,
out bool pushIn
,)

Parameters

menu Menu
x int

return location for the x position

y int

return location for the y position

pushIn bool

whether the first menu item should be offset (pushed in) to be aligned with the menu popup position (only useful for GtkOptionMenu).

userData StatusIcon

the status icon to position the menu on

Detailed Description

Deprecated: Use gio.Notification and gtk.Application to provide status notifications; notifications do not have menus, but can have buttons, and actions associated with each button

Meta

Since

2.10