Enumeration (GI Enum)

Gtk-4.0GtkPolicyType

Determines how the size should be computed to achieve the one of the visibility mode for the scrollbars.

Index

Enumeration Members

Enumeration Members

ALWAYS: number

The scrollbar is always visible. The view size is independent of the content.

AUTOMATIC: number

The scrollbar will appear and disappear as necessary. For example, when all of a Gtk.TreeView can not be seen.

EXTERNAL: number

Don't show a scrollbar, but don't force the size to follow the content. This can be used e.g. to make multiple scrolled windows share a scrollbar.

NEVER: number

The scrollbar should never appear. In this mode the content determines the size.