Module rstk::pack

source ·
Expand description

Pack layout - a geometry manager for arranging widgets.

The pack-layout is used in a “builder” style to layout a single widget:

widget.pack()
  .OPTION(VALUE) // 0 or more
  .layout();
  1. pack is called first, to get the PackLayout instance.
  2. layout must be called last, to perform the layout.
  3. zero or more options are added to the PackLayout, to control the position and layout of the widget.

Structs

  • Refers to the settings for a PackLayout.

Traits

  • Common functions for widgets that can be arranged using GridLayouts