Next Previous Up Top Contents Index

8.11 DUIM-Gadgets Module

gadget-accelerator-setter

Generic function

Summary

Sets the keyboard accelerator of the specified gadget.

Signature

gadget-accelerator-setter accelerator gadget => accelerator

Arguments

accelerator
An instance of type <gesture>.

gadget
An instance of type <gadget>.

Values

accelerator
An instance of type <gesture>.

Library

duim-gadgets

Module

duim-gadgets

Description

Sets the keyboard accelerator of the specified gadget. An accelerator is a keyboard gesture that invokes the activate callback of a 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, page 552

<gesture>, page 281

<menu-button>, page 616


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index