pub struct InputInt<'ui, 'p, L> { /* private fields */ }
Implementations§
source§impl<'ui, 'p, L: AsRef<str>> InputInt<'ui, 'p, L>
impl<'ui, 'p, L: AsRef<str>> InputInt<'ui, 'p, L>
pub fn new(ui: &'ui Ui, label: L, value: &'p mut i32) -> Self
👎Deprecated since 0.9.0: use
ui.input_int
or ui.input_scalar
insteadpub fn build(self) -> bool
pub fn step(self, value: i32) -> Self
pub fn step_fast(self, value: i32) -> Self
pub fn flags(self, flags: InputTextFlags) -> Self
pub fn chars_decimal(self, value: bool) -> Self
pub fn chars_hexadecimal(self, value: bool) -> Self
pub fn chars_uppercase(self, value: bool) -> Self
pub fn chars_noblank(self, value: bool) -> Self
pub fn auto_select_all(self, value: bool) -> Self
pub fn enter_returns_true(self, value: bool) -> Self
pub fn allow_tab_input(self, value: bool) -> Self
pub fn no_horizontal_scroll(self, value: bool) -> Self
sourcepub fn always_insert_mode(self, value: bool) -> Self
pub fn always_insert_mode(self, value: bool) -> Self
Note: this is equivalent to always_overwrite