Trait GridExt

Source
pub trait GridExt: IsA<Grid> + 'static {
Show 27 methods // Provided methods fn attach( &self, child: &impl IsA<Widget>, column: i32, row: i32, width: i32, height: i32, ) { ... } fn attach_next_to( &self, child: &impl IsA<Widget>, sibling: Option<&impl IsA<Widget>>, side: PositionType, width: i32, height: i32, ) { ... } fn baseline_row(&self) -> i32 { ... } fn child_at(&self, column: i32, row: i32) -> Option<Widget> { ... } fn is_column_homogeneous(&self) -> bool { ... } fn column_spacing(&self) -> u32 { ... } fn row_baseline_position(&self, row: i32) -> BaselinePosition { ... } fn is_row_homogeneous(&self) -> bool { ... } fn row_spacing(&self) -> u32 { ... } fn insert_column(&self, position: i32) { ... } fn insert_next_to(&self, sibling: &impl IsA<Widget>, side: PositionType) { ... } fn insert_row(&self, position: i32) { ... } fn query_child(&self, child: &impl IsA<Widget>) -> (i32, i32, i32, i32) { ... } fn remove(&self, child: &impl IsA<Widget>) { ... } fn remove_column(&self, position: i32) { ... } fn remove_row(&self, position: i32) { ... } fn set_baseline_row(&self, row: i32) { ... } fn set_column_homogeneous(&self, homogeneous: bool) { ... } fn set_column_spacing(&self, spacing: u32) { ... } fn set_row_baseline_position(&self, row: i32, pos: BaselinePosition) { ... } fn set_row_homogeneous(&self, homogeneous: bool) { ... } fn set_row_spacing(&self, spacing: u32) { ... } fn connect_baseline_row_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_column_homogeneous_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_column_spacing_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_row_homogeneous_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... } fn connect_row_spacing_notify<F>(&self, f: F) -> SignalHandlerId where F: Fn(&Self) + 'static { ... }
}

Provided Methods§

Source

fn attach( &self, child: &impl IsA<Widget>, column: i32, row: i32, width: i32, height: i32, )

Source

fn attach_next_to( &self, child: &impl IsA<Widget>, sibling: Option<&impl IsA<Widget>>, side: PositionType, width: i32, height: i32, )

Source

fn baseline_row(&self) -> i32

Source

fn child_at(&self, column: i32, row: i32) -> Option<Widget>

Source

fn is_column_homogeneous(&self) -> bool

Source

fn column_spacing(&self) -> u32

Source

fn row_baseline_position(&self, row: i32) -> BaselinePosition

Source

fn is_row_homogeneous(&self) -> bool

Source

fn row_spacing(&self) -> u32

Source

fn insert_column(&self, position: i32)

Source

fn insert_next_to(&self, sibling: &impl IsA<Widget>, side: PositionType)

Source

fn insert_row(&self, position: i32)

Source

fn query_child(&self, child: &impl IsA<Widget>) -> (i32, i32, i32, i32)

Source

fn remove(&self, child: &impl IsA<Widget>)

Source

fn remove_column(&self, position: i32)

Source

fn remove_row(&self, position: i32)

Source

fn set_baseline_row(&self, row: i32)

Source

fn set_column_homogeneous(&self, homogeneous: bool)

Source

fn set_column_spacing(&self, spacing: u32)

Source

fn set_row_baseline_position(&self, row: i32, pos: BaselinePosition)

Source

fn set_row_homogeneous(&self, homogeneous: bool)

Source

fn set_row_spacing(&self, spacing: u32)

Source

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

Source

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

Source

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

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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