import "Accessibility_Registry.idl";
Public Member Functions | |
oneway void | registerApplication (in Application app) |
void | deregisterApplication (in Application app) |
void | registerGlobalEventListener (in EventListener listener, in string eventName) |
void | deregisterGlobalEventListenerAll (in EventListener listener) |
void | deregisterGlobalEventListener (in EventListener listener, in string eventName) |
short | getDesktopCount () |
Desktop | getDesktop (in short n) |
DesktopSeq | getDesktopList () |
DeviceEventController | getDeviceEventController () |
The Registry service provides four basic functions to Assistive Technology (AT) clients:
void Accessibility::Registry::deregisterApplication | ( | in Application | app | ) |
De-register an application previously registered with the broker. deregisterApplication:
app,: | a reference to the Application to be deregistered. |
void Accessibility::Registry::deregisterGlobalEventListener | ( | in EventListener | listener, | |
in string | eventName | |||
) |
deregisterGlobalEventListener:
listener,: | the requesting EventListener | |
eventName,: | a string indicating the type of events |
void Accessibility::Registry::deregisterGlobalEventListenerAll | ( | in EventListener | listener | ) |
deregisterGlobalEventListenerAll:
listener,: | the requesting EventListener |
Desktop Accessibility::Registry::getDesktop | ( | in short | n | ) |
short Accessibility::Registry::getDesktopCount | ( | ) |
event types: "Window" "Desktop" "Window:Create" "Window:Destroy" "Window:Iconify" "Window:Restore" "Window:Fullscreen" "Window:Resize" "Desktop:Create" "Desktop:Destroy" "Desktop:Focus" "Desktop:Defocus" "Desktop:Reorder" "Focus" "GtkWidget:show" "GObject:notify:<propertyname>"
( not sure we should allow these last 2 forms, since they are toolkit-specific, but they're powerful ) getDesktopCount:
Get the current number of desktops.
DesktopSeq Accessibility::Registry::getDesktopList | ( | ) |
Get a list of accessible desktops.
DeviceEventController Accessibility::Registry::getDeviceEventController | ( | ) |
Obtain an object which can be used to request device event notifications.
oneway void Accessibility::Registry::registerApplication | ( | in Application | app | ) |
Register a new application with the accessibility broker.
app,: | a reference to the requesting Application |
void Accessibility::Registry::registerGlobalEventListener | ( | in EventListener | listener, | |
in string | eventName | |||
) |
Register a client's interest in (all) application events of a certain type.
listener,: | a reference to the requesting EventListener. | |
eventName,: | a string which indicates the type of events about which the client desires notification. |