Gnome::Gtk4::T-scrolledwindow
Enumerations§
GtkCornerType§
Specifies which corner a child widget should be placed in when packed into a Gnome::Gtk4::ScrolledWindow.`
This is effectively the opposite of where the scroll bars are placed.
- GTK_CORNER_TOP_LEFT; Place the scrollbars on the right and bottom of the widget (default behaviour).
- GTK_CORNER_BOTTOM_LEFT; Place the scrollbars on the top and right of the widget.
- GTK_CORNER_TOP_RIGHT; Place the scrollbars on the left and bottom of the widget.
- GTK_CORNER_BOTTOM_RIGHT; Place the scrollbars on the top and left of the widget.
GtkPolicyType§
Determines how the size should be computed to achieve the one of the visibility mode for the scrollbars.
- GTK_POLICY_ALWAYS; The scrollbar is always visible. The view size is independent of the content.
- GTK_POLICY_AUTOMATIC; The scrollbar will appear and disappear as necessary. For example, when all of a Gnome::Gtk4::TreeView can not be seen.
- GTK_POLICY_NEVER; The scrollbar should never appear. In this mode the content determines the size.
- GTK_POLICY_EXTERNAL; 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.
About my projects, examples and tutorials