Constructor

GntMenuItemChecknew

Declaration [src]

GntMenuItem*
gnt_menuitem_check_new (
  const char* text
)

Description [src]

Create a new menuitem.

Parameters

text

Type: const char*

The text 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.