--- Cannot embed stylesheet: [Errno 2] No such file or directory: '../../../aros.css' --->
| ActivateLayoutGadget() | FlushLayoutDomainCache() | LAYOUT_GetClass() | LayoutLimits() |
| RethinkLayout() |
BOOL ActivateLayoutGadget(
struct Gadget * gadget,
struct Window * window,
struct Requester * requester,
ULONG object );
Activates a gadget within the layout group.
gadget - The layout gadget. window - The window containing the layout. requester - The requester (may be NULL). object - ID of the gadget to activate.
TRUE if the gadget was activated, FALSE otherwise.
void FlushLayoutDomainCache(
struct Gadget * gadget );
Flushes the cached domain information for the layout gadget, forcing a recomputation on the next layout pass.
gadget - The layout gadget.
Class * LAYOUT_GetClass();
Returns a pointer to the layout BOOPSI class.
Pointer to the class, or NULL on failure.
void LayoutLimits(
struct Gadget * gadget,
struct LayoutLimits * limits,
struct TextFont * font,
struct Screen * screen );
Queries the minimum and maximum size of a layout group.
gadget - The layout gadget. limits - Pointer to LayoutLimits structure to receive the values. font - Font to use for calculations (may be NULL). screen - Screen for rendering context.
BOOL RethinkLayout(
struct Gadget * gadget,
struct Window * window,
struct Requester * requester,
BOOL refresh );
Recalculates the layout of all children within the layout gadget.
gadget - The layout gadget. window - The window containing the layout. requester - The requester (may be NULL). refresh - If TRUE, refresh the gadgets after relayout.
TRUE on success.