Index
Modules:
slinim/generator
,
slinim/parser
,
slinim/wrapper
.
API symbols
`$`:
parser: `$`(x: SlintType): string
wrapper: `$`(str): string
`==`:
parser: `==`(a, b: Callback): bool
parser: `==`(a, b: SlintType): bool
wrapper: `==`(str; other: cstring): bool
`[]=`:
wrapper: `[]=`[T](model: var Model[T] | var VectorModel[T]; i: cint; item: T)
`[]`:
wrapper: `[]`[T](model: Model[T] | VectorModel[T]; i: cint): T
`end`:
wrapper: `end`(str): ptr char
add:
wrapper: add(str: var SlintString; data: cstring)
wrapper: add[T](model: var VectorModel[T]; item: T)
Application:
parser: Application
assign:
wrapper: assign(str: var SlintString; newString: cstring)
begin:
wrapper: begin(str): ptr char
Bool:
SlintKind.Bool
Brush:
SlintKind.Brush
Callback:
parser: Callback
Color:
SlintKind.Color
ComponentHandle:
wrapper: ComponentHandle
ComponentWeakHandle:
wrapper: ComponentWeakHandle
contains:
wrapper: contains[T](model: Model[T]; looking: T): bool
data:
wrapper: data(str): cstring
delete:
wrapper: delete(model: var VectorModel; i: cint)
Duration:
SlintKind.Duration
empty:
wrapper: empty(str): bool
endsWith:
wrapper: endsWith(str; suffix: cstring): bool
Float:
SlintKind.Float
generate:
generator: generate(callback: Callback; outFile: var string)
generator: generate(property: Property; outFile: var string)
generator: generate(struct: SlintStruct; outFile: var string)
get:
wrapper: get[T](model: Model[T] | VectorModel[T]; i: cint): Option[T]
hide:
wrapper: hide(window)
Image:
SlintKind.Image
wrapper: Image
importSlint:
generator: importSlint(slint: static[string]; style = "material"): untyped
initCallback:
parser: initCallback(name: string; params: seq[SlintType] = @[]; returnType = initType(Void)): Callback
initImage:
wrapper: initImage(path: SlintString): Image
initModelType:
parser: initModelType(inner: SlintType): SlintType
initProperty:
parser: initProperty(name: string; kind: SlintKind): Property
parser: initProperty(name: string; kind: SlintType): Property
parser: initProperty(name: string; kind: string): Property
initSlintString:
wrapper: initSlintString(data: cstring): SlintString
initStruct:
parser: initStruct(name: string; properties: seq[Property]): SlintStruct
initStructureType:
parser: initStructureType(name: string): SlintType
initType:
parser: initType(kind: SlintKind): SlintType
insert:
wrapper: insert[T](model: var VectorModel[T]; i: csize_t; item: T)
Int:
SlintKind.Int
items:
wrapper: items(str): char
wrapper: items[T](model: Model[T]): T
lambda:
generator: lambda(body: untyped): proc () {.cdecl.}
len:
wrapper: len(model: Model | VectorModel): cint
LogicalSize:
wrapper: LogicalSize
makeBindFile:
generator: makeBindFile(info: SlintFile; headerFile: string): string
Model:
SlintKind.Model
wrapper: Model
newVectorModel:
wrapper: newVectorModel[T](): VectorModel[T]
wrapper: newVectorModel[T](items: openArray[T]): VectorModel[T]
parseHeader:
parser: parseHeader(file: string): SlintFile
PhysicalSize:
wrapper: PhysicalSize
Property:
parser: Property
show:
wrapper: show(window)
Size:
wrapper: Size
size:
wrapper: size(window): PhysicalSize
size=:
wrapper: size=(window; size: LogicalSize)
wrapper: size=(window; size: PhysicalSize)
slint:
wrapper: slint(data: string | cstring): SlintString
SlintColor:
wrapper: SlintColor
SlintFile:
parser: SlintFile
SlintKind:
parser: SlintKind
SlintString:
wrapper: SlintString
SlintStruct:
parser: SlintStruct
SlintType:
parser: SlintType
startsWith:
wrapper: startsWith(str; prefix: cstring): bool
String:
SlintKind.String
Structure:
SlintKind.Structure
VectorModel:
wrapper: VectorModel
Void:
SlintKind.Void
WindowRef:
wrapper: WindowRef