Beta Documentation - Subject to change.

Sets the shortcut on the quickslot.

Syntax

Lua
function Quickslot:SetShortcut(value);

Parameters

value
Type: Shortcut
The new shortcut infor to set the quickslot to use.

Remarks

Sets the shortcut on the quickslot.

Examples

Setting a new shortcut.
Setting a shortcutCopy Code
        quickslot = Turbine.UI.Lotro.Quickslot()
        quickslot:SetParent( myWindow );
        quickslot:SetPosition( 50, 50 );
        quickslot:SetSize( 38, 38 );
        quickslot:SetShortcut( Turbine.UI.Shortcut( Turbine.UI.Lotro.ShortcutType.Undefined, "" ) );

See Also