Comtrol eCos User Manual
Page 784
Advertising

Writing New Devices - host
synth::handle_help
<
URL
>
synth::load_image can be used to add a new image to the current interpreter. If the specified file has a
.xbm
extension then the image will be a monochrome bitmap, otherwise it will be a colour image of some sort. A
boolean will be returned to indicate success or failure, and suitable diagnostics will be generated if necessary.
synth::register_balloon_help provides balloon help for a specific widget, usually a button on the toolbar.
synth::handle_help is a utility routine that can be installed as the command for displaying online help, for exam-
ple:
.menubar.help add command -label "my device" -command \
[list synth::handle_help "file://$path"]
680
Advertising