pub trait GridExt: '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 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;
}