The checkbox gadget class is used to create toggling check buttons. Selection of an associated option is denoted by the gadget being "checked", or in other words, containing a checkmark with in the checkbox. Unlike GadTools, GA_Height and GA_Width DO NOT specify the checkbox size, but rather the entire hit box area which includes the text label. The checkbox will maintain its aspect ratio when possible.
Advantages that this class provides over the standard gadtools checkbox are:
-
Supports window relativity.
-
Ability to change background pen, text pen, and filltext pen.
-
Larger selection area, includes text label area.
-
Supports OS 3.0 BOOPSI Gadget HelpTest.
-
Aspect adaptive checkbox for any resolution and font.