efl/legacy/elementary/src
Vitor Sousa 5a737f7187 win: Add autohide and ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN
Summary:
Add the "autohide" property to elm_win. This property, when set to
EINA_TRUE, automatically hides the window upon a "delete,request" signal.

Create ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN, a new quit policy that
automatically exit from the elm_run loop when all windows are hidden.
It is an alternative to autodel to conciliates the memory management
framework of Eo with any other memory management model the program may
be using (e.g. RAII principles of C++).

Create the auxiliary function "_elm_win_policy_quit_triggered" to check
triggering of quit policies.
The check in "smart_hide" is now necessary, since
ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN can be triggered when a window
is hidden.

Create the auxiliary function "_elm_win_flush_cache_and_exit" to avoid
code repetition for exiting the elm_run loop.

Make a small update on documentation in elm_win.h to mention the new
autohide property.

@feature

Reviewers: raster, felipealmeida, cedric, tasn

Reviewed By: felipealmeida

Differential Revision: https://phab.enlightenment.org/D2751
2015-07-01 15:40:57 +01:00
..
bin test_focus: Focus should to move layout's entry 2015-07-01 11:31:26 +09:00
edje_externals edje_externals: Fix wrong free. 2015-06-26 10:17:33 +09:00
examples examples: fix changes in Evas.Canvas3D namespace. 2015-06-22 12:36:58 +02:00
imported atspi: add AtspiText and AtspiEditableText interface support. 2014-06-10 16:18:17 +09:00
lib win: Add autohide and ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN 2015-07-01 15:40:57 +01:00
modules elm_datetime: Fix datetime ctxpopup resize issue 2015-07-01 11:02:18 +09:00
tests win: Add autohide and ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN 2015-07-01 15:40:57 +01:00
Makefile.am tests: add coverage support. 2015-01-16 16:39:37 +01:00