15#pragma push_macro("None")
376#pragma pop_macro("None")
Placement of a floating panel in a window.
Definition Anchor.h:107
Base class for Panels and Containers in a window layout tree.
Definition LayoutNode.h:108
A distance or size constraint in an AppCore layout.
Definition Length.h:60
A nullable smart pointer.
Definition RefPtr.h:126
Fixed, percentage, and flexible sizes for panels and containers.
Definition Length.h:371
Unicode string container with conversions for UTF-8, UTF-16, and UTF-32.
Definition String.h:31
Root namespace for every public Ultralight type, function, and enumeration.
InsertPosition Before(RefPtr< LayoutNode > anchor)
Create an insertion position immediately before a sibling.
Definition Options.h:365
FocusPolicy
Keyboard focus policy for a floating panel.
Definition Options.h:38
@ Auto
Takes focus when clicked, like any panel. Showing the panel never takes focus.
Definition Options.h:39
@ Grab
Takes keyboard focus when created (unless hidden) and each time it is shown, even from inside a click...
Definition Options.h:40
InsertPosition After(RefPtr< LayoutNode > anchor)
Create an insertion position immediately after a sibling.
Definition Options.h:372
@ None
Definition Anchor.h:36
Dismiss
Auto-dismiss policy for floating panels and popup windows.
Definition Options.h:27
@ Auto
The library also hides it the way the OS closes a native menu.
Definition Options.h:29
@ Manual
Hides only when you hide it (a popup window also hides when its owner hides).
Definition Options.h:28
Configuration options for a row or column container.
Definition Options.h:265
Length min_size
Minimum size constraint.
Definition Options.h:280
bool hidden
Whether or not the container is created hidden (its whole subtree is hidden with it).
Definition Options.h:314
Size size
The container's size along its parent's axis.
Definition Options.h:274
Length gap
The gap between adjacent children (logical px only; other units are ignored with a warning).
Definition Options.h:303
Length padding
Padding between the container's edges and its children, applied on all four sides (logical px only).
Definition Options.h:309
String key
Optional identity for lookup (Find()) and diagnostics.
Definition Options.h:269
Length max_size
Maximum size constraint.
Definition Options.h:286
bool fixed
Whether or not the container is fixed (the user cannot resize it by dragging a divider).
Definition Options.h:291
bool resizable
Whether or not the user can resize this container's children by dragging the dividers between them.
Definition Options.h:297
Configuration options for a floating panel.
Definition Options.h:95
FocusPolicy focus
The keyboard-focus policy (see FocusPolicy).
Definition Options.h:143
Anchor placement
Where the panel sits in the window (see Anchor).
Definition Options.h:120
Size height
The panel's height, in logical px or as a percent of the window's height.
Definition Options.h:114
bool hidden
Whether or not the panel starts hidden (create hidden, then Show() once its content has loaded).
Definition Options.h:149
Size width
The panel's width, in logical px or as a percent of the window's width.
Definition Options.h:106
String key
Optional identity for lookup and diagnostics.
Definition Options.h:99
Dismiss dismiss
The auto-dismiss policy.
Definition Options.h:138
Position relative to an existing sibling in a container.
Definition Options.h:348
bool after
Whether or not the position is after the anchor (Before() when false).
Definition Options.h:357
RefPtr< LayoutNode > anchor
The sibling the position is relative to.
Definition Options.h:352
Configuration options for a panel in a row or column.
Definition Options.h:182
Length min_size
Minimum size constraint.
Definition Options.h:201
bool hidden
Whether or not the panel is created hidden.
Definition Options.h:218
Size size
The panel's size along its container's axis.
Definition Options.h:195
String key
Optional identity for lookup (Find()) and diagnostics.
Definition Options.h:189
Length max_size
Maximum size constraint.
Definition Options.h:207
bool fixed
Whether or not the panel is fixed (the user cannot resize it by dragging a divider).
Definition Options.h:212