API — ICoreEssentials/UI/Backends/Web/Layouts
The public contract of 2 header(s) under ICoreEssentials/UI/Backends/Web/Layouts — 1 class/struct definition(s), 0 declaration(s). Each section shows the header's banner and its public (and protected-virtual) surface exactly as the file writes it.
| Header | Defines | Declarations | Bases |
|---|---|---|---|
ICoreWebLayoutAccess.h | — | 0 | — |
ICoreWebLayoutFields.h | ICoreWebWidgetNumbers | 0 | — |
ICoreWebLayoutAccess.h#
ICoreEssentials/UI/Backends/Web/Layouts/ICoreWebLayoutAccess.h
The web backend's copy of UI/Backends/Gtk4/Layouts/ICoreGtk4LayoutAccess.h.
⚠ THIS FILE NAMES NO TOOLKIT, AND IT IS THE GTK4 SEAT'S CODE WITH THE BACKEND NAME CHANGED. The reasoning behind every line -- the measurements, the traps, the value semantics -- is in the comments of that file, and is not repeated here (one fact, one place). A change to the shared behaviour belongs in BOTH copies; the web and GTK4 value tiers are expected to agree to the bit.
Where the GTK4 file calls GTK, this one calls ICoreWebNode (Widgets/ICoreWebNode.h): gtk_widget_queue_resize becomes requestRelayout() -- deferred to the frame end, as GTK defers it -- and the destroy-notify that makes a widget own its layout becomes ownUntilDestroyed().
Declares no class of its own — see the file.
ICoreWebLayoutFields.h#
ICoreEssentials/UI/Backends/Web/Layouts/ICoreWebLayoutFields.h
The web backend's copy of UI/Backends/Gtk4/Layouts/ICoreGtk4LayoutFields.h.
⚠ THIS FILE NAMES NO TOOLKIT, AND IT IS THE GTK4 SEAT'S CODE WITH THE BACKEND NAME CHANGED. The reasoning behind every line -- the measurements, the traps, the value semantics -- is in the comments of that file, and is not repeated here (one fact, one place). A change to the shared behaviour belongs in BOTH copies; the web and GTK4 value tiers are expected to agree to the bit.
Where the GTK4 file calls GTK, this one calls ICoreWebNode (Widgets/ICoreWebNode.h): gtk_widget_queue_resize becomes requestRelayout() -- deferred to the frame end, as GTK defers it -- and the destroy-notify that makes a widget own its layout becomes ownUntilDestroyed().
ICoreWebWidgetNumbers#
ICoreWebLayoutFields.h:20 · struct · 0 declaration(s)
struct ICoreWebWidgetNumbers {
public:
bool hasWrapper = true;
double hintWidth = 0.0;
double hintHeight = 0.0;
double nativeWidth = 0.0;
double nativeHeight = 0.0;
double minimumHintWidth = 0.0;
double minimumHintHeight = 0.0;
int limitMinimumWidth = 0;
int limitMinimumHeight = 0;
int limitMaximumWidth = 0;
int limitMaximumHeight = 0;
int limitHorizontalStretch = 0;
int limitVerticalStretch = 0;
int measuredMinimumWidth = 0;
int measuredMinimumHeight = 0;
int measuredNaturalWidth = 0;
int measuredNaturalHeight = 0;
};
};