Constructor
GtkEntryBuffernew
since: 2.18
Declaration [src]
GtkEntryBuffer*
gtk_entry_buffer_new (
const gchar* initial_chars,
gint n_initial_chars
)
Description [src]
Create a new GtkEntryBuffer object.
Optionally, specify initial text to set in the buffer.
Available since: 2.18
Parameters
initial_chars
-
Type:
const gchar*
Initial buffer text, or
NULL
.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:
gint
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. |