Trait gtk::prelude::GridExt

source ·
pub trait GridExt: IsA<Grid> + Sealed + 'static {
Show 33 methods // Provided methods fn attach( &self, child: &impl IsA<Widget>, left: i32, top: 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, left: i32, top: 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 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 cell_height<T: IsA<Widget>>(&self, item: &T) -> i32 { ... } fn set_cell_height<T: IsA<Widget>>(&self, item: &T, height: i32) { ... } fn cell_width<T: IsA<Widget>>(&self, item: &T) -> i32 { ... } fn set_cell_width<T: IsA<Widget>>(&self, item: &T, width: i32) { ... } fn 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 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_baseline_row_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_column_homogeneous_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_column_spacing_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_row_homogeneous_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_row_spacing_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn attach( &self, child: &impl IsA<Widget>, left: i32, top: 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, left: i32, top: 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 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 cell_height<T: IsA<Widget>>(&self, item: &T) -> i32

source

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

source

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

source

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

source

fn 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 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_baseline_row_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId

source

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

source

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

source

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

source

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

Implementors§

source§

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