Low level wrapper for libui-ng.
Documentation mainly from ui.h
Documentation is only added when neccessary, see ui.h for documentation
Author: | Jasmine |
---|
Types
Align {.size: 4.} = enum AlignFill, ## Fill area AlignStart, ## Place at start. AlignCenter, ## Place in center AlignEnd ## Place at end
-
Alignment specifiers to define placement within the reserved area.
Used in Grid
Source Edit AreaDrawParams {.bycopy.} = object context*: ptr DrawContext areaWidth*: cdouble areaHeight*: cdouble clipX*: cdouble clipY*: cdouble clipWidth*: cdouble clipHeight*: cdouble
- Source Edit
AreaHandler {.bycopy.} = object draw*: proc (a1: ptr AreaHandler; a2: ptr Area; a3: ptr AreaDrawParams) {. cdecl.} mouseEvent*: proc (a1: ptr AreaHandler; a2: ptr Area; a3: ptr AreaMouseEvent) {. cdecl.} mouseCrossed*: proc (a1: ptr AreaHandler; a2: ptr Area; left: cint) {.cdecl.} dragBroken*: proc (a1: ptr AreaHandler; a2: ptr Area) {.cdecl.} keyEvent*: proc (a1: ptr AreaHandler; a2: ptr Area; a3: ptr AreaKeyEvent): cint {. cdecl.}
- Source Edit
AreaKeyEvent {.bycopy.} = object key*: char extKey*: ExtKey modifier*: Modifiers modifiers*: Modifiers up*: cint
- Source Edit
AreaMouseEvent {.bycopy.} = object x*: cdouble y*: cdouble areaWidth*: cdouble areaHeight*: cdouble down*: cint up*: cint count*: cint modifiers*: Modifiers held1To64*: uint64
- Source Edit
At {.size: 4.} = enum AtLeading, ## Place before widget. AtTop, ## Place above widget. AtTrailing, ## Place behind widget. AtBottom ## Place below widget.
-
Placement specifier to define placement in relation to another widget.
Used in Grid
Source Edit AttributedString = object
- Source Edit
AttributedStringForEachAttributeFunc = proc (s: ptr AttributedString; a: ptr Attribute; start: csize_t; end: csize_t; data: pointer): ForEach {. cdecl.}
- Source Edit
AttributeType {.size: 4.} = enum AttributeTypeFamily, AttributeTypeSize, AttributeTypeWeight, AttributeTypeItalic, AttributeTypeStretch, AttributeTypeColor, AttributeTypeBackground, AttributeTypeUnderline, AttributeTypeUnderlineColor, AttributeTypeFeatures
- Source Edit
ColorButton = object of Control
- Source Edit
Control {.inheritable, pure, bycopy.} = object signature*: uint32 osSignature*: uint32 typeSignature*: uint32 destroy*: proc (a1: ptr Control) {.cdecl.} handle*: proc (a1: ptr Control): int {.cdecl.} parent*: proc (a1: ptr Control): ptr Control {.cdecl.} setParent*: proc (a1: ptr Control; a2: ptr Control) {.cdecl.} toplevel*: proc (a1: ptr Control): cint {.cdecl.} visible*: proc (a1: ptr Control): cint {.cdecl.} show*: proc (a1: ptr Control) {.cdecl.} hide*: proc (a1: ptr Control) {.cdecl.} enabled*: proc (a1: ptr Control): cint {.cdecl.} enable*: proc (a1: ptr Control) {.cdecl.} disable*: proc (a1: ptr Control) {.cdecl.}
- Base class for GUI controls providing common methods. Source Edit
DateTimePicker = object of Control
- Source Edit
DrawBrush {.bycopy.} = object r*: cdouble g*: cdouble b*: cdouble a*: cdouble x0*: cdouble y0*: cdouble x1*: cdouble y1*: cdouble outerRadius*: cdouble stops*: ptr UncheckedArray[DrawBrushGradientStop] numStops*: csize_t
- Source Edit
DrawBrushGradientStop {.bycopy.} = object pos*: cdouble r*: cdouble g*: cdouble b*: cdouble a*: cdouble
- Source Edit
DrawBrushType {.size: 4.} = enum DrawBrushTypeSolid, DrawBrushTypeLinearGradient, DrawBrushTypeRadialGradient, DrawBrushTypeImage
- Source Edit
DrawContext = object
- Source Edit
DrawFillMode {.size: 4.} = enum DrawFillModeWinding, DrawFillModeAlternate
- Source Edit
DrawLineCap {.size: 4.} = enum DrawLineCapFlat, DrawLineCapRound, DrawLineCapSquare
- Source Edit
DrawLineJoin {.size: 4.} = enum DrawLineJoinMiter, DrawLineJoinRound, DrawLineJoinBevel
- Source Edit
DrawMatrix {.bycopy.} = object m11*: cdouble m12*: cdouble m21*: cdouble m22*: cdouble m31*: cdouble m32*: cdouble
- Source Edit
DrawStrokeParams {.bycopy.} = object cap*: DrawLineCap join*: DrawLineJoin thickness*: cdouble ## if this is 0 on windows there will be a crash with dashing miterLimit*: cdouble dashes*: ptr cdouble numDashes*: csize_t dashPhase*: cdouble
- Source Edit
DrawTextAlign {.size: 4.} = enum DrawTextAlignLeft, DrawTextAlignCenter, DrawTextAlignRight
- DrawTextAlign specifies the alignment of lines of text in a DrawTextLayout. Source Edit
DrawTextLayout = object
- Source Edit
DrawTextLayoutParams {.bycopy.} = object string*: ptr AttributedString defaultFont*: ptr FontDescriptor width*: cdouble align*: DrawTextAlign
- DrawTextLayoutParams describes a DrawTextLayout. defaultFont is used to render any text that is not attributed sufficiently in string. width determines the width of the bounding box of the text; the height is determined automatically. Source Edit
EditableCombobox = object of Control
- Source Edit
ExtKey {.size: 4.} = enum ExtKeyEscape = 1, ExtKeyInsert, ## equivalent to "Help" on Apple keyboards ExtKeyDelete, ExtKeyHome, ExtKeyEnd, ExtKeyPageUp, ExtKeyPageDown, ExtKeyUp, ExtKeyDown, ExtKeyLeft, ExtKeyRight, ExtKeyF1, ## F1..F12 are guaranteed to be consecutive ExtKeyF3, ExtKeyF4, ExtKeyF5, ExtKeyF6, ExtKeyF7, ExtKeyF8, ExtKeyF9, ExtKeyF10, ExtKeyF11, ExtKeyF12, ExtKeyN0, ## numpad keys; independent of Num Lock state ExtKeyN1, ## N0..N9 are guaranteed to be consecutive ExtKeyN2, ExtKeyN3, ExtKeyN4, ExtKeyN5, ExtKeyN6, ExtKeyN7, ExtKeyN8, ExtKeyN9, ExtKeyNDot, ExtKeyNEnter, ExtKeyNAdd, ExtKeyNSubtract, ExtKeyNMultiply, ExtKeyNDivide
- Source Edit
FontButton = object of Control
- Source Edit
FontDescriptor {.bycopy.} = object family*: cstring size*: cdouble weight*: TextWeight italic*: TextItalic stretch*: TextStretch
-
FontDescriptor provides a complete description of a font where one is needed. Currently, this means as the default font of a DrawTextLayout and as the data returned by FontButton.
All the members operate like the respective Attributes.
Source Edit ForEach {.size: 4.} = enum ForEachContinue, ForEachStop
- ForEach represents the return value from one of libui-ng's various ForEach functions. Source Edit
InitOptions {.bycopy.} = object size*: csize_t
- Source Edit
Modifiers {.size: 4.} = enum ModifierCtrl = 1, ## Control key. ModifierAlt = 2, ## Alternate/Option key. ModifierShift = 4, ## Shift key. ModifierSuper = 8 ## Super/Command/Windows key
-
Keyboard modifier keys.
Usable as bitmasks.
Source Edit MultilineEntry = object of Control
- Source Edit
OpenTypeFeatures = object
- Source Edit
OpenTypeFeaturesForEachFunc = proc (otf: ptr OpenTypeFeatures; a: char; b: char; c: char; d: char; value: uint32; data: pointer): ForEach {.cdecl.}
- Source Edit
ProgressBar = object of Control
- Source Edit
RadioButtons = object of Control
- Source Edit
SortIndicator {.size: 4.} = enum SortIndicatorNone, SortIndicatorAscending, SortIndicatorDescending
- Source Edit
TableColumnType = proc (mh: ptr TableModelHandler; m: TableModel; col: int): TableValueType {. noconv.}
- Source Edit
TableModel = pointer
- Source Edit
TableModelHandler {.bycopy.} = object numColumns*: proc (a1: ptr TableModelHandler; a2: ptr TableModel): cint {. cdecl.} ## \ ## Returns the number of columns in the `TableModel`. ## ## .. warning:: This value **MUST** remain constant throughout the lifetime of the `TableModel`. ## ## .. warning:: This method is not guaranteed to be called depending on the system columnType*: proc (a1: ptr TableModelHandler; a2: ptr TableModel; col: cint): TableValueType {. cdecl.} ## \ ## Returns the column type in for of a `TableValueType`. ## ## .. warning:: This value **MUST** remain constant throughout the lifetime of the `TableModel`. ## ## .. warning:: This method is not guaranteed to be called depending on the system numRows*: proc (a1: ptr TableModelHandler; a2: ptr TableModel): cint {.cdecl.} ## ## \ ## Returns the number of rows in the `TableModel`. cellValue*: proc (mh: ptr TableModelHandler; m: ptr TableModel; row: cint; col: cint): ptr TableValue {.cdecl.} ## \ ## Returns the cell value for (row, col). ## ## Make sure to use the `TableValue` constructors. The returned value ## must match the `TableValueType` defined in `columnType()`. ## ## Some columns may return `nil` as a special value. Refer to the ## appropriate `addColumn()` documentation. ## ## .. note:: `TableValue` objects are automatically freed when requested by ## a `Table`. setCellValue*: proc (a1: ptr TableModelHandler; a2: ptr TableModel; row: cint; col: cint; a3: ptr TableValue) {.cdecl.} ## \ ## Sets the cell value for (row, column). ## It is up to the handler to decide what to do with the value: change ## the model or reject the change, keeping the old value. ## ## Some columns may call this function with `nil` as a special value. ## Refer to the appropriate `addColumn()` documentation. ## ## .. note:: `TableValue` objects are automatically freed upon return when ## set by a `Table`.
-
Developer defined methods for data retrieval and setting.
These methods get called whenever the associated TableModel needs to retrieve data or a Table wants to set data.
Warning: These methods are NOT allowed to change as soon as the TableModelHandler is associated with a TableModel.Source Edit TableParams {.bycopy.} = object model*: ptr TableModel ## \ ## Model holding the data to be displayed. This can **NOT** be `nil`. rowBackgroundColorModelColumn*: cint ## \ ## `TableModel` column that defines background color for each row, ## ## `TableValue.color` Background color, `nil` to use the default ## background color for that row. ## ## `-1` to use the default background color for all rows.
- Table parameters passed to newTable(). Source Edit
TableSelection {.bycopy.} = object numRows*: cint ## Number of selected rows. rows*: ptr UncheckedArray[cint] ## Array containing selected row indices, `nil` on empty selection.
- Holds an array of selected row indices for a table. Source Edit
TableSelectionMode {.size: 4.} = enum TableSelectionModeNone, ## Allow no row selection. ## ## .. warning:: This mode disables all editing of text columns. Buttons ## and checkboxes keep working though. TableSelectionModeZeroOrOne, ## Allow zero or one row to be selected. TableSelectionModeOne, ## Allow for exactly one row to be selected. TableSelectionModeZeroOrMany ## Allow zero or many (multiple) rows to be selected.
-
Table selection modes.
Table selection that enforce how a user can interact with a table.
Note: An empty table selection is a valid state for any selection mode. This is in fact the default upon table creation and can otherwise triggered through operations such as row deletion.Source Edit TableTextColumnOptionalParams {.bycopy.} = object colorModelColumn*: cint
- Optional parameters to control the appearance of text columns. Source Edit
TableValue {.bycopy.} = object kind*: TableValueType u*: TableValueInner
- Source Edit
TableValueInner {.bycopy, union.} = object str*: cstring img*: ptr Image i*: cint color*: Color
- Source Edit
TableValueType {.size: 4.} = enum TableValueTypeString, TableValueTypeImage, TableValueTypeInt, TableValueTypeColor
- TableValue types. Source Edit
TextItalic {.size: 4.} = enum TextItalicNormal, TextItalicOblique, TextItalicItalic
- TextItalic represents possible italic modes for a font. Italic represents "true" italics where the slanted glyphs have custom shapes, whereas oblique represents italics that are merely slanted versions of the normal glyphs. Most fonts usually have one or the other. Source Edit
TextStretch {.size: 4.} = enum TextStretchUltraCondensed, TextStretchExtraCondensed, TextStretchCondensed, TextStretchSemiCondensed, TextStretchNormal, TextStretchSemiExpanded, TextStretchExpanded, TextStretchExtraExpanded, TextStretchUltraExpanded
-
TextStretch represents possible stretches (also called "widths") of a font.
Note that due to restrictions in early versions of Windows, some fonts have "special" stretches be exposed in many programs as separate font families. This is perhaps most notable with Arial Condensed. libui does not do this, even on Windows (because the DirectWrite API libui-ng uses on Windows does not do this); to specify Arial Condensed, use family Arial and stretch TextStretchCondensed.
Source Edit TextWeight {.size: 4.} = enum TextWeightMinimum = 0, TextWeightThin = 100, TextWeightUltraLight = 200, TextWeightLight = 300, TextWeightBook = 350, TextWeightNormal = 400, TextWeightMedium = 500, TextWeightSemiBold = 600, TextWeightBold = 700, TextWeightUltraBold = 800, TextWeightHeavy = 900, TextWeightUltraHeavy = 950, TextWeightMaximum = 1000
-
TextWeight represents possible text weights. These roughly map to the OS/2 text weight field of TrueType and OpenType fonts, or to CSS weight numbers. The named constants are nominal values; the actual values may vary by font and by OS, though this isn't particularly likely. Any value between TextWeightMinimum and TextWeightMaximum, inclusive, is allowed.
Note that due to restrictions in early versions of Windows, some fonts have "special" weights be exposed in many programs as separate font families. This is perhaps most notable with Arial Black. libui-ng does not do this, even on Windows (because the DirectWrite API libui-ng uses on Windows does not do this); to specify Arial Black, use family Arial and weight TextWeightBlack.
Source Edit Tm {.importc: "struct tm", header: "time.h", bycopy.} = object tm_sec*: cint ## seconds [0,61] tm_min*: cint ## minutes [0,59] tm_hour*: cint ## hour [0,23] tm_mday*: cint ## day of month [1,31] tm_mon*: cint ## month of year [0,11] tm_year*: cint ## years since 1900 tm_wday*: cint ## day of week [0,6] (Sunday = 0) tm_yday*: cint ## day of year [0,365] tm_isdst*: cint ## daylight savings flag
- Source Edit
Underline {.size: 4.} = enum UnderlineNone, UnderlineSingle, UnderlineDouble, UnderlineSuggestion ## wavy or dotted underlines used for spelling/grammar checkers
- Underline specifies a type of underline to use on text. Source Edit
UnderlineColor {.size: 4.} = enum UnderlineColorCustom, UnderlineColorSpelling, UnderlineColorGrammar, UnderlineColorAuxiliary ## for instance, the color used by smart replacements on macOS or in Microsoft Office
-
UnderlineColor specifies the color of any underline on the text it is applied to, regardless of the type of underline. In addition to being able to specify a custom color, you can explicitly specify platform-specific colors for suggestion underlines; to use them correctly, pair them with UnderlineSuggestion (though they can be used on other types of underline as well).
If an underline type is applied but no underline color is specified, the text color is used instead. If an underline color is specified without an underline type, the underline color attribute is ignored, but not removed from the AttributedString.
Source Edit WindowResizeEdge {.size: 4.} = enum WindowResizeEdgeLeft, WindowResizeEdgeTop, WindowResizeEdgeRight, WindowResizeEdgeBottom, WindowResizeEdgeTopLeft, WindowResizeEdgeTopRight, WindowResizeEdgeBottomLeft, WindowResizeEdgeBottomRight
- Source Edit
Consts
DrawDefaultMiterLimit = 10.0
- This is the default for both Cairo and Direct2D Source Edit
TableModelColumnAlwaysEditable = -2
- Parameter to editable model columns to signify all rows are always editable. Source Edit
TableModelColumnNeverEditable = -1
- Parameter to editable model columns to signify all rows are never editable. Source Edit
Procs
proc allocControl(n: csize_t; oSsig: uint32; typesig: uint32; typenamestr: cstring): ptr Control {.cdecl, importc: "uiAllocControl", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc areaBeginUserWindowMove(a: ptr Area) {.cdecl, importc: "uiAreaBeginUserWindowMove", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc areaBeginUserWindowResize(a: ptr Area; edge: WindowResizeEdge) {.cdecl, importc: "uiAreaBeginUserWindowResize", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc areaQueueRedrawAll(a: ptr Area) {.cdecl, importc: "uiAreaQueueRedrawAll", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc areaScrollTo(a: ptr Area; x: cdouble; y: cdouble; width: cdouble; height: cdouble) {.cdecl, importc: "uiAreaScrollTo", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc areaSetSize(a: ptr Area; width: cint; height: cint) {.cdecl, importc: "uiAreaSetSize", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributeColor(a: ptr Attribute; r: ptr cdouble; g: ptr cdouble; b: ptr cdouble; alpha: ptr cdouble) {.cdecl, importc: "uiAttributeColor", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributedStringAppendUnattributed(s: ptr AttributedString; str: cstring) {. cdecl, importc: "uiAttributedStringAppendUnattributed", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributedStringByteIndexToGrapheme(s: ptr AttributedString; pos: csize_t): csize_t {. cdecl, importc: "uiAttributedStringByteIndexToGrapheme", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributedStringDelete(s: ptr AttributedString; start: csize_t; end: csize_t) {.cdecl, importc: "uiAttributedStringDelete", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributedStringForEachAttribute(s: ptr AttributedString; f: AttributedStringForEachAttributeFunc; data: pointer) {.cdecl, importc: "uiAttributedStringForEachAttribute", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributedStringGraphemeToByteIndex(s: ptr AttributedString; pos: csize_t): csize_t {. cdecl, importc: "uiAttributedStringGraphemeToByteIndex", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributedStringInsertAtUnattributed(s: ptr AttributedString; str: cstring; at: csize_t) {.cdecl, importc: "uiAttributedStringInsertAtUnattributed", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributedStringLen(s: ptr AttributedString): csize_t {.cdecl, importc: "uiAttributedStringLen", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributedStringNumGraphemes(s: ptr AttributedString): csize_t {.cdecl, importc: "uiAttributedStringNumGraphemes", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributedStringSetAttribute(s: ptr AttributedString; a: ptr Attribute; start: csize_t; end: csize_t) {.cdecl, importc: "uiAttributedStringSetAttribute", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributedStringString(s: ptr AttributedString): cstring {.cdecl, importc: "uiAttributedStringString", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributeFamily(a: ptr Attribute): cstring {.cdecl, importc: "uiAttributeFamily", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributeFeatures(a: ptr Attribute): ptr OpenTypeFeatures {.cdecl, importc: "uiAttributeFeatures", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributeGetType(a: ptr Attribute): AttributeType {.cdecl, importc: "uiAttributeGetType", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributeItalic(a: ptr Attribute): TextItalic {.cdecl, importc: "uiAttributeItalic", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributeSize(a: ptr Attribute): cdouble {.cdecl, importc: "uiAttributeSize", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributeStretch(a: ptr Attribute): TextStretch {.cdecl, importc: "uiAttributeStretch", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributeUnderline(a: ptr Attribute): Underline {.cdecl, importc: "uiAttributeUnderline", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributeUnderlineColor(a: ptr Attribute; u: ptr UnderlineColor; r: ptr cdouble; g: ptr cdouble; b: ptr cdouble; alpha: ptr cdouble) {.cdecl, importc: "uiAttributeUnderlineColor", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc attributeWeight(a: ptr Attribute): TextWeight {.cdecl, importc: "uiAttributeWeight", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc boxNumChildren(b: ptr Box): cint {.cdecl, importc: "uiBoxNumChildren", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc boxSetPadded(b: ptr Box; padded: cint) {.cdecl, importc: "uiBoxSetPadded", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc checkboxChecked(c: ptr Checkbox): cint {.cdecl, importc: "uiCheckboxChecked", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc checkboxOnToggled(c: ptr Checkbox; f: proc (sender: ptr Checkbox; senderData: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiCheckboxOnToggled", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc checkboxSetChecked(c: ptr Checkbox; checked: cint) {.cdecl, importc: "uiCheckboxSetChecked", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc checkboxSetText(c: ptr Checkbox; text: cstring) {.cdecl, importc: "uiCheckboxSetText", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc checkboxText(c: ptr Checkbox): cstring {.cdecl, importc: "uiCheckboxText", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc colorButtonColor(b: ptr ColorButton; r: ptr cdouble; g: ptr cdouble; bl: ptr cdouble; a: ptr cdouble) {.cdecl, importc: "uiColorButtonColor", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc colorButtonOnChanged(b: ptr ColorButton; f: proc (sender: ptr ColorButton; senderData: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiColorButtonOnChanged", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc colorButtonSetColor(b: ptr ColorButton; r: cdouble; g: cdouble; bl: cdouble; a: cdouble) {.cdecl, importc: "uiColorButtonSetColor", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc comboboxAppend(c: ptr Combobox; text: cstring) {.cdecl, importc: "uiComboboxAppend", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc comboboxClear(c: ptr Combobox) {.cdecl, importc: "uiComboboxClear", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc comboboxDelete(c: ptr Combobox; index: cint) {.cdecl, importc: "uiComboboxDelete", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc comboboxInsertAt(c: ptr Combobox; index: cint; text: cstring) {.cdecl, importc: "uiComboboxInsertAt", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc comboboxNumItems(c: ptr Combobox): cint {.cdecl, importc: "uiComboboxNumItems", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc comboboxOnSelected(c: ptr Combobox; f: proc (sender: ptr Combobox; senderData: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiComboboxOnSelected", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc comboboxSelected(c: ptr Combobox): cint {.cdecl, importc: "uiComboboxSelected", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc comboboxSetSelected(c: ptr Combobox; index: cint) {.cdecl, importc: "uiComboboxSetSelected", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc controlDestroy(c: ptr Control) {.cdecl, importc: "uiControlDestroy", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc controlDisable(c: ptr Control) {.cdecl, importc: "uiControlDisable", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc controlEnable(c: ptr Control) {.cdecl, importc: "uiControlEnable", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc controlEnabled(c: ptr Control): cint {.cdecl, importc: "uiControlEnabled", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc controlEnabledToUser(c: ptr Control): cint {.cdecl, importc: "uiControlEnabledToUser", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc controlHandle(c: ptr Control): int {.cdecl, importc: "uiControlHandle", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc controlHide(c: ptr Control) {.cdecl, importc: "uiControlHide", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc controlParent(c: ptr Control): ptr Control {.cdecl, importc: "uiControlParent", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc controlSetParent(c: ptr Control; parent: ptr Control) {.cdecl, importc: "uiControlSetParent", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc controlShow(c: ptr Control) {.cdecl, importc: "uiControlShow", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc controlToplevel(c: ptr Control): cint {.cdecl, importc: "uiControlToplevel", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc controlVerifySetParent(c: ptr Control; parent: ptr Control) {.cdecl, importc: "uiControlVerifySetParent", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc controlVisible(c: ptr Control): cint {.cdecl, importc: "uiControlVisible", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc dateTimePickerOnChanged(d: ptr DateTimePicker; f: proc ( sender: ptr DateTimePicker; senderData: pointer) {.cdecl.}; data: pointer) {. cdecl, importc: "uiDateTimePickerOnChanged", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc dateTimePickerSetTime(d: ptr DateTimePicker; time: ptr Tm) {.cdecl, importc: "uiDateTimePickerSetTime", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc dateTimePickerTime(d: ptr DateTimePicker; time: ptr Tm) {.cdecl, importc: "uiDateTimePickerTime", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawClip(c: ptr DrawContext; path: ptr DrawPath) {.cdecl, importc: "uiDrawClip", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawFreePath(p: ptr DrawPath) {.cdecl, importc: "uiDrawFreePath", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawFreeTextLayout(tl: ptr DrawTextLayout) {.cdecl, importc: "uiDrawFreeTextLayout", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawMatrixInvert(m: ptr DrawMatrix): cint {.cdecl, importc: "uiDrawMatrixInvert", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawMatrixInvertible(m: ptr DrawMatrix): cint {.cdecl, importc: "uiDrawMatrixInvertible", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawMatrixMultiply(dest: ptr DrawMatrix; src: ptr DrawMatrix) {.cdecl, importc: "uiDrawMatrixMultiply", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawMatrixRotate(m: ptr DrawMatrix; x: cdouble; y: cdouble; amount: cdouble) {. cdecl, importc: "uiDrawMatrixRotate", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawMatrixScale(m: ptr DrawMatrix; xCenter: cdouble; yCenter: cdouble; x: cdouble; y: cdouble) {.cdecl, importc: "uiDrawMatrixScale", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawMatrixSetIdentity(m: ptr DrawMatrix) {.cdecl, importc: "uiDrawMatrixSetIdentity", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawMatrixSkew(m: ptr DrawMatrix; x: cdouble; y: cdouble; xamount: cdouble; yamount: cdouble) {.cdecl, importc: "uiDrawMatrixSkew", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawMatrixTransformPoint(m: ptr DrawMatrix; x: ptr cdouble; y: ptr cdouble) {. cdecl, importc: "uiDrawMatrixTransformPoint", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawMatrixTransformSize(m: ptr DrawMatrix; x: ptr cdouble; y: ptr cdouble) {. cdecl, importc: "uiDrawMatrixTransformSize", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawMatrixTranslate(m: ptr DrawMatrix; x: cdouble; y: cdouble) {.cdecl, importc: "uiDrawMatrixTranslate", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawNewPath(fillMode: DrawFillMode): ptr DrawPath {.cdecl, importc: "uiDrawNewPath", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawNewTextLayout(params: ptr DrawTextLayoutParams): ptr DrawTextLayout {. cdecl, importc: "uiDrawNewTextLayout", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawPathAddRectangle(p: ptr DrawPath; x: cdouble; y: cdouble; width: cdouble; height: cdouble) {.cdecl, importc: "uiDrawPathAddRectangle", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawPathArcTo(p: ptr DrawPath; xCenter: cdouble; yCenter: cdouble; radius: cdouble; startAngle: cdouble; sweep: cdouble; negative: cint) {.cdecl, importc: "uiDrawPathArcTo", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawPathBezierTo(p: ptr DrawPath; c1x: cdouble; c1y: cdouble; c2x: cdouble; c2y: cdouble; endX: cdouble; endY: cdouble) {.cdecl, importc: "uiDrawPathBezierTo", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawPathCloseFigure(p: ptr DrawPath) {.cdecl, importc: "uiDrawPathCloseFigure", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawPathEnd(p: ptr DrawPath) {.cdecl, importc: "uiDrawPathEnd", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawPathEnded(p: ptr DrawPath): cint {.cdecl, importc: "uiDrawPathEnded", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawPathLineTo(p: ptr DrawPath; x: cdouble; y: cdouble) {.cdecl, importc: "uiDrawPathLineTo", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawPathNewFigure(p: ptr DrawPath; x: cdouble; y: cdouble) {.cdecl, importc: "uiDrawPathNewFigure", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawPathNewFigureWithArc(p: ptr DrawPath; xCenter: cdouble; yCenter: cdouble; radius: cdouble; startAngle: cdouble; sweep: cdouble; negative: cint) {.cdecl, importc: "uiDrawPathNewFigureWithArc", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawRestore(c: ptr DrawContext) {.cdecl, importc: "uiDrawRestore", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawSave(c: ptr DrawContext) {.cdecl, importc: "uiDrawSave", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawStroke(c: ptr DrawContext; path: ptr DrawPath; b: ptr DrawBrush; p: ptr DrawStrokeParams) {.cdecl, importc: "uiDrawStroke", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawText(c: ptr DrawContext; tl: ptr DrawTextLayout; x: cdouble; y: cdouble) {. cdecl, importc: "uiDrawText", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawTextLayoutExtents(tl: ptr DrawTextLayout; width: ptr cdouble; height: ptr cdouble) {.cdecl, importc: "uiDrawTextLayoutExtents", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc drawTransform(c: ptr DrawContext; m: ptr DrawMatrix) {.cdecl, importc: "uiDrawTransform", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc editableComboboxAppend(c: ptr EditableCombobox; text: cstring) {.cdecl, importc: "uiEditableComboboxAppend", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc editableComboboxOnChanged(c: ptr EditableCombobox; f: proc ( sender: ptr EditableCombobox; senderData: pointer) {.cdecl.}; data: pointer) {. cdecl, importc: "uiEditableComboboxOnChanged", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc editableComboboxSetText(c: ptr EditableCombobox; text: cstring) {.cdecl, importc: "uiEditableComboboxSetText", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc editableComboboxText(c: ptr EditableCombobox): cstring {.cdecl, importc: "uiEditableComboboxText", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc entryOnChanged(e: ptr Entry; f: proc (sender: ptr Entry; senderData: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiEntryOnChanged", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc entryReadOnly(e: ptr Entry): cint {.cdecl, importc: "uiEntryReadOnly", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc entrySetReadOnly(e: ptr Entry; readonly: cint) {.cdecl, importc: "uiEntrySetReadOnly", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc entrySetText(e: ptr Entry; text: cstring) {.cdecl, importc: "uiEntrySetText", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc fontButtonFont(b: ptr FontButton; desc: ptr FontDescriptor) {.cdecl, importc: "uiFontButtonFont", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc fontButtonOnChanged(b: ptr FontButton; f: proc (sender: ptr FontButton; senderData: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiFontButtonOnChanged", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc formAppend(f: ptr Form; label: cstring; c: ptr Control; stretchy: cint) {. cdecl, importc: "uiFormAppend", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc formDelete(f: ptr Form; index: cint) {.cdecl, importc: "uiFormDelete", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc formNumChildren(f: ptr Form): cint {.cdecl, importc: "uiFormNumChildren", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc formPadded(f: ptr Form): cint {.cdecl, importc: "uiFormPadded", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc formSetPadded(f: ptr Form; padded: cint) {.cdecl, importc: "uiFormSetPadded", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc freeAttribute(a: ptr Attribute) {.cdecl, importc: "uiFreeAttribute", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc freeAttributedString(s: ptr AttributedString) {.cdecl, importc: "uiFreeAttributedString", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc freeControl(c: ptr Control) {.cdecl, importc: "uiFreeControl", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc freeFontButtonFont(desc: ptr FontDescriptor) {.cdecl, importc: "uiFreeFontButtonFont", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc freeFontDescriptor(desc: ptr FontDescriptor) {.cdecl, importc: "uiFreeFontDescriptor", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc freeInitError(err: cstring) {.cdecl, importc: "uiFreeInitError", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc freeOpenTypeFeatures(otf: ptr OpenTypeFeatures) {.cdecl, importc: "uiFreeOpenTypeFeatures", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc freeTableModel(m: ptr TableModel) {.cdecl, importc: "uiFreeTableModel", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc freeTableSelection(s: ptr TableSelection) {.cdecl, importc: "uiFreeTableSelection", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc freeTableValue(v: ptr TableValue) {.cdecl, importc: "uiFreeTableValue", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc gridPadded(g: ptr Grid): cint {.cdecl, importc: "uiGridPadded", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc gridSetPadded(g: ptr Grid; padded: cint) {.cdecl, importc: "uiGridSetPadded", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc groupMargined(g: ptr Group): cint {.cdecl, importc: "uiGroupMargined", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc groupSetChild(g: ptr Group; c: ptr Control) {.cdecl, importc: "uiGroupSetChild", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc groupSetMargined(g: ptr Group; margined: cint) {.cdecl, importc: "uiGroupSetMargined", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc groupSetTitle(g: ptr Group; title: cstring) {.cdecl, importc: "uiGroupSetTitle", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc groupTitle(g: ptr Group): cstring {.cdecl, importc: "uiGroupTitle", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc imageAppend(i: ptr Image; pixels: pointer; pixelWidth: cint; pixelHeight: cint; byteStride: cint) {.cdecl, importc: "uiImageAppend", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc init(options: ptr InitOptions): cstring {.cdecl, importc: "uiInit", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc labelSetText(l: ptr Label; text: cstring) {.cdecl, importc: "uiLabelSetText", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc loadControlFont(f: ptr FontDescriptor) {.cdecl, importc: "uiLoadControlFont", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc msgBoxError(parent: ptr Window; title: cstring; description: cstring) {. cdecl, importc: "uiMsgBoxError", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc multilineEntryAppend(e: ptr MultilineEntry; text: cstring) {.cdecl, importc: "uiMultilineEntryAppend", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc multilineEntryOnChanged(e: ptr MultilineEntry; f: proc ( sender: ptr MultilineEntry; senderData: pointer) {.cdecl.}; data: pointer) {. cdecl, importc: "uiMultilineEntryOnChanged", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc multilineEntryReadOnly(e: ptr MultilineEntry): cint {.cdecl, importc: "uiMultilineEntryReadOnly", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc multilineEntrySetReadOnly(e: ptr MultilineEntry; readonly: cint) {.cdecl, importc: "uiMultilineEntrySetReadOnly", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc multilineEntrySetText(e: ptr MultilineEntry; text: cstring) {.cdecl, importc: "uiMultilineEntrySetText", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc multilineEntryText(e: ptr MultilineEntry): cstring {.cdecl, importc: "uiMultilineEntryText", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newArea(ah: ptr AreaHandler): ptr Area {.cdecl, importc: "uiNewArea", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newAttributedString(initialString: cstring): ptr AttributedString {.cdecl, importc: "uiNewAttributedString", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newBackgroundAttribute(r: cdouble; g: cdouble; b: cdouble; a: cdouble): ptr Attribute {. cdecl, importc: "uiNewBackgroundAttribute", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newCheckbox(text: cstring): ptr Checkbox {.cdecl, importc: "uiNewCheckbox", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newColorAttribute(r: cdouble; g: cdouble; b: cdouble; a: cdouble): ptr Attribute {. cdecl, importc: "uiNewColorAttribute", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newColorButton(): ptr ColorButton {.cdecl, importc: "uiNewColorButton", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newCombobox(): ptr Combobox {.cdecl, importc: "uiNewCombobox", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newDatePicker(): ptr DateTimePicker {.cdecl, importc: "uiNewDatePicker", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newDateTimePicker(): ptr DateTimePicker {.cdecl, importc: "uiNewDateTimePicker", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newEditableCombobox(): ptr EditableCombobox {.cdecl, importc: "uiNewEditableCombobox", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newFamilyAttribute(family: cstring): ptr Attribute {.cdecl, importc: "uiNewFamilyAttribute", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newFeaturesAttribute(otf: ptr OpenTypeFeatures): ptr Attribute {.cdecl, importc: "uiNewFeaturesAttribute", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newFontButton(): ptr FontButton {.cdecl, importc: "uiNewFontButton", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newHorizontalBox(): ptr Box {.cdecl, importc: "uiNewHorizontalBox", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newHorizontalSeparator(): ptr Separator {.cdecl, importc: "uiNewHorizontalSeparator", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newItalicAttribute(italic: TextItalic): ptr Attribute {.cdecl, importc: "uiNewItalicAttribute", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newMultilineEntry(): ptr MultilineEntry {.cdecl, importc: "uiNewMultilineEntry", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newNonWrappingMultilineEntry(): ptr MultilineEntry {.cdecl, importc: "uiNewNonWrappingMultilineEntry", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newOpenTypeFeatures(): ptr OpenTypeFeatures {.cdecl, importc: "uiNewOpenTypeFeatures", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newPasswordEntry(): ptr Entry {.cdecl, importc: "uiNewPasswordEntry", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newProgressBar(): ptr ProgressBar {.cdecl, importc: "uiNewProgressBar", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newRadioButtons(): ptr RadioButtons {.cdecl, importc: "uiNewRadioButtons", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newScrollingArea(ah: ptr AreaHandler; width: cint; height: cint): ptr Area {. cdecl, importc: "uiNewScrollingArea", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newSearchEntry(): ptr Entry {.cdecl, importc: "uiNewSearchEntry", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newSizeAttribute(size: cdouble): ptr Attribute {.cdecl, importc: "uiNewSizeAttribute", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newSpinbox(min: cint; max: cint): ptr Spinbox {.cdecl, importc: "uiNewSpinbox", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newStretchAttribute(stretch: TextStretch): ptr Attribute {.cdecl, importc: "uiNewStretchAttribute", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newTable(params: ptr TableParams): ptr Table {.cdecl, importc: "uiNewTable", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newTableModel(mh: ptr TableModelHandler): ptr TableModel {.cdecl, importc: "uiNewTableModel", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newTableValueColor(r: cdouble; g: cdouble; b: cdouble; a: cdouble): ptr TableValue {. cdecl, importc: "uiNewTableValueColor", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newTableValueImage(img: ptr Image): ptr TableValue {.cdecl, importc: "uiNewTableValueImage", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newTableValueInt(i: cint): ptr TableValue {.cdecl, importc: "uiNewTableValueInt", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newTableValueString(str: cstring): ptr TableValue {.cdecl, importc: "uiNewTableValueString", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newTimePicker(): ptr DateTimePicker {.cdecl, importc: "uiNewTimePicker", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newUnderlineAttribute(u: Underline): ptr Attribute {.cdecl, importc: "uiNewUnderlineAttribute", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newUnderlineColorAttribute(u: UnderlineColor; r: cdouble; g: cdouble; b: cdouble; a: cdouble): ptr Attribute {.cdecl, importc: "uiNewUnderlineColorAttribute", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newVerticalBox(): ptr Box {.cdecl, importc: "uiNewVerticalBox", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newVerticalSeparator(): ptr Separator {.cdecl, importc: "uiNewVerticalSeparator", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc newWeightAttribute(weight: TextWeight): ptr Attribute {.cdecl, importc: "uiNewWeightAttribute", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc onShouldQuit(f: proc (data: pointer): cint {.cdecl.}; data: pointer) {. cdecl, importc: "uiOnShouldQuit", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc openFolder(parent: ptr Window): cstring {.cdecl, importc: "uiOpenFolder", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc openTypeFeaturesAdd(otf: ptr OpenTypeFeatures; a: char; b: char; c: char; d: char; value: uint32) {.cdecl, importc: "uiOpenTypeFeaturesAdd", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc openTypeFeaturesClone(otf: ptr OpenTypeFeatures): ptr OpenTypeFeatures {. cdecl, importc: "uiOpenTypeFeaturesClone", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc openTypeFeaturesForEach(otf: ptr OpenTypeFeatures; f: OpenTypeFeaturesForEachFunc; data: pointer) {. cdecl, importc: "uiOpenTypeFeaturesForEach", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc openTypeFeaturesGet(otf: ptr OpenTypeFeatures; a: char; b: char; c: char; d: char; value: ptr uint32): cint {.cdecl, importc: "uiOpenTypeFeaturesGet", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc openTypeFeaturesRemove(otf: ptr OpenTypeFeatures; a: char; b: char; c: char; d: char) {.cdecl, importc: "uiOpenTypeFeaturesRemove", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc progressBarSetValue(p: ptr ProgressBar; n: cint) {.cdecl, importc: "uiProgressBarSetValue", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc progressBarValue(p: ptr ProgressBar): cint {.cdecl, importc: "uiProgressBarValue", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc radioButtonsAppend(r: ptr RadioButtons; text: cstring) {.cdecl, importc: "uiRadioButtonsAppend", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc radioButtonsOnSelected(r: ptr RadioButtons; f: proc ( sender: ptr RadioButtons; senderData: pointer) {.cdecl.}; data: pointer) {. cdecl, importc: "uiRadioButtonsOnSelected", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc radioButtonsSelected(r: ptr RadioButtons): cint {.cdecl, importc: "uiRadioButtonsSelected", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc radioButtonsSetSelected(r: ptr RadioButtons; index: cint) {.cdecl, importc: "uiRadioButtonsSetSelected", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc sliderHasToolTip(s: ptr Slider): cint {.cdecl, importc: "uiSliderHasToolTip", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc sliderOnChanged(s: ptr Slider; f: proc (sender: ptr Slider; senderData: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiSliderOnChanged", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc sliderOnReleased(s: ptr Slider; f: proc (sender: ptr Slider; senderData: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiSliderOnReleased", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc sliderSetHasToolTip(s: ptr Slider; hasToolTip: cint) {.cdecl, importc: "uiSliderSetHasToolTip", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc sliderSetRange(s: ptr Slider; min: cint; max: cint) {.cdecl, importc: "uiSliderSetRange", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc sliderSetValue(s: ptr Slider; value: cint) {.cdecl, importc: "uiSliderSetValue", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc sliderValue(s: ptr Slider): cint {.cdecl, importc: "uiSliderValue", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc spinboxOnChanged(s: ptr Spinbox; f: proc (sender: ptr Spinbox; senderData: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiSpinboxOnChanged", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc spinboxSetValue(s: ptr Spinbox; value: cint) {.cdecl, importc: "uiSpinboxSetValue", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc spinboxValue(s: ptr Spinbox): cint {.cdecl, importc: "uiSpinboxValue", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tabInsertAt(t: ptr Tab; name: cstring; index: cint; c: ptr Control) {. cdecl, importc: "uiTabInsertAt", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableAppendButtonColumn(t: ptr Table; name: cstring; buttonModelColumn: cint; buttonClickableModelColumn: cint) {.cdecl, importc: "uiTableAppendButtonColumn", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableAppendCheckboxColumn(t: ptr Table; name: cstring; checkboxModelColumn: cint; checkboxEditableModelColumn: cint) {.cdecl, importc: "uiTableAppendCheckboxColumn", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableAppendCheckboxTextColumn(t: ptr Table; name: cstring; checkboxModelColumn: cint; checkboxEditableModelColumn: cint; textModelColumn: cint; textEditableModelColumn: cint; textParams: ptr TableTextColumnOptionalParams) {. cdecl, importc: "uiTableAppendCheckboxTextColumn", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableAppendImageColumn(t: ptr Table; name: cstring; imageModelColumn: cint) {. cdecl, importc: "uiTableAppendImageColumn", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableAppendImageTextColumn(t: ptr Table; name: cstring; imageModelColumn: cint; textModelColumn: cint; textEditableModelColumn: cint; textParams: ptr TableTextColumnOptionalParams) {. cdecl, importc: "uiTableAppendImageTextColumn", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableAppendProgressBarColumn(t: ptr Table; name: cstring; progressModelColumn: cint) {.cdecl, importc: "uiTableAppendProgressBarColumn", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableAppendTextColumn(t: ptr Table; name: cstring; textModelColumn: cint; textEditableModelColumn: cint; textParams: ptr TableTextColumnOptionalParams) {. cdecl, importc: "uiTableAppendTextColumn", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableColumnSetWidth(t: ptr Table; column: cint; width: cint) {.cdecl, importc: "uiTableColumnSetWidth", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableColumnWidth(t: ptr Table; column: cint): cint {.cdecl, importc: "uiTableColumnWidth", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableGetSelection(t: ptr Table): ptr TableSelection {.cdecl, importc: "uiTableGetSelection", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableGetSelectionMode(t: ptr Table): TableSelectionMode {.cdecl, importc: "uiTableGetSelectionMode", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableHeaderOnClicked(t: ptr Table; f: proc (sender: ptr Table; column: cint; senderData: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiTableHeaderOnClicked", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableHeaderSetSortIndicator(t: ptr Table; column: cint; indicator: SortIndicator) {.cdecl, importc: "uiTableHeaderSetSortIndicator", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableHeaderSetVisible(t: ptr Table; visible: cint) {.cdecl, importc: "uiTableHeaderSetVisible", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableHeaderSortIndicator(t: ptr Table; column: cint): SortIndicator {. cdecl, importc: "uiTableHeaderSortIndicator", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableHeaderVisible(t: ptr Table): cint {.cdecl, importc: "uiTableHeaderVisible", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableModelRowChanged(m: ptr TableModel; index: cint) {.cdecl, importc: "uiTableModelRowChanged", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableModelRowDeleted(m: ptr TableModel; oldIndex: cint) {.cdecl, importc: "uiTableModelRowDeleted", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableModelRowInserted(m: ptr TableModel; newIndex: cint) {.cdecl, importc: "uiTableModelRowInserted", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableOnRowClicked(t: ptr Table; f: proc (t: ptr Table; row: cint; data: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiTableOnRowClicked", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableOnRowDoubleClicked(t: ptr Table; f: proc (t: ptr Table; row: cint; data: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiTableOnRowDoubleClicked", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableOnSelectionChanged(t: ptr Table; f: proc (t: ptr Table; data: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiTableOnSelectionChanged", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableSetSelection(t: ptr Table; sel: ptr TableSelection) {.cdecl, importc: "uiTableSetSelection", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableSetSelectionMode(t: ptr Table; mode: TableSelectionMode) {.cdecl, importc: "uiTableSetSelectionMode", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableValueColor(v: ptr TableValue; r: ptr cdouble; g: ptr cdouble; b: ptr cdouble; a: ptr cdouble) {.cdecl, importc: "uiTableValueColor", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableValueGetType(v: ptr TableValue): TableValueType {.cdecl, importc: "uiTableValueGetType", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableValueImage(v: ptr TableValue): ptr Image {.cdecl, importc: "uiTableValueImage", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableValueInt(v: ptr TableValue): cint {.cdecl, importc: "uiTableValueInt", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tableValueString(v: ptr TableValue): cstring {.cdecl, importc: "uiTableValueString", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tabMargined(t: ptr Tab; index: cint): cint {.cdecl, importc: "uiTabMargined", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tabNumPages(t: ptr Tab): cint {.cdecl, importc: "uiTabNumPages", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc tabSetMargined(t: ptr Tab; index: cint; margined: cint) {.cdecl, importc: "uiTabSetMargined", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc userBugCannotSetParentOnToplevel(type: cstring) {.cdecl, importc: "uiUserBugCannotSetParentOnToplevel", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowBorderless(w: ptr Window): cint {.cdecl, importc: "uiWindowBorderless", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowContentSize(w: ptr Window; width: ptr cint; height: ptr cint) {. cdecl, importc: "uiWindowContentSize", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowFocused(w: ptr Window): cint {.cdecl, importc: "uiWindowFocused", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowFullscreen(w: ptr Window): cint {.cdecl, importc: "uiWindowFullscreen", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowMargined(w: ptr Window): cint {.cdecl, importc: "uiWindowMargined", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowOnClosing(w: ptr Window; f: proc (sender: ptr Window; senderData: pointer): cint {.cdecl.}; data: pointer) {.cdecl, importc: "uiWindowOnClosing", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowOnContentSizeChanged(w: ptr Window; f: proc (sender: ptr Window; senderData: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiWindowOnContentSizeChanged", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowOnFocusChanged(w: ptr Window; f: proc (sender: ptr Window; senderData: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiWindowOnFocusChanged", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowOnPositionChanged(w: ptr Window; f: proc (sender: ptr Window; senderData: pointer) {.cdecl.}; data: pointer) {.cdecl, importc: "uiWindowOnPositionChanged", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowPosition(w: ptr Window; x: ptr cint; y: ptr cint) {.cdecl, importc: "uiWindowPosition", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowResizeable(w: ptr Window): cint {.cdecl, importc: "uiWindowResizeable", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowSetBorderless(w: ptr Window; borderless: cint) {.cdecl, importc: "uiWindowSetBorderless", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowSetChild(w: ptr Window; child: ptr Control) {.cdecl, importc: "uiWindowSetChild", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowSetContentSize(w: ptr Window; width: cint; height: cint) {.cdecl, importc: "uiWindowSetContentSize", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowSetFullscreen(w: ptr Window; fullscreen: cint) {.cdecl, importc: "uiWindowSetFullscreen", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowSetMargined(w: ptr Window; margined: cint) {.cdecl, importc: "uiWindowSetMargined", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowSetPosition(w: ptr Window; x: cint; y: cint) {.cdecl, importc: "uiWindowSetPosition", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowSetResizeable(w: ptr Window; resizeable: cint) {.cdecl, importc: "uiWindowSetResizeable", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowSetTitle(w: ptr Window; title: cstring) {.cdecl, importc: "uiWindowSetTitle", ...raises: [], tags: [], forbids: [].}
- Source Edit
proc windowTitle(w: ptr Window): cstring {.cdecl, importc: "uiWindowTitle", ...raises: [], tags: [], forbids: [].}
- Source Edit
Templates
template colorButton(this: untyped): untyped
- Source Edit
template dateTimePicker(this: untyped): untyped
- Source Edit
template editableCombobox(this: untyped): untyped
- Source Edit
template fontButton(this: untyped): untyped
- Source Edit
template multilineEntry(this: untyped): untyped
- Source Edit
template progressBar(this: untyped): untyped
- Source Edit
template radioButtons(this: untyped): untyped
- Source Edit