Module: Gtk::PolicyType

Defined in:

Constant Summary collapse


The scrollbar is always visible. The view size is

independent of the content.
0 or :always

The scrollbar will appear and disappear as necessary.

For example, when all of a Gtk::TreeView can not be seen.
1 or :automatic

The scrollbar should never appear. In this mode the

content determines the size.
2 or :never

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. Since: 3.16
3 or :external