Struct gtk_sys::GtkSwitchClass
source · #[repr(C)]pub struct GtkSwitchClass {
pub parent_class: GtkWidgetClass,
pub activate: Option<unsafe extern "C" fn(_: *mut GtkSwitch)>,
pub state_set: Option<unsafe extern "C" fn(_: *mut GtkSwitch, _: gboolean) -> gboolean>,
pub _switch_padding_1: Option<unsafe extern "C" fn()>,
pub _switch_padding_2: Option<unsafe extern "C" fn()>,
pub _switch_padding_3: Option<unsafe extern "C" fn()>,
pub _switch_padding_4: Option<unsafe extern "C" fn()>,
pub _switch_padding_5: Option<unsafe extern "C" fn()>,
}
Fields§
§parent_class: GtkWidgetClass
§activate: Option<unsafe extern "C" fn(_: *mut GtkSwitch)>
§state_set: Option<unsafe extern "C" fn(_: *mut GtkSwitch, _: gboolean) -> gboolean>
§_switch_padding_1: Option<unsafe extern "C" fn()>
§_switch_padding_2: Option<unsafe extern "C" fn()>
§_switch_padding_3: Option<unsafe extern "C" fn()>
§_switch_padding_4: Option<unsafe extern "C" fn()>
§_switch_padding_5: Option<unsafe extern "C" fn()>
Trait Implementations§
source§impl Clone for GtkSwitchClass
impl Clone for GtkSwitchClass
source§fn clone(&self) -> GtkSwitchClass
fn clone(&self) -> GtkSwitchClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more