Method

HeSplitButtonadd_menu_item

Declaration

void
he_split_button_add_menu_item (
  HeSplitButton* self,
  const gchar* label,
  HeSimpleCallback callback,
  void* callback_target,
  GDestroyNotify callback_target_destroy_notify,
  const gchar* icon_name
)

Description [src]

Add a simple menu item with a callback function.

Parameters

label

Type: const gchar*

No description available.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
callback

Type: HeSimpleCallback

No description available.

callback_target

Type: void*

No description available.

The argument can be NULL.
The data is owned by the caller of the method.
callback_target_destroy_notify

Type: GDestroyNotify

No description available.

icon_name

Type: const gchar*

No description available.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.