Struct orbtk::primitives::TextWidget [] [src]

pub struct TextWidget {
    pub rect: Cell<Rect>,
    pub selector: CloneCell<Selector>,
    pub text: CloneCell<String>,
    // some fields omitted
}

Fields

Methods

impl TextWidget
[src]

[src]

[src]

[src]

Trait Implementations

impl Place for TextWidget
[src]

[src]

[src]

[src]

impl Style for TextWidget
[src]

[src]

[src]

[src]

[src]

[src]

impl Widget for TextWidget
[src]

[src]

Return the name of the widget.

[src]

Borrow the render rect of the widget.

[src]

Borrow the vertical placement of the widget.

[src]

Borrow the horizontal placement of the widget.

[src]

Borrow the margin of the widget.

[src]

Borrow the local position of the widget. The local position describes position of the widget relative to it's parent.

[src]

Used to draw the widget by render code.

[src]

Handle the incoming events by bubbling from child to parent. Must have overwritten to create a custom bubbling event handling. Read more

[src]

Borrow the children of the widget.

[src]

Handle the incoming events by tunneling from parent to child. Must have overwritten to create a custom tunneling event handling. Read more

[src]

Add a child to the widget.

[src]

Used to update the state of the widget. Could be used to update the selector.

[src]

Arrange the children of the widget. Could be override to create a custom layout.