#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#endif
+
+// Stack API is still beta (and EO only)
+#define EFL_UI_WIN_BETA
#include <Elementary.h>
static int level = 0;
static void
_bt_popto(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
- elm_win_stack_pop_to(popto_win);
+ efl_ui_win_stack_pop_to(popto_win);
}
static void
level++;
snprintf(buf, sizeof(buf), "Level %i", level);
win = _win_new(data, buf);
- elm_win_stack_master_id_set(win, elm_win_stack_id_get(data));
+ efl_ui_win_stack_master_id_set(win, efl_ui_win_stack_id_get(data));
evas_object_show(win);
}
Evas_Object *bg, *bx, *bt, *lb, *win;
win = elm_win_add(NULL, "window-stack", ELM_WIN_BASIC);
- elm_win_stack_base_set(win, EINA_TRUE);
+ efl_ui_win_stack_base_set(win, EINA_TRUE);
elm_win_title_set(win, "Window Stack");
elm_win_autodel_set(win, EINA_TRUE);
$false otherwise.]]
}
}
- @property stack_id {
+ @property stack_id @beta {
get {
[[Get the stack ID string of the window as an opaque string.
use by other windows to make this window part of a stack
of windows to be placed on top of eachother as if they are
a series of dialogs or questions one after the other and
- that you may go back through history.
-
- WARNING: This API is not stable - do not use yet]]
+ that you may go back through history.]]
}
values {
id: string; [[An opaque string that has no specific format,
display.]]
}
}
- @property stack_master_id {
+ @property stack_master_id @beta {
set {
[[Set the window stack ID to use as the master top-level.
This sets the ID string to be used as the master top-level
window as the base of a stack of windows. This must be set
before the first time the window is shown and should never
- be changed after that point in time ever again.
-
- WARNING: This API is not stable - do not use yet]]
+ be changed after that point in time ever again.]]
}
get {
[[Get the stack master Id that has been set.]]
display.]]
}
}
- @property stack_base {
+ @property stack_base @beta {
[[The stack base state of this window
This is a boolean flag that determines if this window will
correctly.
This state should be set before a window is shown for the
- first time and never changed again after that.
-
- WARNING: This API is not stable - do not use yet]]
+ first time and never changed again after that.]]
set {}
get {}
otherwise.]]
}
}
- stack_pop_to {
+ stack_pop_to @beta {
[[Pop (delete) all windows in the stack above this window.
This will try and delete all the windows in the stack that
- are above the window.
-
- WARNING: This API is not stable - do not use yet]]
+ are above the window.]]
}
socket_listen {
[[Create a socket to provide the service for Plug widget.]]