Trait gtk::ContainerExt [] [src]

pub trait ContainerExt {
    fn add<P: IsA<Widget>>(&self, widget: &P);
    fn check_resize(&self);
    fn child_notify<P: IsA<Widget>>(&self, child: &P, child_property: &str);
    fn child_type(&self) -> Type;
    fn get_border_width(&self) -> u32;
    fn get_children(&self) -> Vec<Widget>;
    fn get_focus_child(&self) -> Option<Widget>;
    fn get_focus_hadjustment(&self) -> Option<Adjustment>;
    fn get_focus_vadjustment(&self) -> Option<Adjustment>;
    fn get_resize_mode(&self) -> ResizeMode;
    fn propagate_draw<P: IsA<Widget>>(&self, child: &P, cr: &Context);
    fn remove<P: IsA<Widget>>(&self, widget: &P);
    fn resize_children(&self);
    fn set_border_width(&self, border_width: u32);
    fn set_focus_chain(&self, focusable_widgets: &[Widget]);
    fn set_focus_child<'a, P: IsA<Widget> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        child: Q
    ); fn set_focus_hadjustment(&self, adjustment: &Adjustment); fn set_focus_vadjustment(&self, adjustment: &Adjustment); fn set_reallocate_redraws(&self, needs_redraws: bool); fn set_resize_mode(&self, resize_mode: ResizeMode); fn unset_focus_chain(&self); fn set_property_child<P: IsA<Widget> + IsA<Object> + SetValueOptional>(
        &self,
        child: Option<&P>
    ); fn connect_add<F: Fn(&Self, &Widget) + 'static>(&self, f: F) -> u64; fn connect_check_resize<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_remove<F: Fn(&Self, &Widget) + 'static>(&self, f: F) -> u64; fn connect_set_focus_child<F: Fn(&Self, &Widget) + 'static>(
        &self,
        f: F
    ) -> u64; }

Required Methods

Implementors