pub trait WidgetType { fn to_i32(self) -> i32; fn from_i32(val: i32) -> Self; }
A trait defined for all enums passable to the WidgetExt::set_type() method
WidgetExt::set_type()
fn to_i32(self) -> i32
Get the integral representation of the widget type
fn from_i32(val: i32) -> Self
Get the widget type from its integral representation
impl WidgetType for BrowserType
impl WidgetType for ButtonType
impl WidgetType for FileDialogOptions
impl WidgetType for FileDialogType
impl WidgetType for PackType
impl WidgetType for ScrollType
impl WidgetType for InputType
impl WidgetType for MenuButtonType
impl WidgetType for ChartType
impl WidgetType for ClockType
impl WidgetType for CounterType
impl WidgetType for DialType
impl WidgetType for ScrollbarType
impl WidgetType for SliderType
impl WidgetType for WindowType