[Elm] Now elm win and inwin got into the new

widget hierarchy.
Win inherits directly from Elm_Widget_Smart_Class, while inwin is now
an elm layout.

Note that elm_widget_sub_object_list_get(), which was an unecessary
hack only used on win, was killed.



SVN revision: 70717
This commit is contained in:
Gustavo Lima Chaves 2012-05-03 22:42:15 +00:00
parent bb4ec10462
commit a239210a0d
4 changed files with 2302 additions and 2226 deletions

View File

@ -1607,13 +1607,6 @@ elm_widget_sub_object_del(Evas_Object *obj,
return EINA_TRUE;
}
EAPI const Eina_List *
elm_widget_sub_object_list_get(const Evas_Object *obj)
{
API_ENTRY return NULL;
return (const Eina_List *)sd->subobjs;
}
/* a resize object is a sub object with some more callbacks on it and
* a smart member of the parent
*/

View File

@ -625,7 +625,6 @@ EAPI void elm_widget_data_set(Evas_Object *obj, void *data);
EAPI void *elm_widget_data_get(const Evas_Object *obj);
EAPI Eina_Bool elm_widget_sub_object_add(Evas_Object *obj, Evas_Object *sobj);
EAPI Eina_Bool elm_widget_sub_object_del(Evas_Object *obj, Evas_Object *sobj);
EAPI const Eina_List *elm_widget_sub_object_list_get(const Evas_Object *obj);
EAPI void elm_widget_resize_object_set(Evas_Object *obj, Evas_Object *sobj);
EAPI void elm_widget_hover_object_set(Evas_Object *obj, Evas_Object *sobj);
EAPI void elm_widget_signal_emit(Evas_Object *obj, const char *emission, const char *source);

File diff suppressed because it is too large Load Diff

View File

@ -1277,6 +1277,10 @@ EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj);
* possible, but it's sized vertically the most it needs to fit its\
* contents.
*
* This widget inherits from the @ref Layout one, so that all the
* functions acting on it also work for inner windown objects. It also
* emits the signals inherited from @ref Layout.
*
* Some examples of Inwin can be found in the following:
* @li @ref inwin_example_01
*