Struct atk_sys::AtkObjectClass
source · [−]#[repr(C)]pub struct AtkObjectClass {Show 28 fields
pub parent: GObjectClass,
pub get_name: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *const c_char>,
pub get_description: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *const c_char>,
pub get_parent: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkObject>,
pub get_n_children: Option<unsafe extern "C" fn(_: *mut AtkObject) -> c_int>,
pub ref_child: Option<unsafe extern "C" fn(_: *mut AtkObject, _: c_int) -> *mut AtkObject>,
pub get_index_in_parent: Option<unsafe extern "C" fn(_: *mut AtkObject) -> c_int>,
pub ref_relation_set: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkRelationSet>,
pub get_role: Option<unsafe extern "C" fn(_: *mut AtkObject) -> AtkRole>,
pub get_layer: Option<unsafe extern "C" fn(_: *mut AtkObject) -> AtkLayer>,
pub get_mdi_zorder: Option<unsafe extern "C" fn(_: *mut AtkObject) -> c_int>,
pub ref_state_set: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkStateSet>,
pub set_name: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *const c_char)>,
pub set_description: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *const c_char)>,
pub set_parent: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut AtkObject)>,
pub set_role: Option<unsafe extern "C" fn(_: *mut AtkObject, _: AtkRole)>,
pub connect_property_change_handler: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut AtkPropertyChangeHandler) -> c_uint>,
pub remove_property_change_handler: Option<unsafe extern "C" fn(_: *mut AtkObject, _: c_uint)>,
pub initialize: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut gpointer)>,
pub children_changed: Option<unsafe extern "C" fn(_: *mut AtkObject, _: c_uint, _: gpointer)>,
pub focus_event: Option<unsafe extern "C" fn(_: *mut AtkObject, _: gboolean)>,
pub property_change: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut AtkPropertyValues)>,
pub state_change: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *const c_char, _: gboolean)>,
pub visible_data_changed: Option<unsafe extern "C" fn(_: *mut AtkObject)>,
pub active_descendant_changed: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut gpointer)>,
pub get_attributes: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkAttributeSet>,
pub get_object_locale: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *const c_char>,
pub pad1: AtkFunction,
}
Fields
parent: GObjectClass
get_name: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *const c_char>
get_description: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *const c_char>
get_parent: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkObject>
get_n_children: Option<unsafe extern "C" fn(_: *mut AtkObject) -> c_int>
ref_child: Option<unsafe extern "C" fn(_: *mut AtkObject, _: c_int) -> *mut AtkObject>
get_index_in_parent: Option<unsafe extern "C" fn(_: *mut AtkObject) -> c_int>
ref_relation_set: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkRelationSet>
get_role: Option<unsafe extern "C" fn(_: *mut AtkObject) -> AtkRole>
get_layer: Option<unsafe extern "C" fn(_: *mut AtkObject) -> AtkLayer>
get_mdi_zorder: Option<unsafe extern "C" fn(_: *mut AtkObject) -> c_int>
ref_state_set: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkStateSet>
set_name: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *const c_char)>
set_description: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *const c_char)>
set_parent: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut AtkObject)>
set_role: Option<unsafe extern "C" fn(_: *mut AtkObject, _: AtkRole)>
connect_property_change_handler: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut AtkPropertyChangeHandler) -> c_uint>
remove_property_change_handler: Option<unsafe extern "C" fn(_: *mut AtkObject, _: c_uint)>
initialize: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut gpointer)>
children_changed: Option<unsafe extern "C" fn(_: *mut AtkObject, _: c_uint, _: gpointer)>
focus_event: Option<unsafe extern "C" fn(_: *mut AtkObject, _: gboolean)>
property_change: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut AtkPropertyValues)>
state_change: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *const c_char, _: gboolean)>
visible_data_changed: Option<unsafe extern "C" fn(_: *mut AtkObject)>
active_descendant_changed: Option<unsafe extern "C" fn(_: *mut AtkObject, _: *mut gpointer)>
get_attributes: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *mut AtkAttributeSet>
get_object_locale: Option<unsafe extern "C" fn(_: *mut AtkObject) -> *const c_char>
pad1: AtkFunction
Trait Implementations
sourceimpl Clone for AtkObjectClass
impl Clone for AtkObjectClass
sourcefn clone(&self) -> AtkObjectClass
fn clone(&self) -> AtkObjectClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AtkObjectClass
impl Debug for AtkObjectClass
impl Copy for AtkObjectClass
Auto Trait Implementations
impl RefUnwindSafe for AtkObjectClass
impl !Send for AtkObjectClass
impl !Sync for AtkObjectClass
impl Unpin for AtkObjectClass
impl UnwindSafe for AtkObjectClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more