Button.this

Creates a Button with the supplied Text object.

  1. this(dstring text, string source, Box position)
  2. this(Text text, string source, Box position)
    class Button
    public
    this
    (
    Text text
    ,
    string source
    ,)

Parameters

text Text

The text to be displayed on the button. Can contain one or more icons.

source string

The source of the events emitted by this window element.

position Box

Defines where the button should be drawn.

Meta