add e_popup_object_remove

SVN revision: 84097
This commit is contained in:
Mike Blumenkrantz 2013-02-19 09:54:54 +00:00
parent 803b582904
commit 582af02062
4 changed files with 12 additions and 0 deletions

View File

@ -11,6 +11,7 @@
* e_util_size_debug_set now also prints for object show/hide events
* e_gadcon_unpopulate now correctly freezes the container while deleting gadgets
* e_popup is now a wrapper for drawing objects onto the compositor canvas
* added functions for noting objects which are part of a popup
* added e_layout functions for returning objects above or below a layout child
* compositor nocomp mode now dynamically enables/disables based on the state and stacking of fullscreen windows and comp objects

1
NEWS
View File

@ -29,6 +29,7 @@ Additions:
* Added function for getting children of e_layout
* added utility function for printing all objects above a given object
* added e_layout functions for returning objects above or below a layout child
* added functions for noting objects which are part of a popup
Config:
* Added option for disabling icons in menus
* Added option for disabling pointer warping when performing directional focus changes using winlist

View File

@ -293,6 +293,15 @@ e_popup_object_add(E_Popup *pop, Evas_Object *obj)
pop->objects = eina_list_append(pop->objects, obj);
}
EAPI void
e_popup_object_remove(E_Popup *pop, Evas_Object *obj)
{
E_OBJECT_CHECK(pop);
E_OBJECT_TYPE_CHECK(pop, E_POPUP_TYPE);
pop->objects = eina_list_remove(pop->objects, obj);
}
EAPI void
e_popup_autoclose(E_Popup *pop, E_Popup_Key_Cb cb, const void *data)
{

View File

@ -47,6 +47,7 @@ EAPI void e_popup_ignore_events_set(E_Popup *pop, int ignore);
EAPI void e_popup_layer_set(E_Popup *pop, E_Comp_Canvas_Layer comp_layer, E_Layer layer);
EAPI void e_popup_name_set(E_Popup *pop, const char *name);
EAPI void e_popup_object_add(E_Popup *pop, Evas_Object *obj);
EAPI void e_popup_object_remove(E_Popup *pop, Evas_Object *obj);
EAPI void e_popup_autoclose(E_Popup *pop, E_Popup_Key_Cb cb, const void *data);
#endif
#endif