Method

GntComboBoxadd_data

Declaration [src]

void
gnt_combo_box_add_data (
  GntComboBox* box,
  gpointer key,
  const char* text
)

Description [src]

Add an entry.

Parameters

key

Type: gpointer

The data.

The argument can be NULL.
The data is owned by the caller of the function.
text

Type: const char*

The text to display.

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