GUI: PLT Graphics Toolkit

1`` | Overview
- | Windowing
- | Drawing
- | Editor
2`` | Reference
- | Windowing Classes
- | Windowing Functions
- | Drawing Classes
- | Drawing Functions
- | Editor Classes
- | Editor Functions
- | WXME Decoding
3`` | Configuration
4`` | Dynamic Loading
| Index

On this page:

command
get-font

Inherited methods:
from window<%>
accept-drop-files
client->screen
enable
focus
get-client-size
get-cursor
get-handle
get-height
get-label
get-plain-label
get-size
get-width
get-x
get-y
has-focus?
is-enabled?
is-shown?
on-drop-file
on-focus
on-move
on-size
on-subwindow-char
on-subwindow-event
on-superwindow-enable
on-superwindow-show
popup-menu
refresh
screen->client
set-cursor
set-label
show
from area<%>
get-graphical-min-size
get-parent
get-top-level-window
min-height
min-width
stretchable-height
stretchable-width
from subarea<%>
horiz-margin
vert-margin

Version: 4.0.2
contents index
← prev up next →

control<%> : interface?

implements: | subwindow<%>

The control<%> interface is implemented by the built-in control window classes:

- message%

- button%

- check-box%

- slider%

- gauge%

- text-field%

- radio-box%

- choice%

- list-box%

(send a-control command event) → void?
event : (is-a?/c control-event%)

Calls the control’s callback function, passing on the given control-event% object.

(send a-control get-font) → (is-a?/c font%)

Returns the font used for the control, which is optionally supplied when a control is created.

contents index
← prev up next →