Generated out of parse.c, dom.c and
spark.h — the source that decides these answers — so this page
cannot drift from the code.
| tag | macOS | Windows | Linux |
|---|---|---|---|
<button> | NSButton | BUTTON | drawn + hit-tested |
<field> | NSTextField | EDIT | EDIT-alike |
<check> | NSButton switch | BUTTON BS_CHECKBOX | drawn |
<sep> | NSBox | a line | a line |
<text> | NSTextField | STATIC | Xft |
<scroll> | NSScrollView | a clipping window | drawn |
<list> | NSTableView | SysListView32 | drawn |
<item> | a row | a row | a row |
<area> | NSTextView | EDIT ES_MULTILINE | drawn |
<select> | NSPopUpButton | COMBOBOX | drawn |
<radio> | NSButton radio | BUTTON BS_RADIOBUTTON | drawn |
<slider> | NSSlider | msctls_trackbar32 | drawn |
<progress> | NSProgressIndicator | msctls_progress32 | drawn |
<spin> | NSStepper | msctls_updown32 | drawn |
<image> | NSImageView | GDI+ | Spark's own painter |
<link> | NSButton link | drawn | drawn |
<password> | NSSecureTextField | EDIT ES_PASSWORD | drawn |
<search> | NSSearchField | EDIT | drawn |
<toggle> | NSSwitch | drawn | drawn |
<togglebutton> | NSButton push-on | BUTTON BS_PUSHLIKE | drawn |
<spinner> | NSProgressIndicator spinning | drawn | drawn |
<menu> | NSMenu | HMENU | — |
<menuitem> | NSMenuItem | a menu entry | — |
<tabs> | NSTabView | SysTabControl32 | drawn |
<tab> | a tab | a tab | a tab |
<tree> | NSOutlineView | SysTreeView32 | drawn |
<date> | NSDatePicker | SysDateTimePick32 | drawn |
<toolbar> | a row | a row | a row |
<table> | NSTableView | SysListView32 | drawn |
<column> | NSTableColumn | a column | a column |
<stack> | layered views | layered windows | layered |
<tip> | a styled window | a styled window | a styled window |
<bar> | a bar | a bar | a bar |
<surface> | a drawn view | an owner-drawn control | the canvas |
<fill> | a shape | a shape | a shape |
<picture> | a shape | a shape | a shape |
Settable from markup and from a script by the same name, and readable back as what they are.
gappadmin-sizemax-sizeresizablealways-on-topframelessfullscreenatrotateopacityscalebundleanimatefromtocolsmin-colwhgrowalignselfsizebolditalictext-alignvalignshadowshadow-ygradient-xgradientcaret-colorselection-colormodaldisabledcolorbgradiusborderaccent-hoveraccentborder-color-hoverborder-colorbg-hoverbg-activebg-disabledplaceholderlabelvalue
clickchangeinputfocusblurmouseentermouseleaveresizeframekeytrayhotkeydropmessage
What the system already runs, asked for by name. Each answers
null where the system has no such thing.
| service | what it is |
|---|---|
alert confirm | open save dialogs |
clip-get clip-set | clipboard |
window-size window-title | the window |
run | a program, returning its output |
open-url | hand a URL to the system browser |
tray <icon> <tooltip> | an icon in the system's status area |
notify <title> <body> | a message in the system's own centre |
hotkey <combo> | a key the system reports while we sleep |
window-open <file> | a second window, running that document |
window-tell <text> | hand a line to every other window |
sound <file> | play it, through whatever the system has |
update-check <manifest> | what version is out there, or nothing |
update-apply <manifest> | fetch it and put it in place |