[dali_1.4.27] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git] / docs / content / programming-guide / signals-actions.md
1 <!--
2 /**-->
3 # Signals & Actions {#signals-actions}
4
5 ## Signals {#signals}
6
7 Classes in DALi provide signals which are emitted whenever a certain action or event occurs.
8 The application can connect to these signals using if it wishes to be informed of this occurrence.
9 Standard C Style functions can be used to connect to these signals if no local data needs to be accessed, otherwise a class method can also be connected.
10
11 Applications can manually disconnect from signals when required but DALi also provides safe signal disconnection.
12 This means that when the connecting object is deleted, the signal is automatically disconnected.
13
14 ## Actions {#actions}
15
16 Classes in DALi can perform a certain number of actions.
17 For example, an animation provides the ability to "play" or "stop" using an action.
18 DALi provides a framework which allows users to set up actions for their classes.
19 This is particularly helpful when trying to invoke an action using scripting.
20
21 */