widget: Clean up doc about disabled
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 8 Aug 2017 13:10:58 +0000 (22:10 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 9 Aug 2017 03:21:42 +0000 (12:21 +0900)
Ref T5363

src/lib/elementary/elm_widget.eo

index 380cd34..1721493 100644 (file)
@@ -54,6 +54,17 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
                [[A canvas object (often a $Efl.Canvas.Layout object).]]
          }
       }
+      @property disabled {
+         [[Whether the widget is enabled (accepts and reacts to user inputs).
+
+           Each widget may handle the disabled state differently, but overall
+           disabled widgets shall not respond to any input events. This is
+           $false by default, meaning the widget is enabled.
+         ]]
+         values {
+            disabled: bool(false); [[$true if the widget is disabled.]]
+         }
+      }
 
       @property focus {
         [[Focus property]]
@@ -96,12 +107,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
             th: ptr(Elm.Theme) @nullable; [[Elementary theme]]
          }
       }
-      @property disabled {
-        [[Enabled / disabled property]]
-         values {
-            disabled: bool; [[$true if the widget is disabled, $false otherwise]]
-         }
-      }
       @property highlight_ignore {
         [[Highlight ignore]]
          values {