Function in ldk_ui.h

ldk_ui_widget_tab

Draw a tab UI item at an explicit rectangle.

LDK_API bool ldk_ui_widget_tab(
 LDKUIContext *ctx,
 LDKUIId id,
 LDKUIIcon icon,
 char const *text,
 LDKUIRect rect,
 bool active
);

Parameters

LDKUIContext *ctx
UI context used by this operation.
LDKUIId id
Identifier of the target object.
LDKUIIcon icon
Icon shown by the widget.
char const *text
Text used by this operation.
LDKUIRect rect
UI or geometry rectangle.
bool active
Active used by this operation.

Returns

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