Haiku API Bindings
RadioButton
Not logged in

Documentation | InterfaceKit | RadioButton

SYNOPSIS

Perl

use HaikuR1::RadioButton;

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

Python

from HaikuR1.InterfaceKit import RadioButton

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

DESCRIPTION

Exposes the BRadioButton object.

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

METHODS

Constructor

Creates a radio.

Perl

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

Python

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

ARCHIVABLE INTERFACE

RadioButton inherits the methods and hooks of Archivable.

HANDLER INTERFACE

RadioButton inherits the methods and hooks of Handler.

VIEW INTERFACE

RadioButton inherits the methods and hooks of View.

CONTROL INTERFACE

RadioButton inherits the methods and hooks of Control.

SCRIPTING SUITE

RadioButton inherits the following suites: