pub trait FrameExt: 'static {
Show 17 methods
// Required methods
fn get_label(&self) -> Option<GString>;
fn get_label_align(&self) -> (f32, f32);
fn get_label_widget(&self) -> Option<Widget>;
fn get_shadow_type(&self) -> ShadowType;
fn set_label(&self, label: Option<&str>);
fn set_label_align(&self, xalign: f32, yalign: f32);
fn set_label_widget<P: IsA<Widget>>(&self, label_widget: Option<&P>);
fn set_shadow_type(&self, type_: ShadowType);
fn get_property_label_xalign(&self) -> f32;
fn set_property_label_xalign(&self, label_xalign: f32);
fn get_property_label_yalign(&self) -> f32;
fn set_property_label_yalign(&self, label_yalign: f32);
fn connect_property_label_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_label_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_label_xalign_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_label_yalign_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_shadow_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_label(&self) -> Option<GString>
fn get_label_align(&self) -> (f32, f32)
fn get_label_widget(&self) -> Option<Widget>
fn get_shadow_type(&self) -> ShadowType
fn set_label(&self, label: Option<&str>)
fn set_label_align(&self, xalign: f32, yalign: f32)
fn set_label_widget<P: IsA<Widget>>(&self, label_widget: Option<&P>)
fn set_shadow_type(&self, type_: ShadowType)
fn get_property_label_xalign(&self) -> f32
fn set_property_label_xalign(&self, label_xalign: f32)
fn get_property_label_yalign(&self) -> f32
fn set_property_label_yalign(&self, label_yalign: f32)
fn connect_property_label_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_label_widget_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_label_xalign_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_label_yalign_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_shadow_type_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.