pub struct Textbox { /* private fields */ }
Expand description
A multi-line Textbox widget.
Implementations
sourceimpl Textbox
impl Textbox
pub fn new(left: i32, top: i32, width: i32, height: i32, flags: i32) -> Textbox
pub fn new_reflowed(
left: i32,
top: i32,
text: &str,
width: i32,
flex_down: i32,
flex_up: i32,
flags: i32
) -> Textbox
pub fn set_text(&self, text: &str)
pub fn set_height(&self, height: i32)
pub fn get_num_lines(&self) -> i32
pub fn set_colors(&self, normal: i32, active: i32)
Trait Implementations
sourceimpl PartialEq<ExitReason> for Textbox
impl PartialEq<ExitReason> for Textbox
Auto Trait Implementations
impl !RefUnwindSafe for Textbox
impl !Send for Textbox
impl !Sync for Textbox
impl Unpin for Textbox
impl UnwindSafe for Textbox
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more