pub trait GridExt: 'static {
Show 27 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;
}