Constructor

GntLabelnew_with_format

Declaration [src]

GntWidget*
gnt_label_new_with_format (
  const char* text,
  GntTextFormatFlags flags
)

Description [src]

Create a new label with specified text attributes.

Parameters

text

Type: const char*

The text.

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

Type: GntTextFormatFlags

Text attributes for the text.

Return value

Type: GntWidget

The newly created label.

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