/// Creates a new empty SelectView.
Creates a new empty SelectView.
Creates a new empty SelectView .
pub fn new() -> Self {
        MultiSelectView {
            items: Vec::new(),
            enabled: true,
            focus: Rc::new(Cell::new(0)),
            on_select: None,
            on_submit: None,
            align: Align::top_left(),
            popup: false,
            last_offset: Cell::new(Vec2::zero()),
            last_size: Vec2::zero(),
            input_buffer: Vec::new(),
            input_num_buffer: Vec::new(),
            input_count: 0,
        }
    }
pub fn new ( ) -> Self { MultiSelectView { items : Vec :: new ( ) , enabled : true , focus : Rc :: new ( Cell :: new ( 0 ) ) , on_select : None , on_submit : None , align : Align :: top_left ( ) , popup : false , last_offset : Cell :: new ( Vec2 :: zero ( ) ) , last_size : Vec2 :: zero ( ) , input_buffer : Vec :: new ( ) , input_num_buffer : Vec :: new ( ) , input_count : 0 , } }
Creates a new empty SelectView.
Creates a new empty SelectView .