Squirrel/Client/Functions/GUICheckbox/GUICheckbox

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Squirrel/Title|GUICheckbox}} This function creates a GUI checkbox. == Syntax == <code>GUICheckbox GUICheckbox( VectorScreen pos, VectorScreen size, [ bool checked ] )</code>…')
 
m (Wrong types)
 
Line 1: Line 1:
 
{{Squirrel/Title|GUICheckbox}}
 
{{Squirrel/Title|GUICheckbox}}
 
 
This function creates a GUI checkbox.
 
This function creates a GUI checkbox.
  
 
== Syntax ==
 
== Syntax ==
  
<code>GUICheckbox GUICheckbox( VectorScreen pos, VectorScreen size, [ bool checked ] )</code>
+
<code>GUICheckbox GUICheckbox( VectorScreen pos, ScreenSize size, [ bool checked ] )</code>
  
 
== Arguments ==
 
== Arguments ==
  
 
* '''pos''' - The position of the checkbox on screen or related to its parent element
 
* '''pos''' - The position of the checkbox on screen or related to its parent element
* '''size''' - The size of the checkbox
+
* '''size''' - The size of the checkbox as a ''ScreenSize'' object
 
* '''checked''' - If this is true the checkbox will be selected by default
 
* '''checked''' - If this is true the checkbox will be selected by default
  

Latest revision as of 19:50, 17 October 2010

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This function creates a GUI checkbox.

[edit] Syntax

  1. GUICheckbox GUICheckbox( VectorScreen pos, ScreenSize size, [ bool checked ] )

[edit] Arguments

  • pos - The position of the checkbox on screen or related to its parent element
  • size - The size of the checkbox as a ScreenSize object
  • checked - If this is true the checkbox will be selected by default

[edit] Example

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o

Explanation here.

  1.  
  2. -- todo
  3.  

[edit] Notes

Used functions and other notes here.

[edit] Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox