Index of values


B
black [Gctx]
blue [Gctx]
border [Widget]
Adds a border around another widget
button [Widget]
A button has a string, which can be controlled by the corresponding label_controller, and an event listener, which can be controlled by the notifier_controller to add listeners (e.g.

C
canvas [Widget]
Canvases are just widgets with an associated notifier_controller.
checkbox [Widget]
A checkbox widget.
create [Deque]
create a new container
cyan [Gctx]

D
draw_ellipse [Gctx]
Draw an elipse, centered at position with given x and y radii.
draw_line [Gctx]
Draw a line between the two specified positions
draw_rect [Gctx]
Draw a rectangle, with lower-left corner at position of the specified dimension.
draw_string [Gctx]
Display text at the given position

E
event_pos [Gctx]
Accessor for the widget local position of an event.
event_type [Gctx]
Accessor for the type of an event.

F
fill_rect [Gctx]
Display a filled rectangle with lower-left corner at position with the specified dimension.

G
green [Gctx]

H
hlist [Widget]
A horizontal group of widgets
hpair [Widget]
A pair of horizontally adjacent widgets

I
insert_head [Deque]
add to the front of the deque
insert_tail [Deque]
add to the back of the deque
is_empty [Deque]
is the container empty
iterate [Deque]
run a command c for each node of the deque in order of head to tail

L
label [Widget]
Construct a label widget and its controller.

M
magenta [Gctx]
make_test_event [Gctx]
Make a dummy event for testing.
mouseclick_listener [Widget]
Performs an action upon receiving a mouse click.

N
notifier [Widget]
Construct a notifier widget and its controller

O
open_graphics [Gctx]
Open the graphics window

R
red [Gctx]
remove_head [Deque]
remove the first element from the deque and return it, fail if the queue is empty
remove_tail [Deque]
remove the last element from the deque and return it fail if the queue is empty
run [Eventloop]
This function takes a widget, which is the "root" of the GUI interface.

S
space [Widget]
A widget that does nothing but take up space

T
text_size [Gctx]
Calculates the size of text when rendered.
top_level [Gctx]
The top-level graphics context
translate [Gctx]
Produce a new gctx shifted by (dx,dy)

V
vlist [Widget]
A vertical group of widgets
vpair [Widget]
A pair of vertically adjacent widgets

W
wait_for_event [Gctx]
Wait for a mouse or key event.
white [Gctx]
with_color [Gctx]
Produce a new gctx with a different pen color

Y
yellow [Gctx]