Haiku API Bindings
CheckBox
Not logged in

Documentation | InterfaceKit | CheckBox

SYNOPSIS

Perl

use HaikuR1::CheckBox;

my $checkbox = HaikuR1::CheckBox->new(
    frame => $frame,
    name => $name,
    label => $label,
    message => $message,
    resizingMode => $resizingMode,
    flags => $flags,
);
$window->AddChild($checkbox);

Python

from HaikuR1.InterfaceKit import CheckBox

CheckBox = CheckBox(
    frame = frame,
    name = name,
    label = label,
    message = message,
    resizingMode = resizingMode,
    flags = flags,
)
window.AddChild(CheckBox)

DESCRIPTION

Exposes the BCheckBox object.

For more information on CheckBox, see the Be Book class description, the Be Book overview, and the Haiku Book class description.

METHODS

Constructor

Creates a checkbox.

Perl

HaikuR1::CheckBox->new(
    frame        => $frame,
    name         => $name,
    label        => $label,
    message      => $message,
    resizingMode => $resizingMode,
    flags        => $flags,
);
HaikuR1::CheckBox->new($archive);

Python

CheckBox(
    frame        = frame,
    name         = name,
    label        = label,
    message      = message,
    resizingMode = resizingMode,
    flags        = flags,
)
CheckBox(archive)

ARCHIVABLE INTERFACE

CheckBox inherits the methods and hooks of Archivable.

HANDLER INTERFACE

CheckBox inherits the methods and hooks of Handler.

VIEW INTERFACE

CheckBox inherits the methods and hooks of View.

CONTROL INTERFACE

CheckBox inherits the methods and hooks of Control.

SCRIPTING SUITE

CheckBox inherits the following suites: