gtk_image_menu_item_new


Description:


[ Version ( since = "4.16" ) ]
public unowned Widget gtk_image_menu_item_new (string label_text, string? tooltip_text, string? accel_path, Callback? callback, Object? callback_param, Widget? image, MenuShell? menu_to_append_item)

Convenience method to create a deprecated ImageMenuItem and preconfigure it with the passed parameters.

In order to prevent G_GNUC_BEGIN_IGNORE_DEPRECATIONS in all xfce projects, this method can be used

Parameters:

label_text

Label to use for the ImageMenuItem

tooltip_text

Tooltip to add on the passed item, or NULL

accel_path

Unique path, used to identify the accelerator, or NULL

callback

RadioActionCallback which will be triggered on activation, or NULL

callback_param

optional callback parameter, or NULL.

image

a widget to set as the image for the menu item, or NULL

menu_to_append_item

MenuShell on which the item should be appended, or NULL

Returns:

A new ImageMenuItem.


Namespace: Xfce
Package: libxfce4ui-2