elm_genlist: add internal keyword for making private rootstrap 92/189492/1
authorTaehyub Kim <taehyub.kim@samsung.com>
Tue, 18 Sep 2018 07:06:24 +0000 (16:06 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Tue, 18 Sep 2018 07:06:29 +0000 (16:06 +0900)
- To make private rootstrap, @internal keyword is needed.

Change-Id: I3d8d655960dbb8e487bf597e6d70c7b3c20715f6

src/lib/elementary/elm_genlist.eo
src/lib/elementary/elm_genlist_item.eo

index bc612b0..4ace578 100644 (file)
@@ -73,7 +73,7 @@ class Elm.Genlist (Efl.Ui.Layout.Object, Elm.Interface_Scrollable, Efl.Ui.Clicka
          }
       }
       @property focus_on_selection {
-         set {
+         set @internal {
             [[Set focus upon items selection mode
 
               When enabled, every selection of an item inside the genlist
@@ -84,7 +84,7 @@ class Elm.Genlist (Efl.Ui.Layout.Object, Elm.Interface_Scrollable, Efl.Ui.Clicka
               an item will couse this particular item to get focus as usual.
             ]]
          }
-         get {
+         get @internal {
             [[Get whether focus upon item's selection mode is enabled.]]
          }
          values {
@@ -171,13 +171,13 @@ class Elm.Genlist (Efl.Ui.Layout.Object, Elm.Interface_Scrollable, Efl.Ui.Clicka
          }
       }
       @property decorate_mode {
-         set {
+         set @internal {
             [[Set Genlist decorate mode.
 
               This sets Genlist decorate mode to all items.
             ]]
          }
-         get {
+         get @internal {
             [[Get Genlist decorate mode.]]
          }
          values {
@@ -185,7 +185,7 @@ class Elm.Genlist (Efl.Ui.Layout.Object, Elm.Interface_Scrollable, Efl.Ui.Clicka
          }
       }
       @property multi_select_mode {
-         set {
+         set @internal {
             [[Set the genlist multi select mode.
 
               #ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT means that
@@ -198,7 +198,7 @@ class Elm.Genlist (Efl.Ui.Layout.Object, Elm.Interface_Scrollable, Efl.Ui.Clicka
               @since 1.8
             ]]
          }
-         get {
+         get @internal {
             [[Get the genlist multi select mode.
 
               @since 1.8
@@ -245,8 +245,10 @@ class Elm.Genlist (Efl.Ui.Layout.Object, Elm.Interface_Scrollable, Efl.Ui.Clicka
       }
       @property tree_effect_enabled {
          [[Control genlist tree effect.]]
-         set {}
-         get {}
+         set @internal {
+         }
+         get @internal {
+         }
          values {
             enabled: bool; [[The tree effect status.]]
          }
@@ -328,7 +330,7 @@ class Elm.Genlist (Efl.Ui.Layout.Object, Elm.Interface_Scrollable, Efl.Ui.Clicka
          }
       }
       @property decorated_item {
-         get {
+         get @internal {
             [[Get active genlist mode item.
 
               This function returns the item that was activated with a mode,
@@ -509,7 +511,7 @@ class Elm.Genlist (Efl.Ui.Layout.Object, Elm.Interface_Scrollable, Efl.Ui.Clicka
          }
       }
       @property filter {
-         set {
+         set @internal {
             [[Set filter mode with key.
 
               This initiates the filter mode of genlist with user/application
@@ -524,7 +526,7 @@ class Elm.Genlist (Efl.Ui.Layout.Object, Elm.Interface_Scrollable, Efl.Ui.Clicka
             key: void_ptr; [[Filter key]]
          }
       }
-      filter_iterator_new {
+      filter_iterator_new @internal {
          [[Returns an iterator over the list of filtered items.
 
            Return NULL if filter is not set. Application must take care
@@ -627,7 +629,7 @@ class Elm.Genlist (Efl.Ui.Layout.Object, Elm.Interface_Scrollable, Efl.Ui.Clicka
             @in func_data: const(void_ptr) @optional; [[Data passed to $func above.]]
          }
       }
-      search_by_text_item_get {
+      search_by_text_item_get @internal {
          [[Get genlist item by given string.
 
            It takes pointer to the genlist item that will be used to start
index 7a58893..4526412 100644 (file)
@@ -83,7 +83,7 @@ class Elm.Genlist.Item(Elm.Widget.Item.Static_Focus, Efl.Ui.Legacy)
                 }
            }
            @property subitems {
-                get {
+                get @internal {
                      [[Get the list of subitems of a given item
 
                        This returns the list of subitems that an item
@@ -204,7 +204,7 @@ class Elm.Genlist.Item(Elm.Widget.Item.Static_Focus, Efl.Ui.Legacy)
                 }
            }
            @property decorate_mode {
-                get {
+                get @internal {
                      [[Get the item's decorate mode.
 
                        This function just returns the name of the item's
@@ -216,7 +216,7 @@ class Elm.Genlist.Item(Elm.Widget.Item.Static_Focus, Efl.Ui.Legacy)
                 }
            }
            @property flip {
-                get {
+                get @internal {
                      [[Get the flip state of a given genlist item.
 
                        This function returns the flip state of a given
@@ -224,7 +224,7 @@ class Elm.Genlist.Item(Elm.Widget.Item.Static_Focus, Efl.Ui.Legacy)
                        returns $false.
                      ]]
                 }
-                set {
+                set @internal {
                      [[Set the flip state of a given genlist item.
 
                        This function sets the flip state of a given genlist
@@ -322,7 +322,7 @@ class Elm.Genlist.Item(Elm.Widget.Item.Static_Focus, Efl.Ui.Legacy)
                    const(void_ptr) data;
                    }
                    }*/
-           subitems_count {
+           subitems_count @internal {
                 [[Get the number of subitems of a given item.
 
                   This returns the number of subitems that an item possesses.
@@ -469,7 +469,7 @@ class Elm.Genlist.Item(Elm.Widget.Item.Static_Focus, Efl.Ui.Legacy)
                      @cref itc: Elm.Genlist.Item.Class; [[The item class for the item.]]
                 }
            }
-           decorate_mode_set {
+           decorate_mode_set @internal {
                 [[Activate a genlist mode on an item.
 
                   A genlist mode is a different way of selecting an item.