looks proper.
in 69932.

I changed  some lines here also.  please refer. 


_elm_win_focus_next_hook(const Evas_Object *obj, E

 22 -             items = wd->subobjs;
 23 -             if (!items)
 24 -               return EINA_FALSE;
 25 +             if (!list) return EINA_FALSE;
 26 +             items = list;




------------------------------------- 

-Regards, Hermet-

-----Original Message-----
From: "Kim Shinwoo"<[email protected]> 
To: "Enlightenment developer 
list"<[email protected]>; 
Cc: 
Sent: 2012-04-06 (금) 00:22:49
Subject: [E-devel] [Patch][Elementary] Patch for elm_win to fix the focus chain 
issue in case of a widget added as a normal sub-object, not a resizable object

Current Issue:
   Currently when we add a widget to window as a sub-object, e.g.
elm_notify_add(win) which internally calls elm_widget_sub_object_add
then the focus chain using <TAB> includes only
   the first focusable subitem of the widget, not all.
   Whereas with elm_win_resize_object_add, it works fine and cycles to
all focusable sub-items of the widget.

Reason:
   The reason is that we are appending sub-object to the list in
elm_win which is used for focus chain, only in case of
elm_win_resize_object_add.

Change Description:
   Added a new API: EAPI Eina_List
*elm_widget_sub_object_list_get(const Evas_Object *obj);
   This API returns the list of sub-objects of an elementary widget
(sd->subobjs) where sd is Smart_Data pointer obtainted using
elm_widget_smart_data_get(obj).
   We have used this API in elm_win for focus_next_hook implementation.

Signed-Off-By: RAJEEV RANJAN<rajeev.r>@samsumg.com>
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to