docs: Efl.Ui.Layout_Base update theme docs
authorXavi Artigas <xavierartigas@yahoo.es>
Thu, 28 Mar 2019 16:12:27 +0000 (16:12 +0000)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 2 Apr 2019 04:21:10 +0000 (13:21 +0900)
If docs are present at property and set/get levels only one is used.

Ref T7717

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8494

src/lib/elementary/efl_ui_layout_base.eo

index 485d0ae..7c211cd 100644 (file)
@@ -23,22 +23,19 @@ abstract Efl.Ui.Layout_Base extends Efl.Ui.Widget implements Efl.Container,
            Widgets that inherit from this class will call this function
            automatically so it should not be called by applications, unless
            you are dealing directly with a @Efl.Ui.Layout object.
+
+           Note that $style will be the new style of this object, as retrieved by
+           @Efl.Ui.Widget.style. As a consequence this function can only be
+           called during construction of the object, before finalize.
+
+           If this returns $false the widget is very likely to become non-functioning.
          ]]
          set {
-            [[Sets the edje group from the elementary theme that will be used
-              as layout. Note that $style will be the new style of this object,
-              as in an @Efl.Ui.Widget.style. As a consequence this function can
-              only be called during construction of the object, before finalize.
-
-              If this returns $false the widget is very likely to become
-              non-functioning.
-            ]]
             return: Eina.Error;
                [[Whether the style was successfully applied or not, see
                  the values of Efl.Ui.Theme.Apply_Error for more information.]]
          }
          get {
-            [[Get information about the current theme in use.]]
          }
          values {
             klass: string; [[The class of the group, eg. "button".]]