Struct rstk::spinbox::TkSpinboxRange [−][src]
pub struct TkSpinboxRange { pub id: String, }
Expand description
Refers to a spinbox widget for numbers
Fields
id: String
Implementations
Sets the state of the widget; Readonly means user cannot enter their own value, but must pick from the given selection.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Creates a GridLayout instance for placing this widget within its parent.
Removes this widget from layout.
Creates a PackLayout instance for placing this widget within its parent
Sets properties for widget layout
Removes this widget from layout
Binds a command to this widget to call on given event pattern
Retrieve the value of a configuration option as a string. Read more
Used to change properties of a widget. This function can be used to directly configure the widget using an option-value string pair: Read more
Returns the widget x position in pixels, within its parent.
Returns the widget y position in pixels, within its parent.
Returns the widget height in pixels.
Returns the widget width in pixels.
Returns the position of the mouse on screen of widget as (x,y).
Height of screen of widget in pixels.
Height of screen of widget in millimetres.
Width of screen of widget in pixels.
Width of screen of widget in millimetres.
Sets property for a given column of the grid layout contained within this widget. Read more
Auto Trait Implementations
impl RefUnwindSafe for TkSpinboxRange
impl Send for TkSpinboxRange
impl Sync for TkSpinboxRange
impl Unpin for TkSpinboxRange
impl UnwindSafe for TkSpinboxRange
Blanket Implementations
Mutably borrows from an owned value. Read more