[][src]Trait atk::ComponentExt

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

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

Loading content...

Implementors

impl<O: IsA<Component>> ComponentExt for O[src]

Loading content...