Index | Collapse All Expand All

SetShortcut Method
Quickslot Class Members Examples See Also

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 shortcut | Copy 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

- Quickslot
- Turbine.UI.Lotro