pub trait CellRendererToggleExt: 'static {
Show 16 methods
// Required methods
fn get_activatable(&self) -> bool;
fn get_active(&self) -> bool;
fn get_radio(&self) -> bool;
fn set_activatable(&self, setting: bool);
fn set_active(&self, setting: bool);
fn set_radio(&self, radio: bool);
fn get_property_inconsistent(&self) -> bool;
fn set_property_inconsistent(&self, inconsistent: bool);
fn get_property_indicator_size(&self) -> i32;
fn set_property_indicator_size(&self, indicator_size: i32);
fn connect_toggled<F: Fn(&Self, TreePath) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_activatable_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_active_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_inconsistent_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_indicator_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_radio_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_activatable(&self) -> bool
fn get_active(&self) -> bool
fn get_radio(&self) -> bool
fn set_activatable(&self, setting: bool)
fn set_active(&self, setting: bool)
fn set_radio(&self, radio: bool)
fn get_property_inconsistent(&self) -> bool
fn set_property_inconsistent(&self, inconsistent: bool)
fn get_property_indicator_size(&self) -> i32
fn set_property_indicator_size(&self, indicator_size: i32)
fn connect_toggled<F: Fn(&Self, TreePath) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_activatable_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_active_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_inconsistent_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_indicator_size_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_radio_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.