pub trait PanelGridExt: 'static {
    // Required methods
    fn add(&self, widget: &impl IsA<Widget>);
    fn agree_to_close_async<P: FnOnce(Result<(), Error>) + 'static>(
        &self,
        cancellable: Option<&impl IsA<Cancellable>>,
        callback: P
    );
    fn agree_to_close_future(
        &self
    ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>;
    fn foreach_frame<P: FnMut(&Frame)>(&self, callback: P);
    fn column(&self, column: u32) -> GridColumn;
    fn most_recent_column(&self) -> GridColumn;
    fn most_recent_frame(&self) -> Frame;
    fn n_columns(&self) -> u32;
    fn insert_column(&self, position: u32);
    fn connect_create_frame<F: Fn(&Self) -> Frame + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required Methods§

source

fn add(&self, widget: &impl IsA<Widget>)

source

fn agree_to_close_async<P: FnOnce(Result<(), Error>) + 'static>( &self, cancellable: Option<&impl IsA<Cancellable>>, callback: P )

source

fn agree_to_close_future( &self ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>

source

fn foreach_frame<P: FnMut(&Frame)>(&self, callback: P)

source

fn column(&self, column: u32) -> GridColumn

source

fn most_recent_column(&self) -> GridColumn

source

fn most_recent_frame(&self) -> Frame

source

fn n_columns(&self) -> u32

source

fn insert_column(&self, position: u32)

source

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

Implementors§

source§

impl<O: IsA<Grid>> GridExt for O