API reference

kui_c.h · C types

Browse entries grouped by interface file. Expand an entry for declarations, usage and version boundaries.

Read the related guide →

Entries retain declarations and sources. Runtime verification is recorded per entry; internal source candidates are not a promise of SDK delivery.

sdk/c/include/kui_c.h
KuiCCustomElementCallbacks
Declared3.61.7C / Go / Rust

Public C ABI struct KuiCCustomElementCallbacks. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef struct KuiCCustomElementCallbacks {
    KuiCustomElementLifecycleFn connected;
    KuiCustomElementLifecycleFn disconnected;
    KuiCustomElementAttributeFn attribute_changed;
    const char* const* observed_attributes;
    size_t observed_attribute_count;
    void* user_data;
} KuiCCustomElementCallbacks;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:911

Report an issue with this entry →
KuiCEventTypeTag
Declared3.61.7C / Go / Rust

Public C ABI enum KuiCEventTypeTag. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef enum KuiCEventTypeTag {
    KUI_C_EVENT_BASE = 0,
    KUI_C_EVENT_MOUSE = 1,
    KUI_C_EVENT_WHEEL = 2,
    KUI_C_EVENT_POINTER = 3,
    KUI_C_EVENT_KEYBOARD = 4,
    KUI_C_EVENT_FOCUS = 5,
    KUI_C_EVENT_INPUT = 6,
    KUI_C_EVENT_DRAG = 7
} KuiCEventTypeTag;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:749

Report an issue with this entry →
KuiCExtensionPerfStats
Declared3.61.7C / Go / Rust

Public C ABI struct KuiCExtensionPerfStats. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef struct KuiCExtensionPerfStats {
    double last_tick_ms, last_paint_ms, max_tick_ms, max_paint_ms;
    uint64_t tick_count, paint_count;
    double total_tick_ms, total_paint_ms;
} KuiCExtensionPerfStats;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:866

Report an issue with this entry →
KuiCExtensionValue
Declared3.61.7C / Go / Rust

Public C ABI struct KuiCExtensionValue. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef struct KuiCExtensionValue {
    KuiCExtensionValueType type;
    int64_t int_value;
    double float_value;
    const char* string_value;
    size_t string_len;
    int bool_value;
} KuiCExtensionValue;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:858

Report an issue with this entry →
KuiCExtensionValueType
Declared3.61.7C / Go / Rust

Public C ABI enum KuiCExtensionValueType. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef enum KuiCExtensionValueType {
    KUI_C_EXT_NIL = 0,
    KUI_C_EXT_INT = 1,
    KUI_C_EXT_FLOAT = 2,
    KUI_C_EXT_STRING = 3,
    KUI_C_EXT_BOOL = 4
} KuiCExtensionValueType;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:851

Report an issue with this entry →
KuiCFileDialogOptions
Declared3.61.7C / Go / Rust

Public C ABI struct KuiCFileDialogOptions. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef struct KuiCFileDialogOptions {
    const char* title;
    size_t title_len;
    const char* default_path;
    size_t default_path_len;
    const char* const* filters;
    size_t filter_count;
    int allow_multiple;
} KuiCFileDialogOptions;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:709

Report an issue with this entry →
KuiCKeyEventType
Declared3.61.7C / Go / Rust

Public C ABI enum KuiCKeyEventType. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef enum KuiCKeyEventType {
    KUI_C_KEY_DOWN = 0,
    KUI_C_KEY_UP   = 1,
    KUI_C_KEY_CHAR = 2,
} KuiCKeyEventType;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:579

Report an issue with this entry →
KuiCMonitorInfo
Declared3.61.7C / Go / Rust

Public C ABI struct KuiCMonitorInfo. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef struct KuiCMonitorInfo {
    float bounds_x, bounds_y, bounds_width, bounds_height;
    float work_x, work_y, work_width, work_height;
    float scale;
    int is_primary;
} KuiCMonitorInfo;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:184

Report an issue with this entry →
KuiCMouseButton
Declared3.61.7C / Go / Rust

Public C ABI enum KuiCMouseButton. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef enum KuiCMouseButton {
    KUI_C_MOUSE_BUTTON_NONE   = 0,
    KUI_C_MOUSE_BUTTON_LEFT   = 1,
    KUI_C_MOUSE_BUTTON_MIDDLE = 2,
    KUI_C_MOUSE_BUTTON_RIGHT  = 3,
} KuiCMouseButton;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:572

Report an issue with this entry →
KuiCMouseEventType
Declared3.61.7C / Go / Rust

Public C ABI enum KuiCMouseEventType. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef enum KuiCMouseEventType {
    KUI_C_MOUSE_MOVED    = 0,
    KUI_C_MOUSE_PRESSED  = 1,
    KUI_C_MOUSE_RELEASED = 2,
    KUI_C_MOUSE_WHEEL    = 3,
} KuiCMouseEventType;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:565

Report an issue with this entry →
KuiCPDFOptions
Declared3.61.7C / Go / Rust

Public C ABI struct KuiCPDFOptions. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef struct KuiCPDFOptions {
    const char* title;
    const char* author;
    const char* subject;
    const char* keywords;
    const char* creator;
    const char* creation_date;
    float page_width_pt;
    float page_height_pt;
    int rasterize_fonts;
    int generate_outline;
} KuiCPDFOptions;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:927

