Struct direct_gui::controls::Label [] [src]

pub struct Label { /* fields omitted */ }

A text label widget using a font resource to render the text.

Methods

impl Label
[src]

[src]

Create a new label for rendering of static text.

[src]

Get the position.

[src]

Map a position.

[src]

Change the position.

[src]

Get the text.

[src]

Map the label text.

[src]

Update the text of the label.

Trait Implementations

impl Control for Label
[src]

[src]

Update the control.

[src]

Draw the control on the output buffer.

[src]

Retrieve what type of control this is.

[src]

For downcasting.

[src]

For downcasting.