Trait AtkObjectExt

Source
pub trait AtkObjectExt: 'static {
Show 67 methods // Required methods fn add_relationship<P: IsA<Object>>( &self, relationship: RelationType, target: &P, ) -> bool; fn get_description(&self) -> Option<GString>; fn get_index_in_parent(&self) -> i32; fn get_layer(&self) -> Layer; fn get_mdi_zorder(&self) -> i32; fn get_n_accessible_children(&self) -> i32; fn get_name(&self) -> Option<GString>; fn get_object_locale(&self) -> Option<GString>; fn get_parent(&self) -> Option<Object>; fn get_role(&self) -> Role; fn notify_state_change(&self, state: State, value: bool); fn peek_parent(&self) -> Option<Object>; fn ref_accessible_child(&self, i: i32) -> Option<Object>; fn ref_relation_set(&self) -> Option<RelationSet>; fn ref_state_set(&self) -> Option<StateSet>; fn remove_property_change_handler(&self, handler_id: u32); fn remove_relationship<P: IsA<Object>>( &self, relationship: RelationType, target: &P, ) -> bool; fn set_description(&self, description: &str); fn set_name(&self, name: &str); fn set_parent<P: IsA<Object>>(&self, parent: &P); fn set_role(&self, role: Role); fn get_property_accessible_component_layer(&self) -> i32; fn get_property_accessible_component_mdi_zorder(&self) -> i32; fn get_property_accessible_description(&self) -> Option<GString>; fn set_property_accessible_description( &self, accessible_description: Option<&str>, ); fn get_property_accessible_hypertext_nlinks(&self) -> i32; fn get_property_accessible_name(&self) -> Option<GString>; fn set_property_accessible_name(&self, accessible_name: Option<&str>); fn get_property_accessible_parent(&self) -> Option<Object>; fn set_property_accessible_parent(&self, accessible_parent: Option<&Object>); fn get_property_accessible_role(&self) -> Role; fn set_property_accessible_role(&self, accessible_role: Role); fn get_property_accessible_table_caption(&self) -> Option<GString>; fn set_property_accessible_table_caption( &self, accessible_table_caption: Option<&str>, ); fn get_property_accessible_table_caption_object(&self) -> Option<Object>; fn set_property_accessible_table_caption_object( &self, accessible_table_caption_object: Option<&Object>, ); fn get_property_accessible_table_column_description( &self, ) -> Option<GString>; fn set_property_accessible_table_column_description( &self, accessible_table_column_description: Option<&str>, ); fn get_property_accessible_table_column_header(&self) -> Option<Object>; fn set_property_accessible_table_column_header( &self, accessible_table_column_header: Option<&Object>, ); fn get_property_accessible_table_row_description(&self) -> Option<GString>; fn set_property_accessible_table_row_description( &self, accessible_table_row_description: Option<&str>, ); fn get_property_accessible_table_row_header(&self) -> Option<Object>; fn set_property_accessible_table_row_header( &self, accessible_table_row_header: Option<&Object>, ); fn get_property_accessible_table_summary(&self) -> Option<Object>; fn set_property_accessible_table_summary( &self, accessible_table_summary: Option<&Object>, ); fn get_property_accessible_value(&self) -> f64; fn set_property_accessible_value(&self, accessible_value: f64); fn connect_active_descendant_changed<F: Fn(&Self, &Object) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_children_changed<F: Fn(&Self, u32, &Object) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_state_change<F: Fn(&Self, &str, bool) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_visible_data_changed<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_component_layer_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_component_mdi_zorder_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_description_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_hypertext_nlinks_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_parent_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_role_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_table_caption_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_table_caption_object_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_table_column_description_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_table_column_header_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_table_row_description_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_table_row_header_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_table_summary_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_accessible_value_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

fn add_relationship<P: IsA<Object>>( &self, relationship: RelationType, target: &P, ) -> bool

Source

fn get_description(&self) -> Option<GString>

Source

fn get_index_in_parent(&self) -> i32

Source

fn get_layer(&self) -> Layer

Source

fn get_mdi_zorder(&self) -> i32

Source

fn get_n_accessible_children(&self) -> i32

Source

fn get_name(&self) -> Option<GString>

Source

fn get_object_locale(&self) -> Option<GString>

Source

fn get_parent(&self) -> Option<Object>

Source

fn get_role(&self) -> Role

Source

fn notify_state_change(&self, state: State, value: bool)

Source

fn peek_parent(&self) -> Option<Object>

Source

fn ref_accessible_child(&self, i: i32) -> Option<Object>

Source

fn ref_relation_set(&self) -> Option<RelationSet>

Source

fn ref_state_set(&self) -> Option<StateSet>

Source

fn remove_property_change_handler(&self, handler_id: u32)

Source

fn remove_relationship<P: IsA<Object>>( &self, relationship: RelationType, target: &P, ) -> bool

Source

fn set_description(&self, description: &str)

Source

fn set_name(&self, name: &str)

Source

fn set_parent<P: IsA<Object>>(&self, parent: &P)

Source

fn set_role(&self, role: Role)

Source

fn get_property_accessible_component_layer(&self) -> i32

Source

fn get_property_accessible_component_mdi_zorder(&self) -> i32

Source

fn get_property_accessible_description(&self) -> Option<GString>

Source

fn set_property_accessible_description( &self, accessible_description: Option<&str>, )

Source

fn get_property_accessible_name(&self) -> Option<GString>

Source

fn set_property_accessible_name(&self, accessible_name: Option<&str>)

Source

fn get_property_accessible_parent(&self) -> Option<Object>

Source

fn set_property_accessible_parent(&self, accessible_parent: Option<&Object>)

Source

fn get_property_accessible_role(&self) -> Role

Source

fn set_property_accessible_role(&self, accessible_role: Role)

Source

fn get_property_accessible_table_caption(&self) -> Option<GString>

Source

fn set_property_accessible_table_caption( &self, accessible_table_caption: Option<&str>, )

Source

fn get_property_accessible_table_caption_object(&self) -> Option<Object>

Source

fn set_property_accessible_table_caption_object( &self, accessible_table_caption_object: Option<&Object>, )

Source

fn get_property_accessible_table_column_description(&self) -> Option<GString>

Source

fn set_property_accessible_table_column_description( &self, accessible_table_column_description: Option<&str>, )

Source

fn get_property_accessible_table_column_header(&self) -> Option<Object>

Source

fn set_property_accessible_table_column_header( &self, accessible_table_column_header: Option<&Object>, )

Source

fn get_property_accessible_table_row_description(&self) -> Option<GString>

Source

fn set_property_accessible_table_row_description( &self, accessible_table_row_description: Option<&str>, )

Source

fn get_property_accessible_table_row_header(&self) -> Option<Object>

Source

fn set_property_accessible_table_row_header( &self, accessible_table_row_header: Option<&Object>, )

Source

fn get_property_accessible_table_summary(&self) -> Option<Object>

Source

fn set_property_accessible_table_summary( &self, accessible_table_summary: Option<&Object>, )

Source

fn get_property_accessible_value(&self) -> f64

Source

fn set_property_accessible_value(&self, accessible_value: f64)

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§