1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
pub use crate::prelude::*;
use fltk_sys::browser::*;
use std::{ffi::CString, mem, os::raw};
#[derive(WidgetTrait, BrowserTrait, Debug, Clone)]
pub struct Browser {
_inner: *mut Fl_Browser,
}
#[repr(i32)]
#[derive(WidgetType, Debug, Copy, Clone)]
pub enum BrowserType {
NormalBrowser = 0,
SelectBrowser = 1,
HoldBrowser = 2,
MultiBrowser = 3,
}
#[derive(WidgetTrait, BrowserTrait, Debug, Clone)]
pub struct SelectBrowser {
_inner: *mut Fl_Select_Browser,
}
#[derive(WidgetTrait, BrowserTrait, Debug, Clone)]
pub struct MultiBrowser {
_inner: *mut Fl_Multi_Browser,
}
#[derive(WidgetTrait, BrowserTrait, Debug, Clone)]
pub struct HoldBrowser {
_inner: *mut Fl_Hold_Browser,
}