Re: [g-a-devel]atk_image_get_image_position



On Fri, 2002-05-03 at 08:54, Padraig O'Briain wrote:
> I am trying to figure out what this function should return and whether it should 
> differ from atk_component_get_position. Currently we do not have any 
> implementation for this function in GAIL. Should this function return the same 
> value as atk_component_get_position()?

No, it should return the position of the contained image rather than the
host component position.  So if there's an icon on a button, the icon's
position (and extents, size, etc.) should be returned using the same
coord type rules, etc. as for component.  Generally that means that
image_position.x >= component_position.x, etc.

-Bill

> Padraig
> 
> _______________________________________________
> Gnome-accessibility-devel mailing list
> Gnome-accessibility-devel gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]