Trait atk::ComponentExt
source · [−]pub trait ComponentExt: 'static {
Show 13 methods
fn contains(&self, x: i32, y: i32, coord_type: CoordType) -> bool;
fn get_alpha(&self) -> f64;
fn get_extents(&self, coord_type: CoordType) -> (i32, i32, i32, i32);
fn get_layer(&self) -> Layer;
fn get_mdi_zorder(&self) -> i32;
fn get_position(&self, coord_type: CoordType) -> (i32, i32);
fn get_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;
}Required Methods
source
fn get_mdi_zorder(&self) -> i32
source
fn get_position(&self, coord_type: CoordType) -> (i32, i32)
source
fn grab_focus(&self) -> bool
sourcefn set_extents(
fn set_extents(
&self,
x: i32,
y: i32,
width: i32,
height: i32,
coord_type: CoordType
) -> bool
sourcefn connect_bounds_changed<F: Fn(&Self, &Rectangle) + 'static>(