mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:02:45 +00:00 
			
		
		
		
	 426a09ca4a
			
		
	
	
		426a09ca4a
		
	
	
	
	
		
			
			This is a bundle of changes to the "new" GML documentation that I just noticed two hours ago. - Fix a bunch of typos, wording and style - Rework layout object documentation (they're not widgets!) - Document most of the common properties - Finish (as for now) GML syntax documentation - Extend GML usage explanation - Add symlink "GML" so that man gml works - Add a categorized GML page list to the introduction man page - Cross-link much more Much of the editing of existing docs is clearing up incorrect or imprecise statements. Note that because of massive changes in some places, git won't recognize renames as such.
		
			
				
	
	
		
			35 lines
		
	
	
	
		
			568 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
	
		
			568 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ## Name
 | |
| 
 | |
| GML Checkbox Widget
 | |
| 
 | |
| ## Description
 | |
| 
 | |
| Defines a GUI checkbox widget.
 | |
| 
 | |
| ## Synopsis
 | |
| 
 | |
| `@GUI::CheckBox`
 | |
| 
 | |
| ## Examples
 | |
| 
 | |
| ```gml
 | |
| @GUI::CheckBox {
 | |
|     name: "top_checkbox"
 | |
|     text: "Checkbox"
 | |
| }
 | |
| 
 | |
| @GUI::CheckBox {
 | |
|     name: "bottom_checkbox"
 | |
|     text: "Disabled"
 | |
|     enabled: false
 | |
| }
 | |
| ```
 | |
| 
 | |
| ## Registered Properties
 | |
| 
 | |
| | Property | Type | Possible values | Description              |
 | |
| |----------|------|-----------------|--------------------------|
 | |
| | autosize | bool | true or false   | Determines if auto-sized |
 | |
| 
 | |
| ## See also
 | |
| - [GML Button](help://man/5/GML-Widget-Button)
 |