Trait WidgetType
Other items infltk::prelude
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
fn from_i32(val: i32) -> BrowserType
impl WidgetType for ButtonType
fn from_i32(val: i32) -> ButtonType
impl WidgetType for FileDialogOptions
fn from_i32(val: i32) -> FileDialogOptions
impl WidgetType for FileDialogType
fn from_i32(val: i32) -> FileDialogType
impl WidgetType for PackType
fn from_i32(val: i32) -> PackType
impl WidgetType for ScrollType
fn from_i32(val: i32) -> ScrollType
impl WidgetType for InputType
fn from_i32(val: i32) -> InputType
impl WidgetType for ChartType
fn from_i32(val: i32) -> ChartType
impl WidgetType for ClockType
fn from_i32(val: i32) -> ClockType
impl WidgetType for CounterType
fn from_i32(val: i32) -> CounterType
impl WidgetType for DialType
fn from_i32(val: i32) -> DialType
impl WidgetType for ScrollbarType
fn from_i32(val: i32) -> ScrollbarType
impl WidgetType for SliderType
fn from_i32(val: i32) -> SliderType
impl WidgetType for WindowType
fn from_i32(val: i32) -> WindowType