[][src]Trait gtk::GridExt

pub trait GridExt: 'static {
    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

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

Loading content...

Implementors

impl<O: IsA<Grid>> GridExt for O[src]

Loading content...