*/
Eina_Bool view_create(void *user_data)
{
- /* Create the window */
s_info.win = view_create_win(PACKAGE);
if (s_info.win == NULL) {
dlog_print(DLOG_ERROR, LOG_TAG, "failed to create a window.");
return EINA_FALSE;
}
- /* Create the conformant */
s_info.conform = view_create_conformant(s_info.win);
if (s_info.conform == NULL) {
dlog_print(DLOG_ERROR, LOG_TAG, "failed to create a conformant");
if (!_create_main_layout())
return EINA_FALSE;
- /* Show the window after main view is set up */
evas_object_show(s_info.win);
return EINA_TRUE;
{
Evas_Object *win = NULL;
-
- /*
- * Window
- * Create and initialize elm_win.
- * elm_win is mandatory to manipulate the window.
- */
- //win = elm_win_util_standard_add(pkg_name, pkg_name);
win = elm_win_add(NULL, pkg_name, ELM_WIN_BASIC);
elm_win_conformant_set(win, EINA_TRUE);
*/
Evas_Object *view_create_conformant(Evas_Object *win)
{
- /*
- * Conformant
- * Create and initialize elm_conformant.
- * elm_conformant is mandatory for base GUI to have proper size
- * when indicator or virtual keypad is visible.
- */
Evas_Object *conform = NULL;
if (win == NULL) {