Trait atk::prelude::ComponentExt

source ·
pub trait ComponentExt: IsA<Component> + Sealed + 'static {
Show 13 methods // Provided methods fn contains(&self, x: i32, y: i32, coord_type: CoordType) -> bool { ... } fn alpha(&self) -> f64 { ... } fn extents(&self, coord_type: CoordType) -> (i32, i32, i32, i32) { ... } fn layer(&self) -> Layer { ... } fn mdi_zorder(&self) -> i32 { ... } fn position(&self, coord_type: CoordType) -> (i32, i32) { ... } fn size(&self) -> (i32, i32) { ... } fn grab_focus(&self) -> bool { ... } fn ref_accessible_at_point( &self, x: i32, y: i32, coord_type: CoordType ) -> Option<Object> { ... } fn set_extents( &self, x: i32, y: i32, width: i32, height: i32, coord_type: CoordType ) -> bool { ... } fn set_position(&self, x: i32, y: i32, coord_type: CoordType) -> bool { ... } fn set_size(&self, width: i32, height: i32) -> bool { ... } fn connect_bounds_changed<F: Fn(&Self, &Rectangle) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn contains(&self, x: i32, y: i32, coord_type: CoordType) -> bool

source

fn alpha(&self) -> f64

source

fn extents(&self, coord_type: CoordType) -> (i32, i32, i32, i32)

source

fn layer(&self) -> Layer

source

fn mdi_zorder(&self) -> i32

source

fn position(&self, coord_type: CoordType) -> (i32, i32)

source

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

source

fn grab_focus(&self) -> bool

source

fn ref_accessible_at_point( &self, x: i32, y: i32, coord_type: CoordType ) -> Option<Object>

source

fn set_extents( &self, x: i32, y: i32, width: i32, height: i32, coord_type: CoordType ) -> bool

source

fn set_position(&self, x: i32, y: i32, coord_type: CoordType) -> bool

source

fn set_size(&self, width: i32, height: i32) -> bool

source

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

Implementors§