Constructor

HeMenuItemSpecnew

Declaration

HeMenuItemSpec*
he_menu_item_spec_new (
  const gchar* label,
  const gchar* icon_name,
  const gchar* action_name,
  GVariant* action_target
)

Description

No description available.

Parameters

label

Type: const gchar*

No description available.

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

Type: const gchar*

No description available.

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

Type: const gchar*

No description available.

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

Type: GVariant

No description available.

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

Return value

Type: HeMenuItemSpec

No description available.

The caller of the function takes ownership of the data, and is responsible for freeing it.