Struct in ldk_ui.h

LDKUIAreaStackEntry

typedef struct LDKUIAreaStackEntry LDKUIAreaStackEntry;
Macro in ldk_ui.h

LDK_UI_AREA_STACK_CAPACITY

#define LDK_UI_AREA_STACK_CAPACITY 64
Function in ldk_ui.h

ldk_ui_begin_area

Begin a collapsible UI area.

LDK_API bool ldk_ui_begin_area(
 LDKUIContext *ctx,
 char const *title,
 bool expanded
);

Parameters

LDKUIContext *ctx
UI context used by this operation.
char const *title
Title shown by the window or dialog.
bool expanded
Whether the collapsible item starts expanded.

Returns

True when the UI condition or interaction is active; false otherwise.

Function in ldk_ui.h

ldk_ui_begin_area_ex

Begin a collapsible UI area with an optional icon.

LDK_API bool ldk_ui_begin_area_ex(
 LDKUIContext *ctx,
 char const *title,
 LDKUIIcon icon,
 bool expanded
);

Parameters

LDKUIContext *ctx
UI context used by this operation.
char const *title
Title shown by the window or dialog.
LDKUIIcon icon
Icon shown by the widget.
bool expanded
Whether the collapsible item starts expanded.

Returns

True when the UI condition or interaction is active; false otherwise.