Φ wowmods - LibShortcuts @ ?
[ addon updates | search | RSS | Google: subscribed link (?); Gadget | Twitter ]
[ login | register ] [ contact ]
search addons:

 • details
addon: LibShortcuts
listed author: Lonny   [list all addons]
latest version: 1.2
date last updated: Wed, 27 Jan 2010 12:48:00 +0000
date added: Wed, 27 Jan 2010 12:50:05 +0000
 
wowinterface.com: http://www.wowinterface.com/downloads/info15819-1.2.html

 • about + changelog
A library that defines shortcuts for the game user interface.



Shortcuts



character

spellbook

talents

achievements

calendar

questlog

social

pvp

lfr

lfd

time

help

video

sound

interface

mac

bindings

macro



Usage:

local Shortcuts = LibStub("LibShortcuts-1.2")



Shortcuts:RunShortcut("pvp")



API



RunShortcut(name) - Execute a shortcut.



Arguments.

name - (string) The name of the shortcut to execute.



GetShortcut(name) - Gets a table that contains the given shortcut.



Arguments.

name - (string) The name of the shortcut to retrieve.



Returns.

shortcut - (table) The shortcut.



NumOfShortcuts() - Gets the number of shortcuts available.



Returns.

num - (number) The number of shortcuts available.



IterateShortcuts() - Traverse through the shortcuts table.



Arguments.

mode - (string) The mode of which the function may operate to return the values in an alphabetical order.



* keys - Returns a key, value pairs.

* index - Returns an index, value pairs.

* all - Returns an index, key and value.



Returns.

iterator - (function) An iterator to traverse through the shortcuts table.



* index - (number) The position of the key.

* key - (string) The name of the shortcut.

* value - (table) The shortcut.

 
Hint: see addon details for related searches in Google: use the Google Subscribed Links service.