[][src]Trait eztui::Wiget

pub trait Wiget {
    pub fn new(x: u16, y: u16, width: u16, height: u16) -> Self;
pub fn set_text(&mut self, location: u16, text: &str);
pub fn set_pos(&mut self, x: u16, y: u16);
pub fn set_size(&mut self, width: u16, height: u16);
pub fn draw(&self, stdout: &mut Stdout); }

Base group of methods.

Required methods

pub fn new(x: u16, y: u16, width: u16, height: u16) -> Self[src]

pub fn set_text(&mut self, location: u16, text: &str)[src]

pub fn set_pos(&mut self, x: u16, y: u16)[src]

pub fn set_size(&mut self, width: u16, height: u16)[src]

pub fn draw(&self, stdout: &mut Stdout)[src]

Loading content...

Implementors

impl Wiget for Window[src]

pub fn set_size(&mut self, width: u16, height: u16)[src]

Sets size of buffer.

pub fn draw(&self, stdout: &mut Stdout)[src]

Drawing does not flush.

Loading content...