The information in this file has not yet been verified for completeness or accuracy.
Class: BCard
Background card.
Methods: expose(), get(), initialize(), render(), set().
Class: FCard
Foreground card.
Methods: expose(), get(), initialize(), render(), set().
Class: GIF
Methods: expose(), get(), initialize(), render(), set().
See also:
Class: HTML OBSOLETE
This class is now obsolete. It has been replaced with a routine that composes a HTML document using the primitive objects (individual txtDisp objects, etc).
A HTML (HyperText Markup Language) capable text field. The HTML format is from the World Wide Web project.
See the viola-based World-Wide Web browser (www.v) for example usage...
Methods: back(), config(), get(), initialize(), purgeCache(), render(), search(), set().
See also: HTML format.
Class: TTY
A device for interprocess communication through pseudo terminal. Can start up a program, and establish a communication channel with the standard I/O of the sub process.
See also: client class,
Class: XBM
MIT's X-Bitmap format. The XPM data is stored in self's "label" slot in ASCII form.
Methods: expose(), get(), initialize(), render(), set().
Class: XBMButton
Two color bitmap button. Derived from XBM class to differ only in the default message handlers to make objects of this class behave like click-able buttons.
At the moment, on event of buttonPress, visual feedback is done by drawing a finger-print smudge() on the pixmap. The smudge is clean()'ed on buttonRelease.
Class: XPM
X Color pixmap. The XPM data is stored in self's "label" slot in ASCII form.
Methods: get(), initialize(), render(), set().
Class: XPMButton
Color bitmap button. Derived from XPM to differ only in the default message handlers to make objects of this class behave like click-able buttons.
At the moment, on event of buttonPress, visual feedback is done by drawing a finger print smudge on the pixmap. The smudge is erased on buttonRelease.
Class: client
The client class exist for code sharing by the socket and TTY class, so the information present here applies to them (and all subclasses). Refer to socket or TTY for actual instantiation.
Methods: freeSelf(), get(), initialize(), input(), inputn(), output(), set(), startClient().
See also:
Class: cosmic
Root of the class hierarchy. Application programmers probably do not ever want to instantiate objects of this class.
Methods: create(), debug(), detach(), destroy(), exit(), exist(), freeSelf(), info(), interpret(), object(), pop(), push(), quit(), save(), saveAs(), send(), tweak(), usual().
See also:
Class: dial
Rotating dial valuator.
Methods: expose(), get(), initialize(), render(), set().
See also:
Class: field
Simple window field.
See also:
Class: generic
This class is typically not instantiated. This class exists mostly to carry commonly shared methods for its subclasses.
Methods: after(), alarm()#, argument()#, ascii(), asciiVal(), bell(), bellVolume(), clear()#, cli(), clone(), concatenate(), cos(), countChars(), countChildren(), countItems(), countLines(), countWords(), cursorShape(), date(), delay(), depth()#, destroyVariable()#, environVar(), float(), format()#, freeSelf(), get(), getSelection(), getVariable(), gravity()#, initialize(), int(), item(), isBlank(), key(), listAllObjects(), loadFile(), makeTempFile(), not()#, nthChar(), nthChild(), nthItem(), nthLine(), nthObjectInList(), nthSibling(), nthWord(), objectListAppend(), objectListCount(), objectListDelete(), objectListPrepend(), objectListSend(), objectPosition(), print(), printf()#, random(), saveFile(), scanf()#, set(), setMouse(), setSelection(), setVariable(), sin(), sleep(), str(), strlen(), system(), target(), time(), tool(), version(), violaPath(), watch()#, write(), writeln().
See also:
Class: hpane
Horizontal pane. Just like the class pane, but with "westToEast" configuration default.
Methods: initialize(), set().
Class: menu
Pull down menu.
Methods: get(), initialize(), processMouseInput(), render(), set().
See also:
Class: pane
Geometry manager.
Possible configurations:
Methods:
clone2(),
config(),
expose(),
get(),
initialize(),
render(),
set().
Class:
project
Shell level. Has icon. (not yet supported)
Methods:
expose(),
get(),
initialize(),
render(),
set().
(null) Class:
radio
Radio button. This is really just class toggle with different default
classScript.
See also:
toggle.
Class:
rubber
Rubber sheet like geometry manager. Untested.
Methods:
get(),
initialize(),
render(),
set().
See also:
Class:
slider
Scrolling valuator.
Methods:
config(),
get(),
initialize(),
processMouseInput(),
render(),
set(),
shownDepend().
See also:
txtDisp.
Class:
socket
Socket interprocess communication facility.
Methods:
freeSelf(),
get(),
set().
See also:
client.
Class:
stack
Manager of FCard and BCard objects.
Methods:
card(),
create(),
config(),
expose(),
firstCard(),
get(),
getCurrentCard(),
initialize(),
lastCard(),
nextCard(),
countBCards(),
countFCards(),
previousCard(),
render(),
set(),
setCurrentCard().
Class:
toggle
Toggling button.
Methods:
render(),
set(),
toggle().
See also:
radio.
Class:
tray
Tray. (undefine)
Methods:
get(),
initialize(),
render(),
set().
See also:
Class:
txt
Internal use: base clas for text related classes.
Methods:
clone2(),
config(),
expose(),
get(),
initialize(),
render(),
set().
See also:
txtButton,
txtDisp,
txtLabel.
Class:
txtButton
Text button.
Methods:
initialize(),
render(),
set().
See also:
txt,
txtLabel,
HTML.
Class:
cosmic->generic->field->pane->txt->txtDisp
This class implements a multi-line, multi-font, hidden data embedable,
text field. But does not edit very well (yet).
See the HTML class for an easier way to do
formated (deals with window resizing) and hyper text.
Show how to (to be links to tutorial sections):
is presently hard coded.
Methods:
append(),
building_maxFontDescent(),
building_maxFontHeight(),
building_vspan(),
charMask(),
charButtonMask(),
charHighLiteMask(),
charUnderlineMask(),
clearSelection(),
clone(),
config(),
currentChar(),
currentLine(),
currentTag(),
currentWord(),
cursorColumn(),
cursorRow(),
drawCursor(),
deHighLight(),
eraseCursor(),
expose(),
get(),
highLight(),
initialize(),
insert(),
lineRowOffset(),
nextTag(),
numberOfLinesDisplayed(),
previousTag(),
processMouseInput(),
render(),
shownDepend(),
set(),
setSelection(),
totalLineCount().
See also:
txt,
txtButton,
txtLabel.
Class:
txtEdit
Editing text field. It's quite lame at the moment... :-(.
Methods:
initialize(),
render(),
set().
See also:
txt,
txtButton,
txtLabel,
txtDisp.
Class:
txtLabel
Single line text display widget. The text 'label' string is
displayed centered on the widget window.
Methods:
get(),
initialize(),
render(),
set().
See also:
txt,
txtButton,
txtDisp.
Class:
vpane
Vertical pane. Just like the class pane, but with "northToSouth"
configuration default.
Methods:
initialize(),
set().
Common Slots
Private Slots
Common Slots
Private Slots
Messages
For complete behavior, see the classScript. Here are some more relevant
default message handlers.
Common Slots
Private Slots
Messages
For complete behavior, see the classScript. Here are some more relevant
default message handlers.
Bugs
Horizontal mode doesn't yet work.
Common Slots
Private Slots
Common Slots
Private Slots
Messages
For complete behavior, see the classScript. Here are some more relevant
default message handlers.
Common Slots
Private Slots
Keyboard binding
Tags directives
Private Slots