WoW:Creating standard left-sliding frames (source)
Revision as of 20:32, 5 December 2005
, 5 December 2005→On with the show
m (reorg credit) |
|||
| Line 7: | Line 7: | ||
UIPanelWindows["MyFrameName"] = { area = "left", pushable = 5 }; | UIPanelWindows["MyFrameName"] = { area = "left", pushable = 5 }; | ||
'area' is left (most frames), middle (menu or if two left frames are open), fullscreen (map), | 'area' is left (most frames), middle (menu or if two left frames are open), fullscreen (map), doublewide (auction), or center (main menu).<br> | ||
'pushable' specifies the priority of your window. If two other "left" windows are already open, when a third frame opens, the one with the lowest priority is closed. | 'pushable' specifies the priority of your window. If two other "left" windows are already open, when a third frame opens, the one with the lowest priority is closed. | ||