Struct in ldk_ui.h

LDKUIPopupCache

typedef struct LDKUIPopupCache LDKUIPopupCache;
Struct in ldk_ui.h

LDKUIPopupFrameEntry

typedef struct LDKUIPopupFrameEntry LDKUIPopupFrameEntry;
Struct in ldk_ui.h

LDKUIPopupStackEntry

typedef struct LDKUIPopupStackEntry LDKUIPopupStackEntry;
Macro in ldk_ui.h

LDK_UI_POPUP_STACK_CAPACITY

#define LDK_UI_POPUP_STACK_CAPACITY 16
Function in ldk_ui.h

ldk_ui_begin_popup

Begin drawing the named popup when it is open.

LDK_API bool ldk_ui_begin_popup(
 LDKUIContext *ctx,
 LDKUIId id
);

Parameters

LDKUIContext *ctx
UI context used by this operation.
LDKUIId id
Identifier of the target object.

Returns

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

Function in ldk_ui.h

ldk_ui_close_current_popup

Close the active popup.

LDK_API void ldk_ui_close_current_popup(LDKUIContext *ctx);

Parameters

LDKUIContext *ctx
UI context used by this operation.
Function in ldk_ui.h

ldk_ui_popup_is_open

Check whether a popup is currently open.

LDK_API bool ldk_ui_popup_is_open(
 LDKUIContext *ctx,
 LDKUIId id
);

Parameters

LDKUIContext *ctx
UI context used by this operation.
LDKUIId id
Identifier of the target object.

Returns

True when the queried condition holds; false otherwise.