Difference between revisions of "LGUI2:LS1:lgui2window"

From Lavish Software Wiki
Jump to: navigation, search
(Created page with "{{ObjectType-Vitals|lgui2window|LavishGUI 2|lgui2headeredcontentbase|lgui2window|none|no|void *}} A lgui2window object provides acc...")
 
 
Line 5: Line 5:
 
== Members ==
 
== Members ==
 
* [[ObjectType:bool|bool]] '''Shade''': TRUE if the window is shaded ("minimized" in place but shown as the header)
 
* [[ObjectType:bool|bool]] '''Shade''': TRUE if the window is shaded ("minimized" in place but shown as the header)
* [[LGUI2:LS1:elgui2sizetocontent|elgui2sizetocontent]] '''Shade''': TRUE if the window is shaded ("minimized" in place but shown as the header)
+
* [[LGUI2:LS1:elgui2sizetocontent|elgui2sizetocontent]] '''SizeToContent''':  
  
 
== Methods ==
 
== Methods ==
 
* '''SetShade['''TRUE/FALSE''']''': Sets a new Shade state
 
* '''SetShade['''TRUE/FALSE''']''': Sets a new Shade state
 
* '''ToggleShade''': Toggles the Shade state, regardless of the current value
 
* '''ToggleShade''': Toggles the Shade state, regardless of the current value
 +
* '''SetSizeToContent['''[[LGUI2:LS1:elgui2sizetocontent|elgui2sizetocontent]]''']''':
  
 
== Examples ==
 
== Examples ==

Latest revision as of 18:10, 13 July 2018

Object Type Vitals
lgui2window
Defined By LavishGUI 2
Inherits lgui2headeredcontentbase
Reduces To lgui2window
Variable Object Type none
Uses Sub-Types no
C/C++ Type void *

A lgui2window object provides access to a window element, and inherits from lgui2headeredcontentbase.

Members

  • bool Shade: TRUE if the window is shaded ("minimized" in place but shown as the header)
  • elgui2sizetocontent SizeToContent:

Methods

  • SetShade[TRUE/FALSE]: Sets a new Shade state
  • ToggleShade: Toggles the Shade state, regardless of the current value
  • SetSizeToContent[elgui2sizetocontent]:

Examples

LavishGUI 2 Element Types

LavishGUI 2 LavishScript Object Types

Core API (see Using LavishGUI 2 from LavishScript)
lgui2 - lgui2eventargs - lgui2eventhandler - lgui2elementtype - lgui2itemviewgeneratorargs - lgui2inputbinding - lgui2layer - lgui2skin
Enums
elgui2dpad - elgui2edge - elgui2fontflags - elgui2horizontalalignment - elgui2imageorientation - elgui2progresstext - elgui2scrollbar - elgui2verticalignment
Element Components
lgui2brush - lgui2fontstyle - lgui2margins - lgui2item
Element Base Types
lgui2element - lgui2bordered - lgui2contentbase - lgui2headeredcontentbase - lgui2itemlist
Elements