pub trait AspectFrameExt: IsA<AspectFrame> + Sealed + 'static {
Show 13 methods // Provided methods fn set(&self, xalign: f32, yalign: f32, ratio: f32, obey_child: bool) { ... } fn is_obey_child(&self) -> bool { ... } fn set_obey_child(&self, obey_child: bool) { ... } fn ratio(&self) -> f32 { ... } fn set_ratio(&self, ratio: f32) { ... } fn xalign(&self) -> f32 { ... } fn set_xalign(&self, xalign: f32) { ... } fn yalign(&self) -> f32 { ... } fn set_yalign(&self, yalign: f32) { ... } fn connect_obey_child_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_ratio_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_xalign_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_yalign_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn set(&self, xalign: f32, yalign: f32, ratio: f32, obey_child: bool)

source

fn is_obey_child(&self) -> bool

source

fn set_obey_child(&self, obey_child: bool)

source

fn ratio(&self) -> f32

source

fn set_ratio(&self, ratio: f32)

source

fn xalign(&self) -> f32

source

fn set_xalign(&self, xalign: f32)

source

fn yalign(&self) -> f32

source

fn set_yalign(&self, yalign: f32)

source

fn connect_obey_child_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

fn connect_ratio_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_xalign_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

source

fn connect_yalign_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Implementors§