Package: gtk

Accessor gtk:editable-width-chars

Lambda List

gtk:editable-width-chars (object)

Syntax

(gtk:editable-width-chars object) => width
(setf (gtk:editable-width-chars object) width)

Arguments

object -- a gtk:editable widget
width -- an integer for the width in chars

Details

The accessor for the width-chars slot of the gtk:editable class gets or sets the value of the width in chars.

Note that it changes the size request, the size can still be affected by how you pack the widget into containers. If the width argument is -1, the size reverts to the default size.
 

See also

2025-08-06