efl/legacy/elementary/src/tests
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
..
.gitignore
Makefile.am tests/elm_test_image: Give a proper path to test images 2015-04-22 17:24:42 +02:00
elm_cxx_suite.cc tests: Clean-up elementary-cxx test suite. 2014-09-17 20:28:05 -03:00
elm_suite.c atspi:Set roles for widgets 2014-06-11 11:07:16 +09:00
elm_suite.h tests: Add elm_test_helper_wait_flag to avoid infinite loop 2014-07-16 23:31:58 +09:00
elm_test_actionslider.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_atspi.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_bg.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_box.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_bubble.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_button.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_calendar.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_check.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_clock.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_colorselector.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_conformant.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_ctxpopup.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_datetime.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_dayselector.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_diskselector.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_entry.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_fileselector.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_fileselector_button.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_fileselector_entry.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_flip.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_flipselector.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_frame.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_gengrid.c atspi: changed del event broadcast. Fix genlist & gengrid tests 2015-04-06 10:25:02 +02:00
elm_test_genlist.c atspi: changed del event broadcast. Fix genlist & gengrid tests 2015-04-06 10:25:02 +02:00
elm_test_glview.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_grid.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_helper.c tests: actually run the main loop properly to be able to enter in idle state. 2015-01-16 14:31:57 +01:00
elm_test_helper.h tests: Pass the interval to elm_test_helper_wait_flag for the caller to change 2014-07-17 22:36:31 +09:00
elm_test_hover.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_hoversel.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_icon.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_image.c tests/elm_test_image: Give a proper path to test images 2015-04-22 17:24:42 +02:00
elm_test_index.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_init.c
elm_test_inwin.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_label.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_layout.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_list.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_map.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_mapbuf.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_menu.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_multibuttonentry.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_naviframe.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_notify.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_panel.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_panes.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_photo.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_photocam.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_player.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_plug.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_popup.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_prefs.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_progressbar.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_radio.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_scroller.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_segmentcontrol.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_separator.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_slider.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_slideshow.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_spinner.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_table.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_thumb.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_toolbar.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_video.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_web.c Do not explicite include atspi headers. 2015-01-14 15:15:47 +01:00
elm_test_win.c win: Add autohide and ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN 2015-07-01 15:40:57 +01:00