summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_widget.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-29 18:15:33 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-30 17:29:52 +0900
commit6bb9f4fd16a279f0e04156f8e2a64bfb65e83ca4 (patch)
treed17b5a0573afd4ccc35c0b72febcd268c59052f5 /src/lib/elementary/elm_widget.eo
parentffa041fe58f63ad961ca88e3bbe1f696b1f8e1ea (diff)
widget: Remove scroll_lock from EO
1. Uniformize the API, which is now for internal use: This uses the same enum as scroller "movement_block" instead of 2 separate properties. Less APIs, more consistence. 2. Remove scroll_lock x/y from EO widget. I was told it is not going to exist in the upcoming scrollable interface. 3. Remove scroll hold/freeze getters. scroll hold/freeze push/pop are still there but it remains to be seen how the EO scrollable interface will exploit them. Right now they are full of bugs. Ref T5363
Diffstat (limited to 'src/lib/elementary/elm_widget.eo')
-rw-r--r--src/lib/elementary/elm_widget.eo24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/lib/elementary/elm_widget.eo b/src/lib/elementary/elm_widget.eo
index 38cb984751..404cfa388e 100644
--- a/src/lib/elementary/elm_widget.eo
+++ b/src/lib/elementary/elm_widget.eo
@@ -413,18 +413,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
413 } 413 }
414 414
415 /* 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 }
428 @property on_show_region_hook { 416 @property on_show_region_hook {
429 [[Region hook on show property]] 417 [[Region hook on show property]]
430 set {} 418 set {}
@@ -438,18 +426,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
438 enable: bool; [[$true if item loop is enabled, $false otherwise]] 426 enable: bool; [[$true if item loop is enabled, $false otherwise]]
439 } 427 }
440 } 428 }
441 @property scroll_freeze {
442 [[Scroll freeze property]]
443 get {
444 return: int; [[FIXME]]
445 }
446 }
447 @property scroll_hold {
448 [[Scroll hold property]]
449 get {
450 return: int; [[FIXME]]
451 }
452 }
453 scroll_hold_push { 429 scroll_hold_push {
454 [[Push scroll hold]] 430 [[Push scroll hold]]
455 } 431 }