Changeset View
Changeset View
Standalone View
Standalone View
src/lib/elementary/elm_general.h
Show All 26 Lines | |||||
27 | */ | 27 | */ | ||
28 | typedef struct _Elm_Event_Policy_Changed | 28 | typedef struct _Elm_Event_Policy_Changed | ||
29 | { | 29 | { | ||
30 | unsigned int policy; /**< the policy identifier */ | 30 | unsigned int policy; /**< the policy identifier */ | ||
31 | int new_value; /**< value the policy had before the change */ | 31 | int new_value; /**< value the policy had before the change */ | ||
32 | int old_value; /**< new value the policy got */ | 32 | int old_value; /**< new value the policy got */ | ||
33 | } Elm_Event_Policy_Changed; | 33 | } Elm_Event_Policy_Changed; | ||
34 | 34 | | |||
35 | /** Policy identifiers. | ||||
36 | * | ||||
37 | * @ingroup Elm | ||||
38 | */ | ||||
39 | typedef enum | ||||
40 | { | ||||
41 | ELM_POLICY_QUIT = 0, /**< under which circumstances the application should | ||||
42 | * quit automatically. See also @ref ELM_POLICY_QUIT. */ | ||||
43 | ELM_POLICY_EXIT, /**< defines elm_exit() behaviour. See also | ||||
44 | * @ref ELM_POLICY_EXIT. | ||||
45 | * | ||||
46 | * @since 1.8 */ | ||||
47 | ELM_POLICY_THROTTLE, /**< defines how throttling should work. See also | ||||
48 | * @ref ELM_POLICY_THROTTLE | ||||
49 | * | ||||
50 | * @since 1.8 */ | ||||
51 | ELM_POLICY_LAST /**< Sentinel value to indicate last enum field during | ||||
52 | * iteration */ | ||||
53 | } Elm_Policy; | ||||
54 | | ||||
55 | /** Possible values for the @ref ELM_POLICY_QUIT policy | ||||
56 | * | ||||
57 | * @ingroup Elm | ||||
58 | */ | ||||
59 | typedef enum | ||||
60 | { | ||||
61 | ELM_POLICY_QUIT_NONE = 0, /**< never quit the application automatically */ | ||||
62 | ELM_POLICY_QUIT_LAST_WINDOW_CLOSED, /**< quit when the application's last | ||||
63 | * window is closed */ | ||||
64 | ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN /**< quit when the application's last | ||||
65 | * window is hidden | ||||
66 | * | ||||
67 | * @since 1.14 */ | ||||
68 | } Elm_Policy_Quit; | ||||
69 | | ||||
35 | /** Possible values for the @ref ELM_POLICY_EXIT policy. | 70 | /** Possible values for the @ref ELM_POLICY_EXIT policy. | ||
36 | * | 71 | * | ||
37 | * @since 1.8 | 72 | * @since 1.8 | ||
38 | * | 73 | * | ||
39 | * @ingroup Elm | 74 | * @ingroup Elm | ||
40 | */ | 75 | */ | ||
41 | typedef enum | 76 | typedef enum | ||
42 | { | 77 | { | ||
▲ Show 20 Lines • Show All 562 Lines • Show Last 20 Lines |