Struct native_windows_gui::ProgressBarT [] [src]

pub struct ProgressBarT<ID: Hash + Clone> {
    pub position: (i32, i32),
    pub size: (u32, u32),
    pub visible: bool,
    pub disabled: bool,
    pub range: (u32, u32),
    pub value: u32,
    pub step: u32,
    pub state: ProgressBarState,
    pub vertical: bool,
    pub parent: ID,
}

A template that creates a progress bar

Events:
Event::Destroyed, Event::Moved, Event::Resized, Event::Raw

Members:
position: The start position of the progressbar
size: The start size of the progressbar
visible: If the progressbar should be visible to the user
disabled: If the user can or can't click on the progressbar
range: The minimum and the maximum value of the progress bar
position: The starting position of the progress bar
step: Amount of value to add when step is called
state: The state of the progress bar. • vertical: If the progress bar should be vertical instead of horizontal • parent: The progressbar parent

Fields

Trait Implementations

impl<ID: Clone + Hash + Clone> Clone for ProgressBarT<ID>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<ID: Hash + Clone> ControlT<ID> for ProgressBarT<ID>
[src]

Should return the TypeId of the generated control. For example a WindowT struct returns the TypeId of a Window struct.

Should return the events supported by the control.

Should instance the control and return it as a Box. If an error is raised, it will be returned by ui.commit.