The OpenD Programming Language

Radiobox

Creates a radio button with an associated label. These are usually put inside a Fieldset.

More...

Constructors

this
this(string label, Widget parent)

Members

Mixins

__anonymous
mixin Emits!(ChangeEvent!bool)

Emits a change event with if it is checked. Note that when you select one in a group, that one will emit changed with value == true, and the previous one will emit changed with value == false right before. A button group may catch this and change the event.

Detailed Description

Please note that the ampersand (&) character gets special treatment as described on this page https://docs.microsoft.com/en-us/windows/win32/menurc/common-control-parameters?redirectedfrom=MSDN

Use double-ampersand, "First && Second", to be displayed as a single one, "First & Second".

Meta

History

The ampersand behavior was always the case on Windows, but it wasn't until June 15, 2021 when Linux was changed to match it and the documentation updated to reflect it.