Re: [g-a-devel] Detecting whether AT is available



Hey,

2007/3/7, Ariel Rios <ariel gnu org>:
> I'm playing around with at-spi and the cspi API.
You probably don't want to us the cspi bindings as they are marked to
be deprecated sometime in the future.

So, which API am I supposed to use?

> Is there a way to check whether the registry daemon is already
> running? (So my application can say something like "Accessibility not
> enabled, goodbye")
You can check whether AT_SPI_IOR has been set as an X property. If
nothing is set there
then there is not registry running. You can see code in atk-bridge/bridge.c

Thank you.

Regards,
 Sven



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