enum Gtk::PolicyType
Overview
Determines how the size should be computed to achieve the one of the visibility mode for the scrollbars.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/gtk.crEnum Members
-
Always =
0_u32
-
The scrollbar is always visible. The view size is independent of the content.
-
Automatic =
1_u32
-
The scrollbar will appear and disappear as necessary. For example, when all of a
Gtk::TreeView
can not be seen. -
Never =
2_u32
-
The scrollbar should never appear. In this mode the content determines the size.
-
External =
3_u32
-
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.
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.