ladybird/Base/usr/share/man/man5/GML/Widget/ScrollableContainerWidget.md
kleines Filmröllchen 3df2eb66be Base: Move GML Widget documentation to subsubsection
This is not only convenient, but also a subsection testcase :^)
2023-01-02 06:15:13 -07:00

1.2 KiB

Name

GML Scrollable Container Widget

Description

Defines a GUI scrollable container widget.

Unlike other container widgets, this one does not allow multiple child widgets to be added, and thus also does not support setting a layout.

Synopsis

@GUI::ScrollableContainerWidget

Content declared as content_widget property.

Examples

@GUI::ScrollableContainerWidget {
	content_widget: @GUI::Widget {
		[...]
	}
}

Registered Properties

Property Type Possible values Description
layout none Does not take layout
scrollbars_enabled bool true or false Status of scrollbar
should_hide_unnecessary_scrollbars bool true or false Whether to hide scrollbars when unnecessary
content_widget widget object Any Subclass of Widget The Widget to be displayed in the Container