doc.txt

Widgets

_Widgets_
_widgets_

This collection currently provides one file:

 _progress.ss_: a Windows XP-style progress meter widget.

======================================================================

> (percent? x) : any -> boolean

Does `x' represent a percentage, i.e., is it a number between 0.0
(inclusive) and 1.0 (inclusive)?

> tick/small  : bitmap%
> tick/medium : bitmap%
> tick/large  : bitmap%

Progress meter tick graphics of various sizes in the style of standard
Windows XP progress meters. These are suitable for use as an argument
to the progress-meter% constructor.

PROGRESS METER WIDGET ================================================

> (interface progress-meter<%>)

Methods:

> (send a-pm update-progress x) : percent -> void

Updates the progress meter widget to reflect the given percent.

> (new progress-meter% (parent _) [(width _)] [(enabled _)] [(vert-margin _)] [(horiz-margin _)] [(stretchable-width _)] [(progress _)] [(tick _)]) -> progress-meter% object
parent: frame%, dialog%, panel%, or pane% object
width=256: exact integer in [0, 10000]
enabled=#t: boolean
vert-margin=0: exact integer in [0, 10000]
horiz-margin=0: exact integer in [0, 10000]
stretchable-width=#t: boolean
progress=0.0: real in [0.0, 1.0]
tick=tick/windows-xp: bitmap%

A progress meter widget, probably only really aesthetically
appropriate for Windows XP programs.