![]() | ![]() | ![]() | [Insert name here] Reference Manual | ![]() |
---|
void gok_spy_open (void); void gok_spy_close (void); void gok_spy_register_appchangelistener (AppChangeListener *callback); void gok_spy_deregister_appchangelistener (AppChangeListener *callback); void gok_spy_register_windowchangelistener (AppChangeListener *callback); void gok_spy_deregister_windowchangelistener (AppChangeListener *callback); void gok_spy_register_mousebuttonlistener (MouseButtonListener *callback); void gok_spy_deregister_mousebuttonlistener (MouseButtonListener *callback); AccessibleNode* gok_spy_get_list (Accessible *paccessible, AccessibleRole role); AccessibleNode* gok_spy_refresh (AccessibleNode *plist); void gok_spy_free (AccessibleNode *plist); Accessible* gok_spy_get_accessibleWithEditableText (void); gboolean gok_spy_has_child (Accessible *accessible, AccessibleRole role);
void gok_spy_open (void);
Intializes gok spy. Note: user must initialize the SPI prior to this call; call this only once.
void gok_spy_register_appchangelistener (AppChangeListener *callback);
callback: the listener to register
callback : |
|
void gok_spy_deregister_appchangelistener (AppChangeListener *callback);
callback: the listener to deregister
callback : |
|
void gok_spy_register_windowchangelistener (AppChangeListener *callback);
callback: the listener to register
callback : |
|
void gok_spy_deregister_windowchangelistener (AppChangeListener *callback);
callback: the listener to deregister
callback : |
|
void gok_spy_register_mousebuttonlistener (MouseButtonListener *callback);
callback: the listener to register
callback : |
|
void gok_spy_deregister_mousebuttonlistener (MouseButtonListener *callback);
callback: the listener to deregister
callback : |
|
AccessibleNode* gok_spy_get_list (Accessible *paccessible, AccessibleRole role);
paccessible: The parent accessible to the list role: The role of the list members
User must call gok_spy_free when finished with this list.
paccessible : | |
role : | |
Returns : | pointer to the list or NULL |
AccessibleNode* gok_spy_refresh (AccessibleNode *plist);
plist: Pointer to the list to refresh
not implemented.
plist : | |
Returns : | pointer to the refreshed list |
void gok_spy_free (AccessibleNode *plist);
Frees the memory used by the given list. This must be called for every list that is created.
pNode: Pointer to the list that you want freed.
plist : |
|
Accessible* gok_spy_get_accessibleWithEditableText (void);
accessor
Returns : |
|
gboolean gok_spy_has_child (Accessible *accessible, AccessibleRole role);
accessible: Pointer to the accessible. role: The role you are searching for.
If anything under this accessible* has the specified role, then returns true.
accessible : | |
role : | |
Returns : | true if a child exists, false otherwise. |
<<< gok-spy-priv | gok-word-complete >>> |