Constructor
GntButtonnew
Declaration [src]
GntWidget*
gnt_button_new (
const gchar* text
)
Parameters
text
-
Type:
const gchar*
The text for the button.
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 button.
The caller of the function takes ownership of the data, and is responsible for freeing it. |