Report an issue with this entry →
KuiCPositioningOptions
Declared3.61.7C / Go / Rust

Public C ABI struct KuiCPositioningOptions. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef struct KuiCPositioningOptions {
    int flip;
    int clamp_to_viewport;
    float offset;
    float viewport_margin;
} KuiCPositioningOptions;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:765

Report an issue with this entry →
KuiCustomElementAttributeFn
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiCustomElementAttributeFn. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef void (*KuiCustomElementAttributeFn)(KuiElement* element,
                                            const char* name, size_t name_len,
                                            const char* old_value, size_t old_len,
                                            const char* new_value, size_t new_len,
                                            void* user_data);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:906

Report an issue with this entry →
KuiCustomElementLifecycleFn
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiCustomElementLifecycleFn. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef void (*KuiCustomElementLifecycleFn)(KuiElement* element, void* user_data);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:905

Report an issue with this entry →
KuiDocument
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiDocument. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef struct KuiDocument    KuiDocument;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:130

Report an issue with this entry →
KuiElement
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiElement. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef struct KuiElement     KuiElement;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:131

Report an issue with this entry →
KuiEvent
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiEvent. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef struct KuiEvent       KuiEvent;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:132

Report an issue with this entry →
KuiEventListenerFn
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiEventListenerFn. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef void (*KuiEventListenerFn)(KuiEvent* evt, void* user_data);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:402

Report an issue with this entry →
KuiExtensionResult
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiExtensionResult. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef struct KuiExtensionResult KuiExtensionResult;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:692

Report an issue with this entry →
KuiHttpClient
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiHttpClient. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef struct KuiHttpClient      KuiHttpClient;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:690

Report an issue with this entry →
KuiHttpResponse
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiHttpResponse. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef struct KuiHttpResponse    KuiHttpResponse;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:691

Report an issue with this entry →
KuiHttpResponseFn
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiHttpResponseFn. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef void (*KuiHttpResponseFn)(KuiHttpResponse* response, void* user_data);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:823

Report an issue with this entry →
KuiListenerId
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiListenerId. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef uint64_t KuiListenerId;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:403

Report an issue with this entry →
KuiRect
Declared3.61.7C / Go / Rust

Public C ABI struct KuiRect. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef struct {
    float x, y, width, height;
} KuiRect;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:378

Report an issue with this entry →
KuiScriptEngine
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiScriptEngine. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef struct KuiScriptEngine    KuiScriptEngine;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:689

Report an issue with this entry →
KuiScriptErrorFn
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiScriptErrorFn. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef void (*KuiScriptErrorFn)(const char* error, size_t error_len,
                                 const char* source, size_t source_len,
                                 int line, void* user_data);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:801

Report an issue with this entry →
KuiStatus
Declared3.61.7C / Go / Rust

Public C ABI enum KuiStatus. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef enum KuiStatus {
    KUI_OK                     = 0,
    KUI_ERR_INVALID_ARG        = 1,
    KUI_ERR_OUT_OF_MEMORY      = 2,
    KUI_ERR_NOT_FOUND          = 3,
    KUI_ERR_NOT_SUPPORTED      = 4,
    KUI_ERR_PARSE              = 5,
    KUI_ERR_IO                 = 6,
    KUI_ERR_PLUGIN_MISSING     = 7,
     
    KUI_ERR_BUFFER_TOO_SMALL   = 8,
     
    KUI_ERR_INTERNAL           = 99
} KuiStatus;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:106

Report an issue with this entry →
KuiTaskFn
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiTaskFn. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef void (*KuiTaskFn)(void* user_data);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:166

Report an issue with this entry →
KuiTimerId
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiTimerId. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef uint64_t KuiTimerId;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:167

Report an issue with this entry →
KuiVersion
Declared3.61.7C / Go / Rust

Public C ABI struct KuiVersion. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef struct {
    int major;
    int minor;
    int patch;
} KuiVersion;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:94

Report an issue with this entry →
KuiWindow
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiWindow. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef struct KuiWindow      KuiWindow;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:129

Report an issue with this entry →
KuiWindowEventFn
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiWindowEventFn. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef void (*KuiWindowEventFn)(KuiEvent* event, void* user_data);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:737

Report an issue with this entry →
KuiWindowProps
Declared3.61.7C / Go / Rust

Public C ABI struct KuiWindowProps. Its layout and values form part of the interface contract; use the matching versioned header.

kui_c.h
typedef struct {
    const char* title;       
    size_t title_len;        
    int    width;            
    int    height;
    int    min_width, min_height;    
    int    max_width, max_height;    
     
    int    no_resize;        
    int    no_decorations;   
    int    transparent;
    int    always_on_top;
    int    maximized;
    int    centered;
    int    frameless;
    int    frameless_shadow;
    float  opacity;          
} KuiWindowProps;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:210

Report an issue with this entry →
KuiWindowResizeFn
Declared3.61.7C / Go / Rust

C ABI handle or callback type KuiWindowResizeFn. Follow the owning function's release and callback-lifetime contract.

kui_c.h
typedef void (*KuiWindowResizeFn)(uint32_t width, uint32_t height, void* user_data);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

sdk/c/include/kui_c.h:269

Report an issue with this entry →
Browse this reference type →