Bambookit Home
Bambookit GUI Tutorial
Back
Next
II. GUI Basics
Chapter 10. Widgets Attributes
Set Group
Method signature
setGroup = "
[string]
"
[string]
Assign this control to a group. This is used for grouping radio buttons or 'sticky' buttons, this enforces a single widget bieng 'set' within the group
Se also
Sticky
Examples
In this example we will be using a button widget. Upon user click the button is selected. To be sticky for this group of buttons each button in the image below requires the following:
.. setSticky="true" setGroup="mygroup"
In this example we will be using a radio button. If group of radio buttons set, only one radio can be selected from this group.
.. setGroup="myradio"
Back
Next