diff options
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/bin/e_popup.c | 9 | ||||
-rw-r--r-- | src/bin/e_popup.h | 1 |
4 files changed, 12 insertions, 0 deletions
@@ -11,6 +11,7 @@ | |||
11 | * e_util_size_debug_set now also prints for object show/hide events | 11 | * e_util_size_debug_set now also prints for object show/hide events |
12 | * e_gadcon_unpopulate now correctly freezes the container while deleting gadgets | 12 | * e_gadcon_unpopulate now correctly freezes the container while deleting gadgets |
13 | * e_popup is now a wrapper for drawing objects onto the compositor canvas | 13 | * e_popup is now a wrapper for drawing objects onto the compositor canvas |
14 | * added functions for noting objects which are part of a popup | ||
14 | * added e_layout functions for returning objects above or below a layout child | 15 | * added e_layout functions for returning objects above or below a layout child |
15 | * compositor nocomp mode now dynamically enables/disables based on the state and stacking of fullscreen windows and comp objects | 16 | * compositor nocomp mode now dynamically enables/disables based on the state and stacking of fullscreen windows and comp objects |
16 | 17 | ||
@@ -29,6 +29,7 @@ Additions: | |||
29 | * Added function for getting children of e_layout | 29 | * Added function for getting children of e_layout |
30 | * added utility function for printing all objects above a given object | 30 | * added utility function for printing all objects above a given object |
31 | * added e_layout functions for returning objects above or below a layout child | 31 | * added e_layout functions for returning objects above or below a layout child |
32 | * added functions for noting objects which are part of a popup | ||
32 | Config: | 33 | Config: |
33 | * Added option for disabling icons in menus | 34 | * Added option for disabling icons in menus |
34 | * Added option for disabling pointer warping when performing directional focus changes using winlist | 35 | * Added option for disabling pointer warping when performing directional focus changes using winlist |
diff --git a/src/bin/e_popup.c b/src/bin/e_popup.c index b98f41f65..468446cca 100644 --- a/src/bin/e_popup.c +++ b/src/bin/e_popup.c | |||
@@ -294,6 +294,15 @@ e_popup_object_add(E_Popup *pop, Evas_Object *obj) | |||
294 | } | 294 | } |
295 | 295 | ||
296 | EAPI void | 296 | EAPI void |
297 | e_popup_object_remove(E_Popup *pop, Evas_Object *obj) | ||
298 | { | ||
299 | E_OBJECT_CHECK(pop); | ||
300 | E_OBJECT_TYPE_CHECK(pop, E_POPUP_TYPE); | ||
301 | |||
302 | pop->objects = eina_list_remove(pop->objects, obj); | ||
303 | } | ||
304 | |||
305 | EAPI void | ||
297 | e_popup_autoclose(E_Popup *pop, E_Popup_Key_Cb cb, const void *data) | 306 | e_popup_autoclose(E_Popup *pop, E_Popup_Key_Cb cb, const void *data) |
298 | { | 307 | { |
299 | E_OBJECT_CHECK(pop); | 308 | E_OBJECT_CHECK(pop); |
diff --git a/src/bin/e_popup.h b/src/bin/e_popup.h index c3e034a2f..479d8e1d5 100644 --- a/src/bin/e_popup.h +++ b/src/bin/e_popup.h | |||
@@ -47,6 +47,7 @@ EAPI void e_popup_ignore_events_set(E_Popup *pop, int ignore); | |||
47 | EAPI void e_popup_layer_set(E_Popup *pop, E_Comp_Canvas_Layer comp_layer, E_Layer layer); | 47 | EAPI void e_popup_layer_set(E_Popup *pop, E_Comp_Canvas_Layer comp_layer, E_Layer layer); |
48 | EAPI void e_popup_name_set(E_Popup *pop, const char *name); | 48 | EAPI void e_popup_name_set(E_Popup *pop, const char *name); |
49 | EAPI void e_popup_object_add(E_Popup *pop, Evas_Object *obj); | 49 | EAPI void e_popup_object_add(E_Popup *pop, Evas_Object *obj); |
50 | EAPI void e_popup_object_remove(E_Popup *pop, Evas_Object *obj); | ||
50 | EAPI void e_popup_autoclose(E_Popup *pop, E_Popup_Key_Cb cb, const void *data); | 51 | EAPI void e_popup_autoclose(E_Popup *pop, E_Popup_Key_Cb cb, const void *data); |
51 | #endif | 52 | #endif |
52 | #endif | 53 | #endif |