Package: gtk

Accessor gtk-entry-inner-border

Lambda List

gtk-entry-inner-border (object)

Syntax

(gtk-entry-inner-border object) => border
(setf (gtk-entry-inner-border object) border)

Arguments

object -- a gtk-entry widget
border -- a gtk-border instance, or nil

Details

Accessor of the inner-border slot of the gtk-entry class.

The gtk-entry-inner-border slot access function returns the inner-border property. The (setf gtk-entry-inner-border) slot access function sets the inner-border property to border, or clears it if nil is passed. The inner border is the area around the text of the entry, but inside its frame.

If set, this property overrides the inner-border style property. Overriding the style-provided border is useful when you want to do in-place editing of some text in a canvas or list widget, where pixel-exact positioning of the entry is important.

Warning

The function gtk-entry-inner-border has been deprecated since version 3.4 and should not be used in newly written code. Use the standard border and padding CSS properties through objects like gtk-style-context and gtk-css-provider. The value returned by this function is ignored by the entry.
 

See also

2021-11-2