107
edits
No edit summary |
(more info about notifications in cocoa) |
||
Line 23: | Line 23: | ||
=== Notifications === | === Notifications === | ||
[http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSAccessibility_Protocol/Reference/Reference.html#//apple_ref/doc/uid/20000945-DontLinkElementID_21 Notifications] are sent out to the ATs when something significant in the UI has changed. For example, a new window was opened, or new rows were added to a table. | [http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSAccessibility_Protocol/Reference/Reference.html#//apple_ref/doc/uid/20000945-DontLinkElementID_21 Notifications] are sent out to the ATs when something significant in the UI has changed. For example, a new window was opened, or new rows were added to a table. | ||
A notification in Cocoa is an object with: | |||
* a name (of the event fired), | |||
* an object (usually the "emitter" of the event, for example a widget), | |||
* a userInfo dictionary (hash table). | |||
The dictionary (hash table) can be filled with any custom info that the poster of the event want all receivers to have. [http://developer.apple.com/documentation/Cocoa/Conceptual/Notifications/index.html Go here for more information about notifications in Cocoa]. | |||
== What UA is Missing == | == What UA is Missing == |
edits