Package: gtk

Function gtk:entry-buffer-new

Lambda List

gtk:entry-buffer-new (&optional text)

Arguments

text -- a string for the initial entry buffer text, or nil

Return Value

The new gtk:entry-buffer object.

Details

Create a new entry buffer. Optionally, specify initial text to set in the entry buffer. If no text or the nil value is given, the entry buffer will contain the empty string, not nil.

Examples

(gtk:entry-buffer-new) => #<GTK:ENTRY-BUFFER {10031EFCF3}>
(gtk:entry-buffer-text *) => ""
(gtk:entry-buffer-new "Some text.") => #<GTK:ENTRY-BUFFER {1003377483}>
(gtk:entry-buffer-text *) => "Some text."    
 

See also

2025-07-08