TextView.rightMargin

int rightMargin() @property nothrow

Get rightMargin property.

Returns

The default right margin for text in the text view.

Tags in the buffer may override the default.

Note that this property is confusingly named. In CSS terms, the value set here is padding, and it is applied in addition to the padding from the theme.

Don't confuse this property with #GtkWidget:margin-right.

void rightMargin(int propval) @property nothrow

Set rightMargin property.

Parameters

propvalThe default right margin for text in the text view. Tags in the buffer may override the default. Note that this property is confusingly named. In CSS terms, the value set here is padding, and it is applied in addition to the padding from the theme. Don't confuse this property with #GtkWidget:margin-right.