This avoids unnecessary setups again when obj <-> sub has connected.
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
if (!elm_layout_theme_set
(obj, "ctxpopup", "base", elm_widget_style_get(obj)))
CRITICAL("Failed to set layout!");
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
elm_widget_can_focus_set(obj, EINA_FALSE);
priv->expand = !!_elm_config->fileselector_expand_enable;
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
priv->window_title = eina_stringshare_add(DEFAULT_WINDOW_TITLE);
if (getenv("HOME")) priv->fsd.path = eina_stringshare_add(getenv("HOME"));
else priv->fsd.path = eina_stringshare_add("/");
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
if (!elm_layout_theme_set
(obj, "fileselector_entry", "base", elm_widget_style_get(obj)))
CRITICAL("Failed to set layout!");
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
{
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
elm_widget_mirrored_automatic_set(obj, EINA_FALSE);
evas_object_smart_callback_add(obj, "clicked", _on_clicked, obj);
+ //What are you doing here?
eo_do(obj, elm_wdg_theme(NULL));
}
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
if (!elm_layout_theme_set
(obj, "multibuttonentry", "base", elm_widget_style_get(obj)))
CRITICAL("Failed to set layout!");
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI Evas_Object *
char buf[256];
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
Elm_Player_Smart_Data *priv = _pd;
if (!elm_layout_theme_set(obj, "player", "base", elm_widget_style_get(obj)))
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
#else
eo_error_set(obj);
#endif
{
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
elm_widget_can_focus_set(obj, _elm_config->access_mode);
}
eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI Evas_Object *
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
priv->enabled_position = ELM_ACTIONSLIDER_ALL;
priv->drag_button_base =
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
evas_object_smart_callback_add(wd->resize_obj, SIG_CHILD_ADDED,
_child_added_cb_proxy, obj);
evas_object_smart_callback_add(wd->resize_obj, SIG_CHILD_REMOVED,
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
priv->pos = ELM_BUBBLE_POS_TOP_LEFT; //default
elm_widget_can_focus_set(obj, EINA_FALSE);
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
priv->first_interval = 0.85;
priv->year_min = 2;
priv->year_max = -1;
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
edje_object_signal_callback_add
(wd->resize_obj, "elm,action,check,on", "",
_on_check_on, obj);
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
priv->cur.ampm = -1;
priv->cur.seconds = EINA_TRUE;
priv->cur.am_pm = EINA_TRUE;
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
static void
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
if (!elm_layout_theme_set
(obj, "colorselector", "palette", elm_object_style_get(obj)))
CRITICAL("Failed to set layout!");
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
{
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
elm_widget_can_focus_set(obj, EINA_FALSE);
if (!elm_layout_theme_set
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
-
Elm_Conformant_Smart_Data *sd = _pd;
top = elm_widget_top_get(obj);
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
if (!elm_layout_theme_set(obj, "datetime", "base",
elm_widget_style_get(obj)))
CRITICAL("Failed to set layout!");
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI const char *
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
if (!elm_layout_theme_set(obj, "dayselector", "base", "dayselector"))
CRITICAL("Failed to set layout!");
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
Evas *evas;
Evas_Object *blank, *edje;
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
evas = evas_object_evas_get(obj);
evas_event_freeze(evas);
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI Eina_Bool
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
priv->entry_edje = wd->resize_obj;
priv->cnp_mode = ELM_CNP_MODE_MARKUP;
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
priv->clip = evas_object_rectangle_add(evas_object_evas_get(obj));
evas_object_static_clip_set(priv->clip, EINA_TRUE);
evas_object_move(priv->clip, -49999, -49999);
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI Eina_Bool
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
if (!elm_layout_theme_set
(obj, "flipselector", "base", elm_widget_style_get(obj)))
CRITICAL("Failed to set layout!");
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
edje_object_signal_callback_add
(wd->resize_obj, "elm,anim,done", "elm",
_on_recalc_done, obj);
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
priv->hit_rect = evas_object_rectangle_add(evas_object_evas_get(obj));
evas_object_smart_member_add(priv->hit_rect, obj);
elm_widget_sub_object_add(obj, priv->hit_rect);
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI void
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
priv->hit_rect = evas_object_rectangle_add(evas_object_evas_get(obj));
evas_object_smart_member_add(priv->hit_rect, obj);
elm_widget_sub_object_add(obj, priv->hit_rect);
eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
static void
{
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
+ elm_widget_sub_object_add(eo_parent_get(obj), obj);
+
Elm_Gesture_Layer_Smart_Data *priv = _pd;
priv->line_min_length =
{
eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj, evas_obj_type_set(MY_CLASS_NAME));
-
- elm_widget_sub_object_add(eo_parent_get(obj), obj);
}
EAPI Eina_Bool