ami pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a90c3ffe80e00bd7383d54377fc5d7858979d18b

commit a90c3ffe80e00bd7383d54377fc5d7858979d18b
Author: Amitesh Singh <[email protected]>
Date:   Thu Feb 9 13:06:42 2017 +0530

    elm widget item: add guide about when to use item_signal_emit
    
    genlist/gengrid now uses cache for view objects of items and
    re-associate edje objects to different obj items whenever needed.
    problem here is if app user changes the state of view object
    (by sending edje signal, elm_object_item_signal_emit()) and
    forget to reset it in unrealized, the old edje object state will link to 
other
    object item, so its application user responsibility to reset
    the edje state to normal in "unrealized" callback.
    
    Signed-off-by: Amitesh Singh <[email protected]>
---
 src/lib/elementary/elm_widget_item.eo | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_widget_item.eo 
b/src/lib/elementary/elm_widget_item.eo
index b5b8cf5..facb8b7 100644
--- a/src/lib/elementary/elm_widget_item.eo
+++ b/src/lib/elementary/elm_widget_item.eo
@@ -307,7 +307,9 @@ class Elm.Widget.Item(Efl.Object, 
Elm.Interface.Atspi_Accessible,
 
                   This function sends a signal to the edje object of the obj 
item. An
                   edje program can respond to a signal by specifying matching
-                  'signal' and 'source' fields.]]
+                  'signal' and 'source' fields.
+                  Don't use this unless you want to also handle resetting of 
part states to default on
+                  every unrealize in case of genlist/gengrid.]]
                 params {
                      emission: string; [[The signal's name.]]
                      source: string; [[The signal's source.]]

-- 


Reply via email to