Widget/Checkbox

From Gui

< Widget(Difference between revisions)
(Created type "Checkbox")
(id property)
 
(One intermediate revision not shown)
Line 7: Line 7:
== Properties ==
== Properties ==
 +
* id
* checked (boolean)
* checked (boolean)
 +
* group (optional)
== Events ==
== Events ==
 +
 +
== Toolkits That Differ ==
 +
 +
* [[Qt]] uses the parent widget of their radio button widgets to infer group and has a special pseudowidget (QButtonGroup) that can be used for extra control
 +
* [[XUL]] has a special pseudowidget that is used as the group for all radio buttons to infer group
 +
 +
NOTE: inputs can infer group and outputs can create pseudoparents for checkboxes that have a group

Current revision as of 02:48, 13 June 2009

A Checkbox is a widget that has a state of being "checked" or "unchecked" (or "selected" or "deselected").

Checkboxes can be grouped together. Some groups only allow one box to be "checked" at a time.

NOTE: some toolkits allow for "three state" checkboxes. These checkboxes can be "checked", "unchecked", or "neither".

[edit] Properties

  • id
  • checked (boolean)
  • group (optional)

[edit] Events

[edit] Toolkits That Differ

  • Qt uses the parent widget of their radio button widgets to infer group and has a special pseudowidget (QButtonGroup) that can be used for extra control
  • XUL has a special pseudowidget that is used as the group for all radio buttons to infer group

NOTE: inputs can infer group and outputs can create pseudoparents for checkboxes that have a group

Personal tools