Function
GtkStatusIconposition_menu
deprecated: 3.14 since: 2.10
Declaration [src]
void
gtk_status_icon_position_menu (
GtkMenu* menu,
gint* x,
gint* y,
gboolean* push_in,
GtkStatusIcon* user_data
)
Description [src]
Menu positioning function to use with gtk_menu_popup()
to position menu aligned to the status icon user_data.
Available since: 2.10
Deprecated since: 3.14
Use GNotification and GtkApplication to
provide status notifications; notifications do not have menus,
but can have buttons, and actions associated with each button.
Parameters
menu-
Type:
GtkMenuThe
GtkMenu.The data is owned by the caller of the function. x-
Type:
gint*Return location for the x position.
The argument will be modified by the function. y-
Type:
gint*Return location for the y position.
The argument will be modified by the function. push_in-
Type:
gboolean*Whether the first menu item should be offset (pushed in) to be aligned with the menu popup position (only useful for GtkOptionMenu).
The argument will be set by the function. user_data-
Type:
GtkStatusIconThe status icon to position the menu on.
The data is owned by the caller of the function.