Next Previous Up Top Contents Index

8.11 DUIM-Gadgets Module

gadget-accelerator

Generic function

Summary

Returns the keyboard accelerator of the specified gadget.

Signature

gadget-accelerator gadget => accelerator

Arguments

gadget
An instance of type <gadget>.

Values

accelerator
An instance of type <gesture>.

Library

duim-gadgets

Module

duim-gadgets

Description

Returns the keyboard accelerator of the specified gadget. An accelerator is a keyboard gesture that activates a gadget (that is, it invokes the activate callback for the gadget) without needing to use the mouse.

Accelerators are of most use with button gadgets, and in particular menu button gadgets.

See also

<button>, page 532

gadget-accelerator-setter, page 553

<gesture>, page 281

<menu-button>, page 616


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index