Parents: | ui |
Authors: | Slava Pestov |
Class | Superclass | Slots |
gadget | rect | pref-dim parent children orientation focus visible? root? clipped? layout-state graft-state graft-node interior boundary model |
Word | Stack effect |
children-on | ( rect gadget -- seq ) |
focusable-child* | ( gadget -- child/f ) |
gadget-selection | ( gadget -- string/f ) |
gadget-selection? | ( gadget -- ? ) |
gadget-text* | ( gadget -- ) |
gadget-text-separator | ( gadget -- str ) |
graft* | ( gadget -- ) |
layout* | ( gadget -- ) |
preedit? | ( gadget -- ? ) |
pref-dim* | ( gadget -- dim ) |
remove-gadget | ( gadget parent -- ) |
request-focus-on | ( child gadget -- ) |
temp-im-input | ( str gadget -- ? ) |
ungraft* | ( gadget -- ) |
user-input* | ( str gadget -- ? ) |
Word | Stack effect |
<gadget> | ( -- gadget ) |
add-gadget | ( parent child -- parent ) |
add-gadgets | ( parent children -- parent ) |
child? | ( parent child -- ? ) |
clear-gadget | ( gadget -- ) |
control-value | ( control -- value ) |
each-child | ( ... gadget quot: ( ... child -- ... ) -- ... ) |
each-parent | ( ... gadget quot: ( ... gadget -- ... ? ) -- ... ? ) |
fast-children-on | ( rect axis children quot -- slice ) |
find-parent | ( ... gadget quot: ( ... gadget -- ... ? ) -- ... parent ) |
focus-path | ( gadget -- seq ) |
focusable-child | ( gadget -- child ) |
gadget-child | ( gadget -- child ) |
gadget-seq-text | ( seq gadget -- ) |
gadget-text | ( gadget -- string ) |
hide-gadget | ( gadget -- ) |
horizontal | ( -- value ) |
layout | ( gadget -- ) |
max-dims | ( seq -- dim ) |
not-in-layout | ( -- ) |
nth-gadget | ( n gadget -- child ) |
parents | ( gadget -- seq ) |
pick-up | ( point gadget -- child/f ) |
pref-dim | ( gadget -- dim ) |
pref-dims | ( gadgets -- seq ) |
prefer | ( gadget -- ) |
relative-loc | ( fromgadget togadget -- loc ) |
relayout | ( gadget -- ) |
relayout-1 | ( gadget -- ) |
request-focus | ( gadget -- ) |
screen-loc | ( gadget -- loc ) |
screen-rect | ( gadget -- rect ) |
set-control-value | ( value control -- ) |
show-gadget | ( gadget -- ) |
sum-dims | ( seq -- dim ) |
unparent | ( gadget -- ) |
vertical | ( -- value ) |
Word | Stack effect |
gadget? | ( object -- ? ) |
Vocabulary | Summary |
ui.gadgets.books | Book gadget displays one child at a time |
ui.gadgets.borders | Border gadget adds padding around a child |
ui.gadgets.buttons | Button gadgets invoke commands when clicked |
ui.gadgets.canvas | Canvas gadget for caching rendering to a display list |
ui.gadgets.debug | |
ui.gadgets.editors | Editors edit a plain text document |
ui.gadgets.frames | Frames position children around a center child which fills up any remaining space |
ui.gadgets.glass | |
ui.gadgets.grid-lines | Grid lines visibly separate children of grids and frames |
ui.gadgets.grids | Grids arrange children in a variable-size grid |
ui.gadgets.icons | |
ui.gadgets.incremental | Children can be added to incremental layouts in constant time |
ui.gadgets.labeled | Labelled gadgets display a border with a text label surrounding a child |
ui.gadgets.labels | Label gadgets display one or more lines of text with a single font and color |
ui.gadgets.line-support | Code shared between table and editor gadgets |
ui.gadgets.menus | Menu gadgets pop up as a list of commands at the mouse location |
ui.gadgets.packs | Pack gadgets arrange children horizontally or vertically |
ui.gadgets.panes | Pane gadgets display formatted stream output |
ui.gadgets.paragraphs | Paragraph gadgets lay out their children from left to right, wrapping at a fixed margin |
ui.gadgets.presentations | Presentations display an interactive view of an object |
ui.gadgets.prettyprint | |
ui.gadgets.scrollers | Scrollers display a user-chosen portion of a child which may have arbitrary dimensions |
ui.gadgets.search-tables | |
ui.gadgets.sliders | Slider gadgets provide a graphical view of an integer-valued model |
ui.gadgets.status-bar | Status bar gadgets display mouse-over help for other gadgets |
ui.gadgets.tabbed | |
ui.gadgets.tables | |
ui.gadgets.toolbar | Toolbars contain several buttons side-by-side |
ui.gadgets.tracks | Track gadgets arrange children horizontally or vertically, giving each child a specified fraction of total available space |
ui.gadgets.viewports | Viewport gadgets display a portion of a child gadget and are used to implement scrollers |
ui.gadgets.worlds | World gadgets are the top level of the gadget hierarchy and are displayed in native windows |
ui.gadgets.wrappers |
Vocabulary | Summary |
ui.gadgets.alerts | Really simple dialog boxes |
ui.gadgets.book-extras | Easily switch between pages of book views |
ui.gadgets.cartesian | |
ui.gadgets.charts | |
ui.gadgets.comboboxes | Combo boxes have a model choosen from a list of options |
ui.gadgets.controls | Gadgets with expanded model usage |
ui.gadgets.flex-borders | A border implementation that doesn't fixate the contained gadget size |
ui.gadgets.frame-buffer | |
ui.gadgets.layout | Syntax for easily building GUIs and using templates |
ui.gadgets.lists | List gadgets display a keyboard-navigatable list of presentations |
ui.gadgets.slate | |
ui.gadgets.worlds | World gadgets are the top level of the gadget hierarchy and are displayed in native windows |