summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/eo/efl_object.eo41
1 files changed, 28 insertions, 13 deletions
diff --git a/src/lib/eo/efl_object.eo b/src/lib/eo/efl_object.eo
index f898e2bbcc..657e492a92 100644
--- a/src/lib/eo/efl_object.eo
+++ b/src/lib/eo/efl_object.eo
@@ -112,24 +112,30 @@ abstract Efl.Object
112 } 112 }
113 @property event_global_freeze_count @class { 113 @property event_global_freeze_count @class {
114 get { 114 get {
115 [[Return freeze events of object. 115 [[Return the global count of freeze events.
116 116
117 Return event freeze count. 117 This is the amount of calls to @.event_global_freeze minus
118 the amount of calls to @.event_global_thaw.
119 EFL will not emit any event while this count is > 0 (Except
120 events marked $hot).
118 ]] 121 ]]
119 } 122 }
120 values { 123 values {
121 fcount: int; [[The event freeze count of the object]] 124 fcount: int; [[The global event freeze count]]
122 } 125 }
123 } 126 }
124 @property event_freeze_count { 127 @property event_freeze_count {
125 get { 128 get {
126 [[Return freeze events of object. 129 [[Return the count of freeze events for this object.
127 130
128 Return event freeze count. 131 This is the amount of calls to @.event_freeze minus
132 the amount of calls to @.event_thaw.
133 This object will not emit any event while this count is > 0
134 (Except events marked $hot).
129 ]] 135 ]]
130 } 136 }
131 values { 137 values {
132 fcount: int; [[The event freeze count of the object]] 138 fcount: int; [[The event freeze count of this object]]
133 } 139 }
134 } 140 }
135 @property finalized { 141 @property finalized {
@@ -212,25 +218,34 @@ abstract Efl.Object
212 event_thaw { 218 event_thaw {
213 [[Thaw events of object. 219 [[Thaw events of object.
214 220
215 Allows event callbacks to be called for an object. 221 Allows event callbacks to be called again for this object after a call
222 to @.event_freeze. The amount of thaws must match the amount of freezes
223 for events to be re-enabled.
216 ]] 224 ]]
217 } 225 }
218 event_freeze { 226 event_freeze {
219 [[Freeze events of object. 227 [[Freeze events of this object.
220 228
221 Prevents event callbacks from being called for an object. 229 Prevents event callbacks from being called for this object. Enable
230 events again using @.event_thaw. Events marked $hot cannot be stopped.
222 ]] 231 ]]
223 } 232 }
224 event_global_thaw @class { 233 event_global_thaw @class {
225 [[Thaw events of object. 234 [[Gobally thaw events for ALL EFL OBJECTS.
226 235
227 Allows event callbacks be called for an object. 236 Allows event callbacks to be called for all EFL objects after they have
237 been disabled by @.event_global_freeze. The amount of thaws must match
238 the amount of freezes for events to be re-enabled.
228 ]] 239 ]]
229 } 240 }
230 event_global_freeze @class { 241 event_global_freeze @class {
231 [[Freeze events of object. 242 [[Globally freeze events for ALL EFL OBJECTS.
243
244 Prevents event callbacks from being called for all EFL objects.
245 Enable events again using @.event_global_thaw. Events marked $hot
246 cannot be stopped.
232 247
233 Prevents event callbacks from being called for an object. 248 Note: USE WITH CAUTION.
234 ]] 249 ]]
235 } 250 }
236 event_callback_stop { 251 event_callback_stop {