CheckButton
Object Hierarchy:
Description:
public class CheckButton :
Widget
A checkable button widget. There are two variations, a checkbox and a radio button.
Content:
Properties:
- public CheckButtonType check_button_type { construct; get; }
Gets the style of checkbutton.
- public bool checked { set; get; }
Gets and sets the state of the CheckButton.
- public CheckButtonGroup? group { construct; get; }
Gets the group that the CheckButton has been asigned to. Returns
null
for checkboxes since they don't have groups.
- public int outer_size { set; get; }
Gets and sets the outer size (width and height) of the CheckButton in
pixels.
- public int inner_size { set; get; }
Gets and sets the inner size (width and height) of the CheckButton in
pixels.
Creation methods:
Methods:
- protected override int get_preferred_width ()
Gets the preferred width of the widget.
- protected override int get_preferred_height ()
Gets the preferred height of the widget.
- protected override void draw_content ()
Implementations should override this method.
Inherited Members:
All known members inherited from class EV3devKit.UI.Widget
All known members inherited from class GLib.Object
- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer
- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata
- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count