41 ev_image_accessible_get_atk_rect (AtkObject *atk_object,
42 AtkCoordType coord_type,
61 AtkCoordType coord_type)
65 ev_image_accessible_get_atk_rect (ATK_OBJECT (atk_component), coord_type, &atk_rect);
68 *width = atk_rect.
x2 - atk_rect.
x1;
69 *height = atk_rect.
y2 - atk_rect.
y1;
99 ev_image_accessible_get_atk_rect (ATK_OBJECT (atk_image), ATK_XY_WINDOW, &atk_rect);
100 *width = atk_rect.
x2 - atk_rect.
x1;
101 *height = atk_rect.
y2 - atk_rect.
y1;
108 AtkCoordType coord_type)
112 ev_image_accessible_get_atk_rect (ATK_OBJECT (atk_image), ATK_XY_WINDOW, &atk_rect);
120 AtkStateSet *state_set;
121 AtkStateSet *copy_set;
122 AtkStateSet *page_accessible_state_set;
128 state_set = ATK_OBJECT_CLASS (ev_image_accessible_parent_class)->ref_state_set (atk_object);
129 atk_state_set_clear_states (state_set);
131 page_accessible_state_set = atk_object_ref_state_set (ATK_OBJECT (self->priv->page));
132 copy_set = atk_state_set_or_sets (state_set, page_accessible_state_set);
133 atk_state_set_remove_state (copy_set, ATK_STATE_FOCUSABLE);
134 atk_state_set_remove_state (copy_set, ATK_STATE_FOCUSED);
139 atk_state_set_remove_state (copy_set, ATK_STATE_SHOWING);
141 g_object_unref (state_set);
142 g_object_unref (page_accessible_state_set);
152 return ATK_OBJECT (priv->
page);
160 g_object_unref (priv->
image);
162 G_OBJECT_CLASS (ev_image_accessible_parent_class)->finalize (
object);
168 GObjectClass *object_class = G_OBJECT_CLASS (klass);
169 AtkObjectClass *atk_class = ATK_OBJECT_CLASS (klass);
181 atk_object_set_role (ATK_OBJECT (image), ATK_ROLE_IMAGE);
204 atk_image->
priv->
image = g_object_ref (image);