Trait gtk4::prelude::OrientableExt

source ·
pub trait OrientableExt:
    IsA<Orientable>
    + Sealed
    + 'static {
    // Provided 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

Provided 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

Object Safety§

This trait is not object safe.

Implementors§