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: AtkFunctionTrait Implementations§
source§impl Clone for AtkObjectClass
impl Clone for AtkObjectClass
source§fn clone(&self) -> AtkObjectClass
fn clone(&self) -> AtkObjectClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more