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

From Lavish Software Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Syntax ==
 
== Syntax ==
 
{{CMD-DR|UI|Newbie|Newbie|Newbie|Newbie}}
 
{{CMD-DR|UI|Newbie|Newbie|Newbie|Newbie}}
UI -reset|-load <filename>|-reload <filename>
+
UI -reset|-load <filename>|-reload <filename>|-unload <filename>
  
 
== Description ==
 
== Description ==
Line 10: Line 10:
 
* -reload <filename>
 
* -reload <filename>
 
: Same as -load, but will not skip existing elements (it will replace them)
 
: 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>
Line 18: Line 20:
 
* ui -load myui
 
* ui -load myui
 
* ui -reload myui
 
* ui -reload myui
 +
* ui -unload myui
  
 
== See Also ==
 
== See Also ==

Revision as of 16:51, 3 June 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>

Description

  • -reset
Clears all UI elements. This includes the console, so have a plan for entering commands if necessary.
  • -load <filename>
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
  • -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

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