Difference between revisions of "LavishGUI:UI (Command)"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
UI -reset|-load <filename>|-reload <filename>|-unload <filename>
 
UI -reset|-load <filename>|-reload <filename>|-unload <filename>
  
== Description ==
+
== Forms ==
* -reset
+
*UI -reset - clears all UI elements including the console
: Clears all UI elements.  This includes the console, so have a plan for entering commands if necessary.
+
*UI -load <filename> - loads an XML interface file and adds the new elements to the current interface. Any top-level elements in the file that already exist in the current UI will be skipped
* -load <filename>
+
*UI -reload <filename> - same as load except it will not skip existing elements and replace them instead
: Loads an XML interface file.  This is ''cumulative'' and will simply add the new elements to the current interface. Any top-level elements in the file that already exist in the current UI will be skipped
+
*UI -unload <filename> - Unloads each of the elements described in the XML file
* -reload <filename>
 
: Same as -load, but will not skip existing elements (it will replace them)
 
* -unload <filename>
 
: Unloads each of the elements described in the given XML file
 
 
 
 
<small>Tip: The UIElement command can be used to remove specific UI elements</small>
 
<small>Tip: The UIElement command can be used to remove specific UI elements</small>
  

Revision as of 21:37, 24 August 2005

Syntax

Command Difficulty Rating
UI
Usage Newbie
Level of Understanding Newbie
Computer Savvy Newbie
Logic Newbie

UI -reset|-load <filename>|-reload <filename>|-unload <filename>

Forms

  • UI -reset - clears all UI elements including the console
  • UI -load <filename> - loads an XML interface file and adds the new elements to the current interface. Any top-level elements in the file that already exist in the current UI will be skipped
  • UI -reload <filename> - same as load except it will not skip existing elements and replace them instead
  • UI -unload <filename> - Unloads each of the elements described in the XML file

Tip: The UIElement command can be used to remove specific UI elements

Examples

  • ui -reset
  • ui -load defaultui
  • ui -load myui
  • ui -reload myui
  • ui -unload myui

See Also