Constructor

GntMenuItemnew

Declaration [src]

GntMenuItem*
gnt_menuitem_new (
  const gchar* text
)

Description [src]

Create a new menuitem.

Parameters

text

Type: const gchar*

Label for the menuitem.

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

Return value

Type: GntMenuItem

The newly created menuitem.

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