summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_widget.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-29 16:49:43 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-30 17:29:52 +0900
commitc690469fcc9d314144f432a6b74c20ea396d5cb7 (patch)
tree9a025e0de3c1130dfb559e1e55890896147c8508 /src/lib/elementary/elm_widget.eo
parentac215dba0f0b3d81dab0986bc3d3a40cbabd6782 (diff)
widget: Rename drag_lock to scroll_lock (EO)
This also includes the drag_child_lock APIs. This had nothing to do with dragging beyond maybe the case where scrolling is done by thumbscroll (ie. finger drag). Note that the EAPI were called already scroll_lock, not drag_lock. Ref T5363
Diffstat (limited to 'src/lib/elementary/elm_widget.eo')
-rw-r--r--src/lib/elementary/elm_widget.eo26
1 files changed, 12 insertions, 14 deletions
diff --git a/src/lib/elementary/elm_widget.eo b/src/lib/elementary/elm_widget.eo
index 9d01bd3d9f..38cb984751 100644
--- a/src/lib/elementary/elm_widget.eo
+++ b/src/lib/elementary/elm_widget.eo
@@ -277,20 +277,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
277 legacy: null; /* FIXME: legacy API does extra work */ 277 legacy: null; /* FIXME: legacy API does extra work */
278 } 278 }
279 279
280 /* Drag API */
281 @property drag_lock_x {
282 [[Drag lock on X axis]]
283 values {
284 lock: bool; [[$true if drag is locked on X axis, $false otherwise]]
285 }
286 }
287 @property drag_lock_y {
288 [[Lock the Y axis from being dragged]]
289 values {
290 lock: bool; [[$true if the Y axis is locked, $false otherwise]]
291 }
292 }
293
294 /* Translation & Text API. */ 280 /* Translation & Text API. */
295 translate @protected { 281 translate @protected {
296 [[Virtual function handling language changes.]] 282 [[Virtual function handling language changes.]]
@@ -427,6 +413,18 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
427 } 413 }
428 414
429 /* Scroll API. */ 415 /* Scroll API. */
416 @property scroll_lock_x {
417 [[Drag lock on X axis]]
418 values {
419 lock: bool; [[$true if drag is locked on X axis, $false otherwise]]
420 }
421 }
422 @property scroll_lock_y {
423 [[Lock the Y axis from being dragged]]
424 values {
425 lock: bool; [[$true if the Y axis is locked, $false otherwise]]
426 }
427 }
430 @property on_show_region_hook { 428 @property on_show_region_hook {
431 [[Region hook on show property]] 429 [[Region hook on show property]]
432 set {} 430 set {}