Constructor

GtkEntryBuffernew

Declaration [src]

GtkEntryBuffer*
gtk_entry_buffer_new (
  const char* initial_chars,
  int n_initial_chars
)

Description [src]

Create a new GtkEntryBuffer object.

Optionally, specify initial text to set in the buffer.

Parameters

initial_chars

Type: const char*

Initial buffer text.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
n_initial_chars

Type: int

Number of characters in initial_chars, or -1.

Return value

Type: GtkEntryBuffer

A new GtkEntryBuffer object.

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