Name

SetFunctionKeys — Sets the (default) function keys for a number of buttons.

Synopsis

void SetFunctionKeys ( map fkeys );
 

Parameters

map fkeys

Return

void

Description

This function receives a map with button labels and the respective function key number that should be used if on other `opt( `key_F.. ) is specified.

Any keyboard shortcuts in those labels are silently ignored so this is safe to use even if the UI's internal shortcut manager rearranges shortcuts.

Each call to this function overwrites the data of any previous calls.

Usage

  SetFunctionKeys( $[ "Back": 8, "Next": 10, ... ] );