pub trait OrientableExt: 'static {
    // Required methods
    fn orientation(&self) -> Orientation;
    fn set_orientation(&self, orientation: Orientation);
    fn connect_orientation_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}
Expand description

Required Methods§

source

fn orientation(&self) -> Orientation

Retrieves the orientation of the @self.

Returns

the orientation of the @self

source

fn set_orientation(&self, orientation: Orientation)

Sets the orientation of the @self.

orientation

the orientable’s new orientation

source

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

Implementors§