Trait GridExt

Source
pub trait GridExt: 'static {
Show 33 methods // Required methods fn attach<P: IsA<Widget>>( &self, child: &P, left: i32, top: i32, width: i32, height: i32, ); fn attach_next_to<P: IsA<Widget>, Q: IsA<Widget>>( &self, child: &P, sibling: Option<&Q>, side: PositionType, width: i32, height: i32, ); fn get_baseline_row(&self) -> i32; fn get_child_at(&self, left: i32, top: i32) -> Option<Widget>; fn get_column_homogeneous(&self) -> bool; fn get_column_spacing(&self) -> u32; fn get_row_baseline_position(&self, row: i32) -> BaselinePosition; fn get_row_homogeneous(&self) -> bool; fn get_row_spacing(&self) -> u32; fn insert_column(&self, position: i32); fn insert_next_to<P: IsA<Widget>>(&self, sibling: &P, side: PositionType); fn insert_row(&self, position: i32); 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 get_cell_height<T: IsA<Widget>>(&self, item: &T) -> i32; fn set_cell_height<T: IsA<Widget>>(&self, item: &T, height: i32); fn get_cell_width<T: IsA<Widget>>(&self, item: &T) -> i32; fn set_cell_width<T: IsA<Widget>>(&self, item: &T, width: i32); fn get_cell_left_attach<T: IsA<Widget>>(&self, item: &T) -> i32; fn set_cell_left_attach<T: IsA<Widget>>(&self, item: &T, left_attach: i32); fn get_cell_top_attach<T: IsA<Widget>>(&self, item: &T) -> i32; fn set_cell_top_attach<T: IsA<Widget>>(&self, item: &T, top_attach: i32); fn connect_property_baseline_row_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_column_homogeneous_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_column_spacing_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_row_homogeneous_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_row_spacing_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

fn attach<P: IsA<Widget>>( &self, child: &P, left: i32, top: i32, width: i32, height: i32, )

Source

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

Source

fn get_baseline_row(&self) -> i32

Source

fn get_child_at(&self, left: i32, top: i32) -> Option<Widget>

Source

fn get_column_homogeneous(&self) -> bool

Source

fn get_column_spacing(&self) -> u32

Source

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

Source

fn get_row_homogeneous(&self) -> bool

Source

fn get_row_spacing(&self) -> u32

Source

fn insert_column(&self, position: i32)

Source

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

Source

fn insert_row(&self, position: i32)

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 get_cell_height<T: IsA<Widget>>(&self, item: &T) -> i32

Source

fn set_cell_height<T: IsA<Widget>>(&self, item: &T, height: i32)

Source

fn get_cell_width<T: IsA<Widget>>(&self, item: &T) -> i32

Source

fn set_cell_width<T: IsA<Widget>>(&self, item: &T, width: i32)

Source

fn get_cell_left_attach<T: IsA<Widget>>(&self, item: &T) -> i32

Source

fn set_cell_left_attach<T: IsA<Widget>>(&self, item: &T, left_attach: i32)

Source

fn get_cell_top_attach<T: IsA<Widget>>(&self, item: &T) -> i32

Source

fn set_cell_top_attach<T: IsA<Widget>>(&self, item: &T, top_attach: i32)

Source

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

Source

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

Source

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

Source

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

Source

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

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: IsA<Grid>> GridExt for O