Constructor

GntCheckBoxnew

Declaration [src]

GntWidget*
gnt_check_box_new (
  const char* text
)

Description [src]

Create a new checkbox.

Parameters

text

Type: const char*

The text for the checkbox.

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

Return value

Type: GntWidget

The newly created checkbox.

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