Trait gtk4::prelude::GridExt

source ·
pub trait GridExt: 'static {
Show 27 methods // Required 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: 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;
}

Required 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: 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