Re: [g-a-devel] Do all references to the same object have the same value?

Quiring, Sam wrote:
Is this documented somewhere?

It's kind of documented. The Accessibility_Accessible interface extends the Bonobo::Unknown interface:

There's some ref counting docs here:

(Sorry - I always tend to read sources since docs tend to usually be out of sync with reality, so I might end up pointing you to raw sources and docs).


-----Original Message-----
From: William Walker sun com [mailto:William Walker sun com] Sent: Thursday, February 12, 2009 9:57 AM
To: Quiring, Sam
Cc: gnome-accessibility-devel gnome org
Subject: Re: [g-a-devel] Do all references to the same object have the
same value?

If I understand your question correctly, to be guaranteed equality
between separate events, you need to explicitly ref() the object.


Quiring, Sam wrote:
My application uses AT-SPI to examine an application. Suppose the target application has a check box on it. If the target application's

GUI does not change, will every Accessible *reference to the check box, no matter how it is obtained, have the same value? For example, supposed I obtain a reference for the check box by enumerating the entire AT-SPI tree. Then the user clicks on the checkbox and a reference to the check box is delivered to my handler for the "focus:"
event.  Will these two references be equal?


Gnome-accessibility-devel mailing list Gnome-accessibility-devel gnome org

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