Trait gtk::prelude::LayoutExt

source ·
pub trait LayoutExt: IsA<Layout> + Sealed + 'static {
Show 15 methods // Provided methods fn bin_window(&self) -> Option<Window> { ... } fn size(&self) -> (u32, u32) { ... } fn move_(&self, child_widget: &impl IsA<Widget>, x: i32, y: i32) { ... } fn put(&self, child_widget: &impl IsA<Widget>, x: i32, y: i32) { ... } fn set_size(&self, width: u32, height: u32) { ... } fn height(&self) -> u32 { ... } fn set_height(&self, height: u32) { ... } fn width(&self) -> u32 { ... } fn set_width(&self, width: u32) { ... } fn child_x<T: IsA<Widget>>(&self, item: &T) -> i32 { ... } fn set_child_x<T: IsA<Widget>>(&self, item: &T, x: i32) { ... } fn child_y<T: IsA<Widget>>(&self, item: &T) -> i32 { ... } fn set_child_y<T: IsA<Widget>>(&self, item: &T, y: i32) { ... } fn connect_height_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_width_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn bin_window(&self) -> Option<Window>

source

fn size(&self) -> (u32, u32)

source

fn move_(&self, child_widget: &impl IsA<Widget>, x: i32, y: i32)

source

fn put(&self, child_widget: &impl IsA<Widget>, x: i32, y: i32)

source

fn set_size(&self, width: u32, height: u32)

source

fn height(&self) -> u32

source

fn set_height(&self, height: u32)

source

fn width(&self) -> u32

source

fn set_width(&self, width: u32)

source

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

source

fn set_child_x<T: IsA<Widget>>(&self, item: &T, x: i32)

source

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

source

fn set_child_y<T: IsA<Widget>>(&self, item: &T, y: i32)

source

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

source

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

Implementors§

source§

impl<O: IsA<Layout>> LayoutExt for O