pub trait WidgetType {
    fn to_i32(self) -> i32;
    fn from_i32(val: i32) -> Self;
}
Expand description

A trait defined for all enums passable to the WidgetExt::set_type() method

Required Methods

Get the integral representation of the widget type

Get the widget type from its integral representation

Implementors