Index
Modules:
uing
,
uing/rawui
.
API symbols
`$`:
uing: proc `$`(s: AttributedString): string
uing: proc `$`(v: TableValue): string
`end`:
uing: proc `end`(p: DrawPath)
`type`:
uing: proc `type`(v: TableValue): TableValueType
add:
uing: proc add(c: Box; items: openArray[Widget]; stretchy = false)
uing: proc add(b: Box; child: Widget; stretchy = false)
uing: proc add(c: Combobox; items: varargs[string, `$`])
uing: proc add(c: EditableCombobox; items: varargs[string, `$`])
uing: proc add(f: Form; label: string; w: Widget; stretchy: bool = false)
uing: proc add(g: Grid; w: Widget; left, top, xspan, yspan: int; hexpand: bool; halign: Align; vexpand: bool; valign: Align)
uing: proc add(i: Image; pixels: pointer; pixelWidth: int; pixelHeight: int; byteStride: int)
uing: proc add(e: MultilineEntry; text: string)
uing: proc add(otf: OpenTypeFeatures; a, b, c, d: char; value: uint32)
uing: proc add(otf: OpenTypeFeatures; abcd: string; value: uint32 | bool)
uing: proc add(r: RadioButtons; items: varargs[string, `$`])
uing: proc add(t: Tab; name: string; w: Widget)
addAboutItem:
uing: proc addAboutItem(m: Menu; onclicked: proc (sender: MenuItem; window: Window) = nil): MenuItem
addButtonColumn:
uing: proc addButtonColumn(table: Table; title: string; index, clickableMode: int)
addCheckboxColumn:
uing: proc addCheckboxColumn(table: Table; title: string; index, editableMode: int)
addCheckboxTextColumn:
uing: proc addCheckboxTextColumn(t: Table; name: string; checkboxModelColumn, checkboxEditableModelColumn, textModelColumn, textEditableModelColumn: int; textParams: ptr TableTextColumnOptionalParams = nil)
addCheckItem:
uing: proc addCheckItem(m: Menu; name: string; onclicked: proc (sender: MenuItem; window: Window) = nil): MenuItem
addImageColumn:
uing: proc addImageColumn(table: Table; title: string; index: int)
addImageTextColumn:
uing: proc addImageTextColumn(t: Table; name: string; imageIndex, textIndex, editableMode: int; textParams: ptr TableTextColumnOptionalParams)
addItem:
uing: proc addItem(m: Menu; name: string; onclicked: proc (sender: MenuItem; window: Window) = nil): MenuItem
addPreferencesItem:
uing: proc addPreferencesItem(m: Menu; onclicked: proc (sender: MenuItem; window: Window) = nil): MenuItem
addProgressBarColumn:
uing: proc addProgressBarColumn(table: Table; title: string; index: int)
addQuitItem:
uing: proc addQuitItem(m: Menu; shouldQuit: proc (): bool): MenuItem
addRectangle:
uing: proc addRectangle(p: DrawPath; x, y, width, height: float)
addSeparator:
uing: proc addSeparator(m: Menu)
addTextColumn:
uing: proc addTextColumn(t: Table; name: string; textModelColumn, textEditableModelColumn: int; textParams: ptr TableTextColumnOptionalParams = nil)
addUnattributed:
uing: proc addUnattributed(s: AttributedString; str: string)
addWithAttributes:
uing: proc addWithAttributes(s: AttributedString; str: string; attrs: openArray[Attribute])
uing: proc addWithAttributes(s: AttributedString; str: string; attrs: varargs[Attribute])
Align:
rawui: enum Align
allocControl:
rawui: proc allocControl(n: csize_t; oSsig: uint32; typesig: uint32; typenamestr: cstring): ptr Control
arcTo:
uing: proc arcTo(p: DrawPath; xCenter, yCenter, radius, startAngle, sweep: float; negative: int)
Area:
uing: type Area
rawui: object Area
area:
rawui: template area(this: untyped): untyped
areaBeginUserWindowMove:
rawui: proc areaBeginUserWindowMove(a: ptr Area)
areaBeginUserWindowResize:
rawui: proc areaBeginUserWindowResize(a: ptr Area; edge: WindowResizeEdge)
AreaDrawParams:
rawui: object AreaDrawParams
AreaHandler:
rawui: object AreaHandler
AreaKeyEvent:
rawui: object AreaKeyEvent
AreaMouseEvent:
rawui: object AreaMouseEvent
areaQueueRedrawAll:
rawui: proc areaQueueRedrawAll(a: ptr Area)
areaScrollTo:
rawui: proc areaScrollTo(a: ptr Area; x: cdouble; y: cdouble; width: cdouble; height: cdouble)
areaSetSize:
rawui: proc areaSetSize(a: ptr Area; width: cint; height: cint)
At:
rawui: enum At
Attribute:
uing: type Attribute
rawui: object Attribute
attributeColor:
rawui: proc attributeColor(a: ptr Attribute; r: ptr cdouble; g: ptr cdouble; b: ptr cdouble; alpha: ptr cdouble)
AttributedString:
uing: type AttributedString
rawui: object AttributedString
attributedStringAppendUnattributed:
rawui: proc attributedStringAppendUnattributed(s: ptr AttributedString; str: cstring)
attributedStringByteIndexToGrapheme:
rawui: proc attributedStringByteIndexToGrapheme(s: ptr AttributedString; pos: csize_t): csize_t
attributedStringDelete:
rawui: proc attributedStringDelete(s: ptr AttributedString; start: csize_t; end: csize_t)
attributedStringForEachAttribute:
rawui: proc attributedStringForEachAttribute(s: ptr AttributedString; f: AttributedStringForEachAttributeFunc; data: pointer)
AttributedStringForEachAttributeFunc:
rawui: type AttributedStringForEachAttributeFunc
attributedStringGraphemeToByteIndex:
rawui: proc attributedStringGraphemeToByteIndex(s: ptr AttributedString; pos: csize_t): csize_t
attributedStringInsertAtUnattributed:
rawui: proc attributedStringInsertAtUnattributed(s: ptr AttributedString; str: cstring; at: csize_t)
attributedStringLen:
rawui: proc attributedStringLen(s: ptr AttributedString): csize_t
attributedStringNumGraphemes:
rawui: proc attributedStringNumGraphemes(s: ptr AttributedString): csize_t
attributedStringSetAttribute:
rawui: proc attributedStringSetAttribute(s: ptr AttributedString; a: ptr Attribute; start: csize_t; end: csize_t)
attributedStringString:
rawui: proc attributedStringString(s: ptr AttributedString): cstring
attributeFamily:
rawui: proc attributeFamily(a: ptr Attribute): cstring
attributeFeatures:
rawui: proc attributeFeatures(a: ptr Attribute): ptr OpenTypeFeatures
attributeGetType:
rawui: proc attributeGetType(a: ptr Attribute): AttributeType
attributeItalic:
rawui: proc attributeItalic(a: ptr Attribute): TextItalic
attributeSize:
rawui: proc attributeSize(a: ptr Attribute): cdouble
attributeStretch:
rawui: proc attributeStretch(a: ptr Attribute): TextStretch
AttributeType:
rawui: enum AttributeType
attributeUnderline:
rawui: proc attributeUnderline(a: ptr Attribute): Underline
attributeUnderlineColor:
rawui: proc attributeUnderlineColor(a: ptr Attribute; u: ptr UnderlineColor; r: ptr cdouble; g: ptr cdouble; b: ptr cdouble; alpha: ptr cdouble)
attributeWeight:
rawui: proc attributeWeight(a: ptr Attribute): TextWeight
beginUserWindowMove:
uing: proc beginUserWindowMove(a: Area)
beginUserWindowResize:
uing: proc beginUserWindowResize(a: Area; edge: WindowResizeEdge)
bezierTo:
uing: proc bezierTo(p: DrawPath; c1x, c1y, c2x, c2y, endX, endY: float)
borderless:
uing: proc borderless(w: Window): bool
borderless=:
uing: proc borderless=(w: Window; borderless: bool)
Box:
uing: type Box
rawui: object Box
box:
rawui: template box(this: untyped): untyped
boxAppend:
rawui: proc boxAppend(b: ptr Box; child: ptr Control; stretchy: cint)
boxDelete:
rawui: proc boxDelete(b: ptr Box; index: cint)
boxNumChildren:
rawui: proc boxNumChildren(b: ptr Box): cint
boxPadded:
rawui: proc boxPadded(b: ptr Box): cint
boxSetPadded:
rawui: proc boxSetPadded(b: ptr Box; padded: cint)
Button:
uing: type Button
rawui: object Button
button:
rawui: template button(this: untyped): untyped
buttonOnClicked:
rawui: proc buttonOnClicked(b: ptr Button; f: proc (sender: ptr Button; senderData: pointer) {.cdecl.}; data: pointer)
buttonSetText:
rawui: proc buttonSetText(b: ptr Button; text: cstring)
buttonText:
rawui: proc buttonText(b: ptr Button): cstring
byteIndexToGrapheme:
uing: proc byteIndexToGrapheme(s: AttributedString; pos: int): int
Checkbox:
uing: type Checkbox
rawui: object Checkbox
checkbox:
rawui: template checkbox(this: untyped): untyped
checkboxChecked:
rawui: proc checkboxChecked(c: ptr Checkbox): cint
checkboxOnToggled:
rawui: proc checkboxOnToggled(c: ptr Checkbox; f: proc (sender: ptr Checkbox; senderData: pointer) {.cdecl.}; data: pointer)
checkboxSetChecked:
rawui: proc checkboxSetChecked(c: ptr Checkbox; checked: cint)
checkboxSetText:
rawui: proc checkboxSetText(c: ptr Checkbox; text: cstring)
checkboxText:
rawui: proc checkboxText(c: ptr Checkbox): cstring
checked:
uing: proc checked(c: Checkbox): bool
uing: proc checked(m: MenuItem): bool
checked=:
uing: proc checked=(c: Checkbox; checked: bool)
uing: proc checked=(m: MenuItem; checked: bool)
child:
uing: proc child(g: Group): Widget
uing: proc child(w: Window): Widget
child=:
uing: proc child=(g: Group; c: Widget)
uing: proc child=(w: Window; child: Widget)
clear:
uing: proc clear(c: Combobox)
uing: proc clear(e: EditableCombobox)
uing: proc clear(e: Entry)
uing: proc clear(e: MultilineEntry)
clip:
uing: proc clip(c: ptr DrawContext; path: DrawPath)
clone:
uing: proc clone(otf: OpenTypeFeatures): OpenTypeFeatures
closeFigure:
uing: proc closeFigure(p: DrawPath)
color:
uing: proc color(a: Attribute): tuple[r, g, b, alpha: float]
uing: proc color(c: ColorButton): tuple[r, g, b, a: float]
uing: proc color(v: TableValue): tuple[r, g, b, a: float]
Color:
rawui: object Color
color=:
uing: proc color=(c: ColorButton; color: Color)
ColorButton:
uing: type ColorButton
rawui: object ColorButton
colorButton:
rawui: template colorButton(this: untyped): untyped
colorButtonColor:
rawui: proc colorButtonColor(b: ptr ColorButton; r: ptr cdouble; g: ptr cdouble; bl: ptr cdouble; a: ptr cdouble)
colorButtonOnChanged:
rawui: proc colorButtonOnChanged(b: ptr ColorButton; f: proc (sender: ptr ColorButton; senderData: pointer) {.cdecl.}; data: pointer)
colorButtonSetColor:
rawui: proc colorButtonSetColor(b: ptr ColorButton; r: cdouble; g: cdouble; bl: cdouble; a: cdouble)
columnWidth:
uing: proc columnWidth(table: Table; column: int): int
Combobox:
uing: type Combobox
rawui: object Combobox
combobox:
rawui: template combobox(this: untyped): untyped
comboboxAppend:
rawui: proc comboboxAppend(c: ptr Combobox; text: cstring)
comboboxClear:
rawui: proc comboboxClear(c: ptr Combobox)
comboboxDelete:
rawui: proc comboboxDelete(c: ptr Combobox; index: cint)
comboboxInsertAt:
rawui: proc comboboxInsertAt(c: ptr Combobox; index: cint; text: cstring)
comboboxNumItems:
rawui: proc comboboxNumItems(c: ptr Combobox): cint
comboboxOnSelected:
rawui: proc comboboxOnSelected(c: ptr Combobox; f: proc (sender: ptr Combobox; senderData: pointer) {.cdecl.}; data: pointer)
comboboxSelected:
rawui: proc comboboxSelected(c: ptr Combobox): cint
comboboxSetSelected:
rawui: proc comboboxSetSelected(c: ptr Combobox; index: cint)
contentSize:
uing: proc contentSize(window: Window): tuple[width, height: int]
contentSize=:
uing: proc contentSize=(window: Window; size: tuple[width, height: int])
Control:
rawui: object Control
control:
rawui: template control(this: untyped): untyped
controlDestroy:
rawui: proc controlDestroy(c: ptr Control)
controlDisable:
rawui: proc controlDisable(c: ptr Control)
controlEnable:
rawui: proc controlEnable(c: ptr Control)
controlEnabled:
rawui: proc controlEnabled(c: ptr Control): cint
controlEnabledToUser:
rawui: proc controlEnabledToUser(c: ptr Control): cint
controlHandle:
rawui: proc controlHandle(c: ptr Control): int
controlHide:
rawui: proc controlHide(c: ptr Control)
controlParent:
rawui: proc controlParent(c: ptr Control): ptr Control
controlSetParent:
rawui: proc controlSetParent(c: ptr Control; parent: ptr Control)
controlShow:
rawui: proc controlShow(c: ptr Control)
controlToplevel:
rawui: proc controlToplevel(c: ptr Control): cint
controlVerifySetParent:
rawui: proc controlVerifySetParent(c: ptr Control; parent: ptr Control)
controlVisible:
rawui: proc controlVisible(c: ptr Control): cint
DateTimePicker:
uing: type DateTimePicker
rawui: object DateTimePicker
dateTimePicker:
rawui: template dateTimePicker(this: untyped): untyped
dateTimePickerOnChanged:
rawui: proc dateTimePickerOnChanged(d: ptr DateTimePicker; f: proc ( sender: ptr DateTimePicker; senderData: pointer) {.cdecl.}; data: pointer)
dateTimePickerSetTime:
rawui: proc dateTimePickerSetTime(d: ptr DateTimePicker; time: ptr Tm)
dateTimePickerTime:
rawui: proc dateTimePickerTime(d: ptr DateTimePicker; time: ptr Tm)
delete:
uing: proc delete(s: AttributedString; start, end: int)
uing: proc delete(b: Box; index: int)
uing: proc delete(c: Combobox; index: int)
uing: proc delete(f: Form; index: int)
uing: proc delete(t: Tab; index: int)
destroy:
uing: proc destroy[SomeWidget: Widget](w: SomeWidget)
disable:
uing: proc disable(m: MenuItem)
uing: proc disable[SomeWidget: Widget and not MenuItem](w: SomeWidget)
DrawBrush:
rawui: object DrawBrush
DrawBrushGradientStop:
rawui: object DrawBrushGradientStop
DrawBrushType:
rawui: enum DrawBrushType
drawClip:
rawui: proc drawClip(c: ptr DrawContext; path: ptr DrawPath)
DrawContext:
rawui: object DrawContext
DrawDefaultMiterLimit:
rawui: const DrawDefaultMiterLimit
drawFill:
rawui: proc drawFill(c: ptr DrawContext; path: ptr DrawPath; b: ptr DrawBrush)
DrawFillMode:
rawui: enum DrawFillMode
drawFreePath:
rawui: proc drawFreePath(p: ptr DrawPath)
drawFreeTextLayout:
rawui: proc drawFreeTextLayout(tl: ptr DrawTextLayout)
DrawLineCap:
rawui: enum DrawLineCap
DrawLineJoin:
rawui: enum DrawLineJoin
DrawMatrix:
rawui: object DrawMatrix
drawMatrixInvert:
rawui: proc drawMatrixInvert(m: ptr DrawMatrix): cint
drawMatrixInvertible:
rawui: proc drawMatrixInvertible(m: ptr DrawMatrix): cint
drawMatrixMultiply:
rawui: proc drawMatrixMultiply(dest: ptr DrawMatrix; src: ptr DrawMatrix)
drawMatrixRotate:
rawui: proc drawMatrixRotate(m: ptr DrawMatrix; x: cdouble; y: cdouble; amount: cdouble)
drawMatrixScale:
rawui: proc drawMatrixScale(m: ptr DrawMatrix; xCenter: cdouble; yCenter: cdouble; x: cdouble; y: cdouble)
drawMatrixSetIdentity:
rawui: proc drawMatrixSetIdentity(m: ptr DrawMatrix)
drawMatrixSkew:
rawui: proc drawMatrixSkew(m: ptr DrawMatrix; x: cdouble; y: cdouble; xamount: cdouble; yamount: cdouble)
drawMatrixTransformPoint:
rawui: proc drawMatrixTransformPoint(m: ptr DrawMatrix; x: ptr cdouble; y: ptr cdouble)
drawMatrixTransformSize:
rawui: proc drawMatrixTransformSize(m: ptr DrawMatrix; x: ptr cdouble; y: ptr cdouble)
drawMatrixTranslate:
rawui: proc drawMatrixTranslate(m: ptr DrawMatrix; x: cdouble; y: cdouble)
drawNewPath:
rawui: proc drawNewPath(fillMode: DrawFillMode): ptr DrawPath
drawNewTextLayout:
rawui: proc drawNewTextLayout(params: ptr DrawTextLayoutParams): ptr DrawTextLayout
DrawPath:
uing: type DrawPath
rawui: object DrawPath
drawPathAddRectangle:
rawui: proc drawPathAddRectangle(p: ptr DrawPath; x: cdouble; y: cdouble; width: cdouble; height: cdouble)
drawPathArcTo:
rawui: proc drawPathArcTo(p: ptr DrawPath; xCenter: cdouble; yCenter: cdouble; radius: cdouble; startAngle: cdouble; sweep: cdouble; negative: cint)
drawPathBezierTo:
rawui: proc drawPathBezierTo(p: ptr DrawPath; c1x: cdouble; c1y: cdouble; c2x: cdouble; c2y: cdouble; endX: cdouble; endY: cdouble)
drawPathCloseFigure:
rawui: proc drawPathCloseFigure(p: ptr DrawPath)
drawPathEnd:
rawui: proc drawPathEnd(p: ptr DrawPath)
drawPathEnded:
rawui: proc drawPathEnded(p: ptr DrawPath): cint
drawPathLineTo:
rawui: proc drawPathLineTo(p: ptr DrawPath; x: cdouble; y: cdouble)
drawPathNewFigure:
rawui: proc drawPathNewFigure(p: ptr DrawPath; x: cdouble; y: cdouble)
drawPathNewFigureWithArc:
rawui: proc drawPathNewFigureWithArc(p: ptr DrawPath; xCenter: cdouble; yCenter: cdouble; radius: cdouble; startAngle: cdouble; sweep: cdouble; negative: cint)
drawRestore:
rawui: proc drawRestore(c: ptr DrawContext)
drawSave:
rawui: proc drawSave(c: ptr DrawContext)
drawStroke:
rawui: proc drawStroke(c: ptr DrawContext; path: ptr DrawPath; b: ptr DrawBrush; p: ptr DrawStrokeParams)
DrawStrokeParams:
rawui: object DrawStrokeParams
drawText:
uing: proc drawText(c: ptr DrawContext; tl: DrawTextLayout; point: tuple[x, y: float])
rawui: proc drawText(c: ptr DrawContext; tl: ptr DrawTextLayout; x: cdouble; y: cdouble)
DrawTextAlign:
rawui: enum DrawTextAlign
DrawTextLayout:
uing: type DrawTextLayout
rawui: object DrawTextLayout
drawTextLayoutExtents:
rawui: proc drawTextLayoutExtents(tl: ptr DrawTextLayout; width: ptr cdouble; height: ptr cdouble)
DrawTextLayoutParams:
rawui: object DrawTextLayoutParams
drawTransform:
rawui: proc drawTransform(c: ptr DrawContext; m: ptr DrawMatrix)
EditableCombobox:
uing: type EditableCombobox
rawui: object EditableCombobox
editableCombobox:
rawui: template editableCombobox(this: untyped): untyped
editableComboboxAppend:
rawui: proc editableComboboxAppend(c: ptr EditableCombobox; text: cstring)
editableComboboxOnChanged:
rawui: proc editableComboboxOnChanged(c: ptr EditableCombobox; f: proc ( sender: ptr EditableCombobox; senderData: pointer) {.cdecl.}; data: pointer)
editableComboboxSetText:
rawui: proc editableComboboxSetText(c: ptr EditableCombobox; text: cstring)
editableComboboxText:
rawui: proc editableComboboxText(c: ptr EditableCombobox): cstring
enable:
uing: proc enable(m: MenuItem)
uing: proc enable[SomeWidget: Widget and not MenuItem](w: SomeWidget)
enabled:
uing: proc enabled[SomeWidget: Widget](w: SomeWidget): bool
enabledToUser:
uing: proc enabledToUser[SomeWidget: Widget](w: SomeWidget): bool
ended:
uing: proc ended(p: DrawPath): bool
Entry:
uing: type Entry
rawui: object Entry
entry:
rawui: template entry(this: untyped): untyped
entryOnChanged:
rawui: proc entryOnChanged(e: ptr Entry; f: proc (sender: ptr Entry; senderData: pointer) {.cdecl.}; data: pointer)
entryReadOnly:
rawui: proc entryReadOnly(e: ptr Entry): cint
entrySetReadOnly:
rawui: proc entrySetReadOnly(e: ptr Entry; readonly: cint)
entrySetText:
rawui: proc entrySetText(e: ptr Entry; text: cstring)
entryText:
rawui: proc entryText(e: ptr Entry): cstring
error:
uing: proc error(parent: Window; title, desc: string)
extents:
uing: proc extents(tl: DrawTextLayout): tuple[width, height: float]
ExtKey:
rawui: enum ExtKey
family:
uing: proc family(a: Attribute): string
features:
uing: proc features(a: Attribute): OpenTypeFeatures
fill:
uing: proc fill(c: ptr DrawContext; path: DrawPath; b: ptr DrawBrush)
focused:
uing: proc focused(w: Window): bool
font:
uing: proc font(f: FontButton): FontDescriptor
FontButton:
uing: type FontButton
rawui: object FontButton
fontButton:
rawui: template fontButton(this: untyped): untyped
fontButtonFont:
rawui: proc fontButtonFont(b: ptr FontButton; desc: ptr FontDescriptor)
fontButtonOnChanged:
rawui: proc fontButtonOnChanged(b: ptr FontButton; f: proc (sender: ptr FontButton; senderData: pointer) {.cdecl.}; data: pointer)
FontDescriptor:
rawui: object FontDescriptor
forEach:
uing: proc forEach(otf: OpenTypeFeatures; f: proc (otf: OpenTypeFeatures; abcd: string; value: int): ForEach)
ForEach:
rawui: enum ForEach
forEachAttribute:
uing: proc forEachAttribute(str: AttributedString; fun: proc (s: AttributedString; a: Attribute; start, end: int): ForEach)
Form:
uing: type Form
rawui: object Form
form:
rawui: template form(this: untyped): untyped
formAppend:
rawui: proc formAppend(f: ptr Form; label: cstring; c: ptr Control; stretchy: cint)
formDelete:
rawui: proc formDelete(f: ptr Form; index: cint)
formNumChildren:
rawui: proc formNumChildren(f: ptr Form): cint
formPadded:
rawui: proc formPadded(f: ptr Form): cint
formSetPadded:
rawui: proc formSetPadded(f: ptr Form; padded: cint)
free:
uing: proc free(a: Attribute)
uing: proc free(a: AttributedString)
uing: proc free(str: cstring)
uing: proc free(p: DrawPath)
uing: proc free(tl: DrawTextLayout)
uing: proc free(i: Image)
uing: proc free(otf: OpenTypeFeatures)
uing: proc free(f: ptr FontDescriptor)
uing: proc free(t: ptr TableSelection)
uing: proc free[SomeWidget: Widget](w: SomeWidget)
uing: proc free(t: TableModel)
uing: proc free(t: TableValue)
freeAttribute:
rawui: proc freeAttribute(a: ptr Attribute)
freeAttributedString:
rawui: proc freeAttributedString(s: ptr AttributedString)
freeControl:
rawui: proc freeControl(c: ptr Control)
freeFont:
uing: proc freeFont(desc: ptr FontDescriptor)
freeFontButtonFont:
rawui: proc freeFontButtonFont(desc: ptr FontDescriptor)
freeFontDescriptor:
rawui: proc freeFontDescriptor(desc: ptr FontDescriptor)
freeImage:
rawui: proc freeImage(i: ptr Image)
freeInitError:
rawui: proc freeInitError(err: cstring)
freeOpenTypeFeatures:
rawui: proc freeOpenTypeFeatures(otf: ptr OpenTypeFeatures)
freeTableModel:
rawui: proc freeTableModel(m: ptr TableModel)
freeTableSelection:
rawui: proc freeTableSelection(s: ptr TableSelection)
freeTableValue:
rawui: proc freeTableValue(v: ptr TableValue)
freeText:
rawui: proc freeText(text: cstring)
fullscreen:
uing: proc fullscreen(w: Window): bool
fullscreen=:
uing: proc fullscreen=(w: Window; fullscreen: bool)
get:
uing: proc get(otf: OpenTypeFeatures; a, b, c, d: char; value: var int): bool
uing: proc get(otf: OpenTypeFeatures; abcd: string; value: var int): bool
getInt:
uing: proc getInt(v: TableValue): int
getType:
uing: proc getType(a: Attribute): AttributeType
graphemeToByteIndex:
uing: proc graphemeToByteIndex(s: AttributedString; pos: int): int
Grid:
uing: type Grid
rawui: object Grid
grid:
rawui: template grid(this: untyped): untyped
gridAppend:
rawui: proc gridAppend(g: ptr Grid; c: ptr Control; left: cint; top: cint; xspan: cint; yspan: cint; hexpand: cint; halign: Align; vexpand: cint; valign: Align)
gridInsertAt:
rawui: proc gridInsertAt(g: ptr Grid; c: ptr Control; existing: ptr Control; at: At; xspan: cint; yspan: cint; hexpand: cint; halign: Align; vexpand: cint; valign: Align)
gridPadded:
rawui: proc gridPadded(g: ptr Grid): cint
gridSetPadded:
rawui: proc gridSetPadded(g: ptr Grid; padded: cint)
Group:
uing: type Group
rawui: object Group
group:
rawui: template group(this: untyped): untyped
groupMargined:
rawui: proc groupMargined(g: ptr Group): cint
groupSetChild:
rawui: proc groupSetChild(g: ptr Group; c: ptr Control)
groupSetMargined:
rawui: proc groupSetMargined(g: ptr Group; margined: cint)
groupSetTitle:
rawui: proc groupSetTitle(g: ptr Group; title: cstring)
groupTitle:
rawui: proc groupTitle(g: ptr Group): cstring
handle:
uing: proc handle[SomeWidget: Widget](w: SomeWidget): int
handler:
uing: proc handler(a: Area): ptr AreaHandler
hasToolTip:
uing: proc hasToolTip(s: Slider): bool
hasToolTip=:
uing: proc hasToolTip=(s: Slider; hasToolTip: bool)
headerVisible:
uing: proc headerVisible(t: Table): bool
headerVisible=:
uing: proc headerVisible=(t: Table; visible: bool)
hide:
uing: proc hide[SomeWidget: Widget](w: SomeWidget)
Image:
uing: type Image
image:
uing: proc image(v: TableValue): Image
Image:
rawui: object Image
imageAppend:
rawui: proc imageAppend(i: ptr Image; pixels: pointer; pixelWidth: cint; pixelHeight: cint; byteStride: cint)
impl:
uing: proc impl(b: Area): RawArea
uing: proc impl(b: Attribute): RawAttribute
uing: proc impl(b: AttributedString): RawAttributedString
uing: proc impl(b: Box): RawBox
uing: proc impl(b: Button): RawButton
uing: proc impl(b: Checkbox): RawCheckbox
uing: proc impl(b: ColorButton): RawColorButton
uing: proc impl(b: Combobox): RawCombobox
uing: proc impl(b: DateTimePicker): RawDateTimePicker
uing: proc impl(b: DrawPath): RawDrawPath
uing: proc impl(b: DrawTextLayout): RawDrawTextLayout
uing: proc impl(b: EditableCombobox): RawEditableCombobox
uing: proc impl(b: Entry): RawEntry
uing: proc impl(b: FontButton): RawFontButton
uing: proc impl(b: Form): RawForm
uing: proc impl(b: Grid): RawGrid
uing: proc impl(b: Group): RawGroup
uing: proc impl(b: Image): RawImage
uing: proc impl(b: Label): RawLabel
uing: proc impl(b: Menu): RawMenu
uing: proc impl(b: MenuItem): RawMenuItem
uing: proc impl(b: MultilineEntry): RawMultilineEntry
uing: proc impl(b: OpenTypeFeatures): RawOpenTypeFeatures
uing: proc impl(b: ProgressBar): RawProgressBar
uing: proc impl(b: RadioButtons): RawRadioButtons
uing: proc impl(b: Separator): RawSeparator
uing: proc impl(b: Slider): RawSlider
uing: proc impl(b: Spinbox): RawSpinbox
uing: proc impl(b: Tab): RawTab
uing: proc impl(b: Table): RawTable
uing: proc impl(b: TableModel): RawTableModel
uing: proc impl(b: TableValue): RawTableValue
uing: proc impl(w: Widget): ptr [Control]
uing: proc impl(b: Window): RawWindow
impl=:
uing: proc impl=(b: Area; r: RawArea)
uing: proc impl=(b: Attribute; r: RawAttribute)
uing: proc impl=(b: AttributedString; r: RawAttributedString)
uing: proc impl=(b: Box; r: RawBox)
uing: proc impl=(b: Button; r: RawButton)
uing: proc impl=(b: Checkbox; r: RawCheckbox)
uing: proc impl=(b: ColorButton; r: RawColorButton)
uing: proc impl=(b: Combobox; r: RawCombobox)
uing: proc impl=(b: DateTimePicker; r: RawDateTimePicker)
uing: proc impl=(b: DrawPath; r: RawDrawPath)
uing: proc impl=(b: DrawTextLayout; r: RawDrawTextLayout)
uing: proc impl=(b: EditableCombobox; r: RawEditableCombobox)
uing: proc impl=(b: Entry; r: RawEntry)
uing: proc impl=(b: FontButton; r: RawFontButton)
uing: proc impl=(b: Form; r: RawForm)
uing: proc impl=(b: Grid; r: RawGrid)
uing: proc impl=(b: Group; r: RawGroup)
uing: proc impl=(b: Image; r: RawImage)
uing: proc impl=(b: Label; r: RawLabel)
uing: proc impl=(b: Menu; r: RawMenu)
uing: proc impl=(b: MenuItem; r: RawMenuItem)
uing: proc impl=(b: MultilineEntry; r: RawMultilineEntry)
uing: proc impl=(b: OpenTypeFeatures; r: RawOpenTypeFeatures)
uing: proc impl=(b: ProgressBar; r: RawProgressBar)
uing: proc impl=(b: RadioButtons; r: RawRadioButtons)
uing: proc impl=(b: Separator; r: RawSeparator)
uing: proc impl=(b: Slider; r: RawSlider)
uing: proc impl=(b: Spinbox; r: RawSpinbox)
uing: proc impl=(b: Tab; r: RawTab)
uing: proc impl=(b: Table; r: RawTable)
uing: proc impl=(b: TableModel; r: RawTableModel)
uing: proc impl=(b: TableValue; r: RawTableValue)
uing: proc impl=(b: Window; r: RawWindow)
init:
uing: proc init()
rawui: proc init(options: ptr InitOptions): cstring
InitOptions:
rawui: object InitOptions
insertAt:
uing: proc insertAt(c: Combobox; index: int; text: string)
uing: proc insertAt(g: Grid; w, existing: Widget; at: At; left, top, xspan, yspan: int; hexpand: bool; halign: Align; vexpand: bool; valign: Align)
uing: proc insertAt(t: Tab; name: string; index: int; w: Widget)
insertAtUnattributed:
uing: proc insertAtUnattributed(s: AttributedString; str: string; at: int)
invert:
uing: proc invert(m: ptr DrawMatrix): int
invertible:
uing: proc invertible(m: ptr DrawMatrix): bool
italic:
uing: proc italic(a: Attribute): TextItalic
Label:
uing: type Label
rawui: object Label
label:
rawui: template label(this: untyped): untyped
labelSetText:
rawui: proc labelSetText(l: ptr Label; text: cstring)
labelText:
rawui: proc labelText(l: ptr Label): cstring
len:
uing: proc len(s: AttributedString): int
lineTo:
uing: proc lineTo(p: DrawPath; x, y: float)
loadControlFont:
uing: proc loadControlFont(f: ptr FontDescriptor)
rawui: proc loadControlFont(f: ptr FontDescriptor)
main:
rawui: proc main()
mainLoop:
uing: proc mainLoop()
mainStep:
uing: proc mainStep(wait: int): bool
rawui: proc mainStep(wait: cint): cint
mainSteps:
uing: proc mainSteps()
rawui: proc mainSteps()
margined:
uing: proc margined(g: Group): bool
uing: proc margined(t: Tab; index: int): bool
uing: proc margined(w: Window): bool
margined=:
uing: proc margined=(g: Group; margined: bool)
uing: proc margined=(w: Window; margined: bool)
Menu:
uing: type Menu
rawui: object Menu
menu:
rawui: template menu(this: untyped): untyped
menuAppendAboutItem:
rawui: proc menuAppendAboutItem(m: ptr Menu): ptr MenuItem
menuAppendCheckItem:
rawui: proc menuAppendCheckItem(m: ptr Menu; name: cstring): ptr MenuItem
menuAppendItem:
rawui: proc menuAppendItem(m: ptr Menu; name: cstring): ptr MenuItem
menuAppendPreferencesItem:
rawui: proc menuAppendPreferencesItem(m: ptr Menu): ptr MenuItem
menuAppendQuitItem:
rawui: proc menuAppendQuitItem(m: ptr Menu): ptr MenuItem
menuAppendSeparator:
rawui: proc menuAppendSeparator(m: ptr Menu)
MenuItem:
uing: type MenuItem
rawui: object MenuItem
menuItem:
rawui: template menuItem(this: untyped): untyped
menuItemChecked:
rawui: proc menuItemChecked(m: ptr MenuItem): cint
menuItemDisable:
rawui: proc menuItemDisable(m: ptr MenuItem)
menuItemEnable:
rawui: proc menuItemEnable(m: ptr MenuItem)
menuItemOnClicked:
rawui: proc menuItemOnClicked(m: ptr MenuItem; f: proc (sender: ptr MenuItem; window: ptr Window; senderData: pointer) {.cdecl.}; data: pointer)
menuItemSetChecked:
rawui: proc menuItemSetChecked(m: ptr MenuItem; checked: cint)
Modifiers:
rawui: enum Modifiers
msgBox:
uing: proc msgBox(parent: Window; title, desc: string)
rawui: proc msgBox(parent: ptr Window; title: cstring; description: cstring)
msgBoxError:
uing: proc msgBoxError(parent: Window; title, desc: string)
rawui: proc msgBoxError(parent: ptr Window; title: cstring; description: cstring)
MultilineEntry:
uing: type MultilineEntry
rawui: object MultilineEntry
multilineEntry:
rawui: template multilineEntry(this: untyped): untyped
multilineEntryAppend:
rawui: proc multilineEntryAppend(e: ptr MultilineEntry; text: cstring)
multilineEntryOnChanged:
rawui: proc multilineEntryOnChanged(e: ptr MultilineEntry; f: proc ( sender: ptr MultilineEntry; senderData: pointer) {.cdecl.}; data: pointer)
multilineEntryReadOnly:
rawui: proc multilineEntryReadOnly(e: ptr MultilineEntry): cint
multilineEntrySetReadOnly:
rawui: proc multilineEntrySetReadOnly(e: ptr MultilineEntry; readonly: cint)
multilineEntrySetText:
rawui: proc multilineEntrySetText(e: ptr MultilineEntry; text: cstring)
multilineEntryText:
rawui: proc multilineEntryText(e: ptr MultilineEntry): cstring
multiply:
uing: proc multiply(dest, src: ptr DrawMatrix)
newArea:
uing: proc newArea(ah: ptr AreaHandler): Area
rawui: proc newArea(ah: ptr AreaHandler): ptr Area
newAttributedString:
uing: proc newAttributedString(initialString: string): AttributedString
rawui: proc newAttributedString(initialString: cstring): ptr AttributedString
newBackgroundAttribute:
rawui: proc newBackgroundAttribute(r: cdouble; g: cdouble; b: cdouble; a: cdouble): ptr Attribute
newBackgroundColorAttribute:
uing: proc newBackgroundColorAttribute(color: Color; a: float = 1.0): Attribute
uing: proc newBackgroundColorAttribute(r, g, b: float; a: float = 1.0): Attribute
newButton:
uing: proc newButton(text: string; onclick: proc (sender: Button) = nil): Button
rawui: proc newButton(text: cstring): ptr Button
newCheckbox:
uing: proc newCheckbox(text: string; ontoggled: proc (sender: Checkbox) = nil): Checkbox
rawui: proc newCheckbox(text: cstring): ptr Checkbox
newColorAttribute:
uing: proc newColorAttribute(color: Color; a: float = 1.0): Attribute
uing: proc newColorAttribute(r, g, b: float; a: float = 1.0): Attribute
rawui: proc newColorAttribute(r: cdouble; g: cdouble; b: cdouble; a: cdouble): ptr Attribute
newColorButton:
uing: proc newColorButton(color: Color; onchanged: proc (sender: ColorButton) = nil): ColorButton
uing: proc newColorButton(r, g, b: float; alpha: float = 1.0; onchanged: proc (sender: ColorButton) = nil): ColorButton
uing: proc newColorButton(onchanged: proc (sender: ColorButton) = nil): ColorButton
rawui: proc newColorButton(): ptr ColorButton
newCombobox:
uing: proc newCombobox(items: openArray[string] = []; onselected: proc (sender: Combobox) = nil): Combobox
rawui: proc newCombobox(): ptr Combobox
newDatePicker:
uing: proc newDatePicker(date: DateTime; onchanged: proc (sender: DateTimePicker) = nil): DateTimePicker
uing: proc newDatePicker(onchanged: proc (sender: DateTimePicker) = nil): DateTimePicker
rawui: proc newDatePicker(): ptr DateTimePicker
newDateTimePicker:
uing: proc newDateTimePicker(dateTime: DateTime; onchanged: proc (sender: DateTimePicker) = nil): DateTimePicker
uing: proc newDateTimePicker(onchanged: proc (sender: DateTimePicker) = nil): DateTimePicker
rawui: proc newDateTimePicker(): ptr DateTimePicker
newDrawPath:
uing: proc newDrawPath(fillMode: DrawFillMode): DrawPath
newDrawTextLayout:
uing: proc newDrawTextLayout(params: ptr DrawTextLayoutParams): DrawTextLayout
newEditableCombobox:
uing: proc newEditableCombobox(items: openArray[string] = []; onchanged: proc (sender: EditableCombobox) = nil): EditableCombobox
rawui: proc newEditableCombobox(): ptr EditableCombobox
newEntry:
uing: proc newEntry(text: string = ""; onchanged: proc (sender: Entry) = nil): Entry
rawui: proc newEntry(): ptr Entry
newFamilyAttribute:
uing: proc newFamilyAttribute(family: string): Attribute
rawui: proc newFamilyAttribute(family: cstring): ptr Attribute
newFeaturesAttribute:
uing: proc newFeaturesAttribute(otf: OpenTypeFeatures): Attribute
rawui: proc newFeaturesAttribute(otf: ptr OpenTypeFeatures): ptr Attribute
newFigure:
uing: proc newFigure(p: DrawPath; x: float; y: float)
newFigureWithArc:
uing: proc newFigureWithArc(p: DrawPath; xCenter, yCenter, radius, startAngle, sweep: float; negative: int)
newFontButton:
uing: proc newFontButton(onchanged: proc (sender: FontButton) = nil): FontButton
rawui: proc newFontButton(): ptr FontButton
newForm:
uing: proc newForm(padded: bool = false): Form
rawui: proc newForm(): ptr Form
newGrid:
uing: proc newGrid(padded: bool = false): Grid
rawui: proc newGrid(): ptr Grid
newGroup:
uing: proc newGroup(title: string; margined: bool = false): Group
rawui: proc newGroup(title: cstring): ptr Group
newHorizontalBox:
uing: proc newHorizontalBox(padded = false): Box
rawui: proc newHorizontalBox(): ptr Box
newHorizontalSeparator:
uing: proc newHorizontalSeparator(): Separator
rawui: proc newHorizontalSeparator(): ptr Separator
newImage:
uing: proc newImage(width, height: float): Image
rawui: proc newImage(width: cdouble; height: cdouble): ptr Image
newItalicAttribute:
uing: proc newItalicAttribute(italic: TextItalic): Attribute
rawui: proc newItalicAttribute(italic: TextItalic): ptr Attribute
newLabel:
uing: proc newLabel(text: string = ""): Label
rawui: proc newLabel(text: cstring): ptr Label
newMenu:
uing: proc newMenu(name: string): Menu
rawui: proc newMenu(name: cstring): ptr Menu
newMultilineEntry:
uing: proc newMultilineEntry(onchanged: proc (sender: MultilineEntry) = nil): MultilineEntry
rawui: proc newMultilineEntry(): ptr MultilineEntry
newNonWrappingMultilineEntry:
uing: proc newNonWrappingMultilineEntry(onchanged: proc (sender: MultilineEntry) = nil): MultilineEntry
rawui: proc newNonWrappingMultilineEntry(): ptr MultilineEntry
newOpenTypeFeatures:
uing: proc newOpenTypeFeatures(): OpenTypeFeatures
rawui: proc newOpenTypeFeatures(): ptr OpenTypeFeatures
newPasswordEntry:
uing: proc newPasswordEntry(text: string = ""; onchanged: proc (sender: Entry) = nil): Entry
rawui: proc newPasswordEntry(): ptr Entry
newProgressBar:
uing: proc newProgressBar(indeterminate: bool = false): ProgressBar
rawui: proc newProgressBar(): ptr ProgressBar
newRadioButtons:
uing: proc newRadioButtons(items: openArray[string] = []; onselected: proc (sender: RadioButtons) = nil): RadioButtons
rawui: proc newRadioButtons(): ptr RadioButtons
newScrollingArea:
uing: proc newScrollingArea(ah: ptr AreaHandler; width, height: int): Area
rawui: proc newScrollingArea(ah: ptr AreaHandler; width: cint; height: cint): ptr Area
newSearchEntry:
uing: proc newSearchEntry(text: string = ""; onchanged: proc (sender: Entry) = nil): Entry
rawui: proc newSearchEntry(): ptr Entry
newSizeAttribute:
uing: proc newSizeAttribute(size: float): Attribute
rawui: proc newSizeAttribute(size: cdouble): ptr Attribute
newSlider:
uing: proc newSlider(min, max: int; onchanged: proc (sender: Slider) = nil): Slider
uing: proc newSlider(range: Slice[SomeInteger]; onchanged: proc (sender: Slider) = nil): Slider
rawui: proc newSlider(min: cint; max: cint): ptr Slider
newSpinbox:
uing: proc newSpinbox(min, max: int; onchanged: proc (sender: Spinbox) = nil): Spinbox
uing: proc newSpinbox(range: Slice[SomeInteger]; onchanged: proc (sender: Spinbox) = nil): Spinbox
rawui: proc newSpinbox(min: cint; max: cint): ptr Spinbox
newStretchAttribute:
uing: proc newStretchAttribute(stretch: TextStretch): Attribute
rawui: proc newStretchAttribute(stretch: TextStretch): ptr Attribute
newTab:
uing: proc newTab(): Tab
rawui: proc newTab(): ptr Tab
newTable:
uing: proc newTable(params: ptr TableParams): Table
rawui: proc newTable(params: ptr TableParams): ptr Table
newTableModel:
uing: proc newTableModel(mh: ptr TableModelHandler): TableModel
rawui: proc newTableModel(mh: ptr TableModelHandler): ptr TableModel
newTableValue:
uing: proc newTableValue(i: int | bool): TableValue
uing: proc newTableValue(color: Color; a: float = 1.0): TableValue
uing: proc newTableValue(r, g, b: float; a: float = 1.0): TableValue
uing: proc newTableValue(img: Image): TableValue
uing: proc newTableValue(str: string): TableValue
newTableValueColor:
rawui: proc newTableValueColor(r: cdouble; g: cdouble; b: cdouble; a: cdouble): ptr TableValue
newTableValueImage:
rawui: proc newTableValueImage(img: ptr Image): ptr TableValue
newTableValueInt:
rawui: proc newTableValueInt(i: cint): ptr TableValue
newTableValueString:
rawui: proc newTableValueString(str: cstring): ptr TableValue
newTimePicker:
uing: proc newTimePicker(time: DateTime; onchanged: proc (sender: DateTimePicker) = nil): DateTimePicker
uing: proc newTimePicker(onchanged: proc (sender: DateTimePicker) = nil): DateTimePicker
rawui: proc newTimePicker(): ptr DateTimePicker
newUnderlineAttribute:
uing: proc newUnderlineAttribute(u: Underline): Attribute
rawui: proc newUnderlineAttribute(u: Underline): ptr Attribute
newUnderlineColorAttribute:
uing: proc newUnderlineColorAttribute(u: UnderlineColor; color: Color; a: float = 0.0): Attribute
uing: proc newUnderlineColorAttribute(u: UnderlineColor; r = 0.0; g = 0.0; b = 0.0; a: float = 0.0): Attribute
rawui: proc newUnderlineColorAttribute(u: UnderlineColor; r: cdouble; g: cdouble; b: cdouble; a: cdouble): ptr Attribute
newVerticalBox:
uing: proc newVerticalBox(padded = false): Box
rawui: proc newVerticalBox(): ptr Box
newVerticalSeparator:
uing: proc newVerticalSeparator(): Separator
rawui: proc newVerticalSeparator(): ptr Separator
newWeightAttribute:
uing: proc newWeightAttribute(weight: TextWeight): Attribute
rawui: proc newWeightAttribute(weight: TextWeight): ptr Attribute
newWindow:
uing: proc newWindow(title: string; width, height: int; hasMenubar: bool = false; onfocuschanged: proc (sender: Window) = nil): Window
rawui: proc newWindow(title: cstring; width: cint; height: cint; hasMenubar: cint): ptr Window
numGraphemes:
uing: proc numGraphemes(s: AttributedString): int
onShouldQuit:
rawui: proc onShouldQuit(f: proc (data: pointer): cint {.cdecl.}; data: pointer)
openFile:
uing: proc openFile(parent: Window): string
rawui: proc openFile(parent: ptr Window): cstring
openFolder:
uing: proc openFolder(parent: Window): string
rawui: proc openFolder(parent: ptr Window): cstring
OpenTypeFeatures:
uing: type OpenTypeFeatures
rawui: object OpenTypeFeatures
openTypeFeaturesAdd:
rawui: proc openTypeFeaturesAdd(otf: ptr OpenTypeFeatures; a: char; b: char; c: char; d: char; value: uint32)
openTypeFeaturesClone:
rawui: proc openTypeFeaturesClone(otf: ptr OpenTypeFeatures): ptr OpenTypeFeatures
openTypeFeaturesForEach:
rawui: proc openTypeFeaturesForEach(otf: ptr OpenTypeFeatures; f: OpenTypeFeaturesForEachFunc; data: pointer)
OpenTypeFeaturesForEachFunc:
rawui: type OpenTypeFeaturesForEachFunc
openTypeFeaturesGet:
rawui: proc openTypeFeaturesGet(otf: ptr OpenTypeFeatures; a: char; b: char; c: char; d: char; value: ptr uint32): cint
openTypeFeaturesRemove:
rawui: proc openTypeFeaturesRemove(otf: ptr OpenTypeFeatures; a: char; b: char; c: char; d: char)
osSignature:
uing: proc osSignature[SomeWidget: Widget](w: SomeWidget): int
padded:
uing: proc padded(b: Box): bool
uing: proc padded(f: Form): bool
uing: proc padded(g: Grid): bool
padded=:
uing: proc padded=(b: Box; padded: bool)
uing: proc padded=(f: Form; padded: bool)
uing: proc padded=(g: Grid; padded: bool)
parent:
uing: proc parent[SomeWidget: Widget and not Window](w: SomeWidget): Widget
parent=:
uing: proc parent=[SomeWidget: Widget](w: SomeWidget; parent: Widget)
pollingMainLoop:
uing: proc pollingMainLoop(poll: proc (timeout: int); timeout: int)
position:
uing: proc position(w: Window): tuple[x, y: int]
position=:
uing: proc position=(w: Window; pos: tuple[x, y: int])
ProgressBar:
uing: type ProgressBar
rawui: object ProgressBar
progressBar:
rawui: template progressBar(this: untyped): untyped
progressBarSetValue:
rawui: proc progressBarSetValue(p: ptr ProgressBar; n: cint)
progressBarValue:
rawui: proc progressBarValue(p: ptr ProgressBar): cint
queueMain:
uing: proc queueMain(f: proc (data: pointer) {.cdecl.}; data: pointer)
rawui: proc queueMain(f: proc (data: pointer) {.cdecl.}; data: pointer)
queueRedrawAll:
uing: proc queueRedrawAll(a: Area)
quit:
uing: proc quit()
rawui: proc quit()
quitAll:
uing: proc quitAll(errorcode: int = QuitSuccess)
RadioButtons:
uing: type RadioButtons
rawui: object RadioButtons
radioButtons:
rawui: template radioButtons(this: untyped): untyped
radioButtonsAppend:
rawui: proc radioButtonsAppend(r: ptr RadioButtons; text: cstring)
radioButtonsOnSelected:
rawui: proc radioButtonsOnSelected(r: ptr RadioButtons; f: proc (sender: ptr RadioButtons; senderData: pointer) {.cdecl.}; data: pointer)
radioButtonsSelected:
rawui: proc radioButtonsSelected(r: ptr RadioButtons): cint
radioButtonsSetSelected:
rawui: proc radioButtonsSetSelected(r: ptr RadioButtons; index: cint)
range=:
uing: proc range=(s: Slider; sliderRange: Slice[SomeInteger])
readOnly:
uing: proc readOnly(e: Entry): bool
uing: proc readOnly(e: MultilineEntry): bool
readOnly=:
uing: proc readOnly=(e: Entry; readOnly: bool)
uing: proc readOnly=(e: MultilineEntry; readOnly: bool)
remove:
uing: proc remove(otf: OpenTypeFeatures; a, b, c, d: char)
uing: proc remove(otf: OpenTypeFeatures; abcd: string)
resizeable:
uing: proc resizeable(w: Window): bool
resizeable=:
uing: proc resizeable=(w: Window; resizeable: bool)
restore:
uing: proc restore(c: ptr DrawContext)
rotate:
uing: proc rotate(m: ptr DrawMatrix; x, y, amount: float)
rowChanged:
uing: proc rowChanged(m: TableModel; index: int)
rowDeleted:
uing: proc rowDeleted(m: TableModel; oldIndex: int)
rowInserted:
uing: proc rowInserted(m: TableModel; newIndex: int)
save:
uing: proc save(c: ptr DrawContext)
saveFile:
uing: proc saveFile(parent: Window): string
rawui: proc saveFile(parent: ptr Window): cstring
scale:
uing: proc scale(m: ptr DrawMatrix; xCenter, yCenter, x, y: float)
scrollTo:
uing: proc scrollTo(a: Area; x, y, width, height: float)
selected:
uing: proc selected(c: Combobox): int
uing: proc selected(r: RadioButtons): int
selected=:
uing: proc selected=(c: Combobox; index: int)
uing: proc selected=(r: RadioButtons; index: int)
selection:
uing: proc selection(table: Table): seq[int]
selection=:
uing: proc selection=(table: Table; sel: openArray[int])
selectionMode:
uing: proc selectionMode(table: Table): TableSelectionMode
selectionMode=:
uing: proc selectionMode=(table: Table; mode: TableSelectionMode)
Separator:
uing: type Separator
rawui: object Separator
separator:
rawui: template separator(this: untyped): untyped
setAllTabsMargined:
uing: proc setAllTabsMargined(t: Tab; margined: bool = true)
setAttribute:
uing: proc setAttribute(s: AttributedString; a: Attribute; start, end: int)
setChild:
uing: proc setChild(w: Window; child: Widget)
setColor:
uing: proc setColor(c: ColorButton; r, g, b: float; alpha: float = 1.0)
setColumnWidth:
uing: proc setColumnWidth(table: Table; column, width: int)
setIdentity:
uing: proc setIdentity(m: ptr DrawMatrix)
setMargined:
uing: proc setMargined(t: Tab; index: int; margined: bool)
setSortIndicator:
uing: proc setSortIndicator(table: Table; column: int; indicator: SortIndicator)
show:
uing: proc show[SomeWidget: Widget](w: SomeWidget)
signature:
uing: proc signature[SomeWidget: Widget](w: SomeWidget): int
size:
uing: proc size(a: Attribute): float
size=:
uing: proc size=(a: Area; size: tuple[width, height: int])
skew:
uing: proc skew(m: ptr DrawMatrix; x, y, xamount, yamount: float)
Slider:
uing: type Slider
rawui: object Slider
slider:
rawui: template slider(this: untyped): untyped
sliderHasToolTip:
rawui: proc sliderHasToolTip(s: ptr Slider): cint
sliderOnChanged:
rawui: proc sliderOnChanged(s: ptr Slider; f: proc (sender: ptr Slider; senderData: pointer) {.cdecl.}; data: pointer)
sliderOnReleased:
rawui: proc sliderOnReleased(s: ptr Slider; f: proc (sender: ptr Slider; senderData: pointer) {.cdecl.}; data: pointer)
sliderSetHasToolTip:
rawui: proc sliderSetHasToolTip(s: ptr Slider; hasToolTip: cint)
sliderSetRange:
rawui: proc sliderSetRange(s: ptr Slider; min: cint; max: cint)
sliderSetValue:
rawui: proc sliderSetValue(s: ptr Slider; value: cint)
sliderValue:
rawui: proc sliderValue(s: ptr Slider): cint
sortIndicator:
uing: proc sortIndicator(table: Table; column: int): SortIndicator
SortIndicator:
rawui: enum SortIndicator
Spinbox:
uing: type Spinbox
rawui: object Spinbox
spinbox:
rawui: template spinbox(this: untyped): untyped
spinboxOnChanged:
rawui: proc spinboxOnChanged(s: ptr Spinbox; f: proc (sender: ptr Spinbox; senderData: pointer) {.cdecl.}; data: pointer)
spinboxSetValue:
rawui: proc spinboxSetValue(s: ptr Spinbox; value: cint)
spinboxValue:
rawui: proc spinboxValue(s: ptr Spinbox): cint
stretch:
uing: proc stretch(a: Attribute): TextStretch
stroke:
uing: proc stroke(c: ptr DrawContext; path: DrawPath; b: ptr DrawBrush; p: ptr DrawStrokeParams)
Tab:
uing: type Tab
rawui: object Tab
tab:
rawui: template tab(this: untyped): untyped
tabAppend:
rawui: proc tabAppend(t: ptr Tab; name: cstring; c: ptr Control)
tabDelete:
rawui: proc tabDelete(t: ptr Tab; index: cint)
tabInsertAt:
rawui: proc tabInsertAt(t: ptr Tab; name: cstring; index: cint; c: ptr Control)
Table:
uing: type Table
rawui: object Table
table:
rawui: template table(this: untyped): untyped
tableAppendButtonColumn:
rawui: proc tableAppendButtonColumn(t: ptr Table; name: cstring; buttonModelColumn: cint; buttonClickableModelColumn: cint)
tableAppendCheckboxColumn:
rawui: proc tableAppendCheckboxColumn(t: ptr Table; name: cstring; checkboxModelColumn: cint; checkboxEditableModelColumn: cint)
tableAppendCheckboxTextColumn:
rawui: proc tableAppendCheckboxTextColumn(t: ptr Table; name: cstring; checkboxModelColumn: cint; checkboxEditableModelColumn: cint; textModelColumn: cint; textEditableModelColumn: cint; textParams: ptr TableTextColumnOptionalParams)
tableAppendImageColumn:
rawui: proc tableAppendImageColumn(t: ptr Table; name: cstring; imageModelColumn: cint)
tableAppendImageTextColumn:
rawui: proc tableAppendImageTextColumn(t: ptr Table; name: cstring; imageModelColumn: cint; textModelColumn: cint; textEditableModelColumn: cint; textParams: ptr TableTextColumnOptionalParams)
tableAppendProgressBarColumn:
rawui: proc tableAppendProgressBarColumn(t: ptr Table; name: cstring; progressModelColumn: cint)
tableAppendTextColumn:
rawui: proc tableAppendTextColumn(t: ptr Table; name: cstring; textModelColumn: cint; textEditableModelColumn: cint; textParams: ptr TableTextColumnOptionalParams)
tableColumnSetWidth:
rawui: proc tableColumnSetWidth(t: ptr Table; column: cint; width: cint)
TableColumnType:
rawui: type TableColumnType
tableColumnWidth:
rawui: proc tableColumnWidth(t: ptr Table; column: cint): cint
tableGetSelection:
rawui: proc tableGetSelection(t: ptr Table): ptr TableSelection
tableGetSelectionMode:
rawui: proc tableGetSelectionMode(t: ptr Table): TableSelectionMode
tableHeaderOnClicked:
rawui: proc tableHeaderOnClicked(t: ptr Table; f: proc (sender: ptr Table; column: cint; senderData: pointer) {.cdecl.}; data: pointer)
tableHeaderSetSortIndicator:
rawui: proc tableHeaderSetSortIndicator(t: ptr Table; column: cint; indicator: SortIndicator)
tableHeaderSetVisible:
rawui: proc tableHeaderSetVisible(t: ptr Table; visible: cint)
tableHeaderSortIndicator:
rawui: proc tableHeaderSortIndicator(t: ptr Table; column: cint): SortIndicator
tableHeaderVisible:
rawui: proc tableHeaderVisible(t: ptr Table): cint
TableModel:
uing: type TableModel
rawui: type TableModel
TableModelColumnAlwaysEditable:
rawui: const TableModelColumnAlwaysEditable
TableModelColumnNeverEditable:
rawui: const TableModelColumnNeverEditable
TableModelHandler:
rawui: object TableModelHandler
tableModelRowChanged:
rawui: proc tableModelRowChanged(m: ptr TableModel; index: cint)
tableModelRowDeleted:
rawui: proc tableModelRowDeleted(m: ptr TableModel; oldIndex: cint)
tableModelRowInserted:
rawui: proc tableModelRowInserted(m: ptr TableModel; newIndex: cint)
tableOnRowClicked:
rawui: proc tableOnRowClicked(t: ptr Table; f: proc (t: ptr Table; row: cint; data: pointer) {.cdecl.}; data: pointer)
tableOnRowDoubleClicked:
rawui: proc tableOnRowDoubleClicked(t: ptr Table; f: proc (t: ptr Table; row: cint; data: pointer) {.cdecl.}; data: pointer)
tableOnSelectionChanged:
rawui: proc tableOnSelectionChanged(t: ptr Table; f: proc (t: ptr Table; data: pointer) {.cdecl.}; data: pointer)
TableParams:
rawui: object TableParams
TableSelection:
rawui: object TableSelection
TableSelectionMode:
rawui: enum TableSelectionMode
tableSetSelection:
rawui: proc tableSetSelection(t: ptr Table; sel: ptr TableSelection)
tableSetSelectionMode:
rawui: proc tableSetSelectionMode(t: ptr Table; mode: TableSelectionMode)
TableTextColumnOptionalParams:
rawui: object TableTextColumnOptionalParams
TableValue:
uing: type TableValue
rawui: object TableValue
tableValueColor:
rawui: proc tableValueColor(v: ptr TableValue; r: ptr cdouble; g: ptr cdouble; b: ptr cdouble; a: ptr cdouble)
tableValueGetType:
rawui: proc tableValueGetType(v: ptr TableValue): TableValueType
tableValueImage:
rawui: proc tableValueImage(v: ptr TableValue): ptr Image
TableValueInner:
rawui: object TableValueInner
tableValueInt:
rawui: proc tableValueInt(v: ptr TableValue): cint
tableValueString:
rawui: proc tableValueString(v: ptr TableValue): cstring
TableValueType:
rawui: enum TableValueType
tabMargined:
rawui: proc tabMargined(t: ptr Tab; index: cint): cint
tabNumPages:
rawui: proc tabNumPages(t: ptr Tab): cint
tabSetMargined:
rawui: proc tabSetMargined(t: ptr Tab; index: cint; margined: cint)
text:
uing: proc text(b: Button): string
uing: proc text(c: Checkbox): string
uing: proc text(c: EditableCombobox): string
uing: proc text(e: Entry): string
uing: proc text(l: Label): string
uing: proc text(e: MultilineEntry): string
text=:
uing: proc text=(b: Button; text: string)
uing: proc text=(c: Checkbox; text: string)
uing: proc text=(c: EditableCombobox; text: string)
uing: proc text=(e: Entry; text: string)
uing: proc text=(l: Label; text: string)
uing: proc text=(e: MultilineEntry; text: string)
TextItalic:
rawui: enum TextItalic
TextStretch:
rawui: enum TextStretch
TextWeight:
rawui: enum TextWeight
time:
uing: proc time(d: DateTimePicker): DateTime
time=:
uing: proc time=(d: DateTimePicker; dateTime: DateTime)
timer:
uing: proc timer(milliseconds: int; fun: proc (): bool)
rawui: proc timer(milliseconds: cint; f: proc (data: pointer): cint {.cdecl.}; data: pointer)
title:
uing: proc title(g: Group): string
uing: proc title(w: Window): string
title=:
uing: proc title=(g: Group; title: string)
uing: proc title=(w: Window; text: string)
Tm:
rawui: object Tm
topLevel:
uing: proc topLevel[SomeWidget: Widget](w: SomeWidget): bool
transform:
uing: proc transform(c: ptr DrawContext; m: ptr DrawMatrix)
transformPoint:
uing: proc transformPoint(m: ptr DrawMatrix): tuple[x, y: float]
transformSize:
uing: proc transformSize(m: ptr DrawMatrix): tuple[x, y: float]
translate:
uing: proc translate(m: ptr DrawMatrix; x, y: float)
typeSignature:
uing: proc typeSignature[SomeWidget: Widget](w: SomeWidget): int
underline:
uing: proc underline(a: Attribute): Underline
Underline:
rawui: enum Underline
underlineColor:
uing: proc underlineColor(a: Attribute): tuple[u: UnderlineColor, r, g, b, alpha: float]
UnderlineColor:
rawui: enum UnderlineColor
uninit:
uing: proc uninit()
rawui: proc uninit()
userBugCannotSetParentOnToplevel:
rawui: proc userBugCannotSetParentOnToplevel(type: cstring)
value:
uing: proc value(p: ProgressBar): int
uing: proc value(s: Slider): int
uing: proc value(s: Spinbox): int
value=:
uing: proc value=(p: ProgressBar; n: -1 .. 100)
uing: proc value=(s: Slider; value: int)
uing: proc value=(s: Spinbox; value: int)
verifySetParent:
uing: proc verifySetParent[SomeWidget: Widget](w: SomeWidget; parent: Widget)
visible:
uing: proc visible[SomeWidget: Widget](w: SomeWidget): bool
weight:
uing: proc weight(a: Attribute): TextWeight
Widget:
uing: type Widget
Window:
uing: type Window
rawui: object Window
window:
rawui: template window(this: untyped): untyped
windowBorderless:
rawui: proc windowBorderless(w: ptr Window): cint
windowContentSize:
rawui: proc windowContentSize(w: ptr Window; width: ptr cint; height: ptr cint)
windowFocused:
rawui: proc windowFocused(w: ptr Window): cint
windowFullscreen:
rawui: proc windowFullscreen(w: ptr Window): cint
windowMargined:
rawui: proc windowMargined(w: ptr Window): cint
windowOnClosing:
rawui: proc windowOnClosing(w: ptr Window; f: proc (sender: ptr Window; senderData: pointer): cint {. cdecl.}; data: pointer)
windowOnContentSizeChanged:
rawui: proc windowOnContentSizeChanged(w: ptr Window; f: proc (sender: ptr Window; senderData: pointer) {.cdecl.}; data: pointer)
windowOnFocusChanged:
rawui: proc windowOnFocusChanged(w: ptr Window; f: proc (sender: ptr Window; senderData: pointer) {.cdecl.}; data: pointer)
windowOnPositionChanged:
rawui: proc windowOnPositionChanged(w: ptr Window; f: proc (sender: ptr Window; senderData: pointer) {.cdecl.}; data: pointer)
windowPosition:
rawui: proc windowPosition(w: ptr Window; x: ptr cint; y: ptr cint)
windowResizeable:
rawui: proc windowResizeable(w: ptr Window): cint
WindowResizeEdge:
rawui: enum WindowResizeEdge
windowSetBorderless:
rawui: proc windowSetBorderless(w: ptr Window; borderless: cint)
windowSetChild:
rawui: proc windowSetChild(w: ptr Window; child: ptr Control)
windowSetContentSize:
rawui: proc windowSetContentSize(w: ptr Window; width: cint; height: cint)
windowSetFullscreen:
rawui: proc windowSetFullscreen(w: ptr Window; fullscreen: cint)
windowSetMargined:
rawui: proc windowSetMargined(w: ptr Window; margined: cint)
windowSetPosition:
rawui: proc windowSetPosition(w: ptr Window; x: cint; y: cint)
windowSetResizeable:
rawui: proc windowSetResizeable(w: ptr Window; resizeable: cint)
windowSetTitle:
rawui: proc windowSetTitle(w: ptr Window; title: cstring)
windowTitle:
rawui: proc windowTitle(w: ptr Window): cstring