Re: [g-a-devel] How to set an AtkAttribute?



Thanks Mike, this is consistent with what I just figured out.
I'm glad to get validation.

-----Original Message-----
From: Mike Gorse [mailto:mgorse alum wpi edu] 
Sent: Thursday, September 10, 2009 9:00 AM
To: Quiring, Sam
Cc: Li Yuan sun com; Gnome-accessibility-devel gnome org
Subject: Re: [g-a-devel] How to set an AtkAttribute?

You need to override get_attributes in your AtkObject-based class and 
write a function that will return the attributes you want when it is 
called.  I haven't ever used papi, so I'm not sure how you would do that

with it.

On Thu, 10 Sep 2009, Quiring, Sam wrote:

> Li,
>
> I read the reference.  I had already seen it in my search for an
answer
> It describes what is and is not normally in the AttributeSet returned
> from Accessible:getAttributes().  It does *not* describe how to
> programmatically introduce an attribute into the
> Accessibility::AttributeSet for an object.
>
> What ATK methods do I call to associate an attribute:
>
> Wireframe=cylinder
>
> with my AtkObject so that an AT-SPI client calling
> Accessible_getAttributes() will retrieve this attribute.
>
> I've searched the ATK interfaces and I do not see a way to do it.
>
> -Sam


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