Package: gtk

Accessor gtk-text-view-top-margin

Lambda List

gtk-text-view-top-margin (object)

Syntax

(gtk-text-view-top-margin object) => margin
(setf (gtk-text-view-top-margin object) margin)

Arguments

object -- a gtk-text-view widget
margin -- an integer with the top margin in pixels

Details

Accessor of the top-margin slot of the gtk-text-view class.

The gtk-text-view-top-margin slot access function gets the top margin for text in the text view. The (setf gtk-text-view-top-margin) slot access function sets the top margin.

Note that this function is confusingly named. In CSS terms, the value set here is padding.

Since 3.18
 

See also

2021-10-16