git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@60996
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
bb = elm_bubble_add(win);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
bb = elm_bubble_add(win);
- elm_bubble_label_set(bb, "Message 3");
- elm_bubble_info_set(bb, "10:32 4/11/2008");
+ elm_object_text_set(bb, "Message 3");
+ elm_object_text_part_set(bb, "info", "10:32 4/11/2008");
elm_bubble_icon_set(bb, ic);
evas_object_smart_callback_add(bb, "clicked", _print_clicked, NULL);
evas_object_show(ic);
elm_bubble_icon_set(bb, ic);
evas_object_smart_callback_add(bb, "clicked", _print_clicked, NULL);
evas_object_show(ic);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
bb = elm_bubble_add(win);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
bb = elm_bubble_add(win);
- elm_bubble_label_set(bb, "Message 2");
- elm_bubble_info_set(bb, "7:16 27/10/2008");
+ elm_object_text_set(bb, "Message 2");
+ elm_object_text_part_set(bb, "info", "7:16 27/10/2008");
elm_bubble_icon_set(bb, ic);
evas_object_smart_callback_add(bb, "clicked", _print_clicked, NULL);
evas_object_show(ic);
elm_bubble_icon_set(bb, ic);
evas_object_smart_callback_add(bb, "clicked", _print_clicked, NULL);
evas_object_show(ic);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
bb = elm_bubble_add(win);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
bb = elm_bubble_add(win);
- elm_bubble_label_set(bb, "Message 1");
- elm_bubble_info_set(bb, "20:47 18/6/2008");
+ elm_object_text_set(bb, "Message 1");
+ elm_object_text_part_set(bb, "info", "20:47 18/6/2008");
elm_bubble_icon_set(bb, ic);
evas_object_smart_callback_add(bb, "clicked", _print_clicked, NULL);
evas_object_show(ic);
elm_bubble_icon_set(bb, ic);
evas_object_smart_callback_add(bb, "clicked", _print_clicked, NULL);
evas_object_show(ic);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
bb = elm_bubble_add(win);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
bb = elm_bubble_add(win);
- elm_bubble_label_set(bb, "Message 1");
- elm_bubble_info_set(bb, "Corner: bottom_right");
+ elm_object_text_set(bb, "Message 1");
+ elm_object_text_part_set(bb, "info", "Corner: bottom_right");
elm_bubble_icon_set(bb, ic);
elm_bubble_corner_set(bb, "bottom_right");
evas_object_smart_callback_add(bb, "clicked", _print_clicked, NULL);
elm_bubble_icon_set(bb, ic);
elm_bubble_corner_set(bb, "bottom_right");
evas_object_smart_callback_add(bb, "clicked", _print_clicked, NULL);
evas_object_show(bb);
bb = elm_bubble_add(win);
evas_object_show(bb);
bb = elm_bubble_add(win);
- elm_bubble_label_set(bb, "Message 2");
- elm_bubble_info_set(bb, "10:32 4/11/2008");
+ elm_object_text_set(bb, "Message 2");
+ elm_object_text_part_set(bb, "info", "10:32 4/11/2008");
evas_object_smart_callback_add(bb, "clicked", _print_clicked, NULL);
evas_object_size_hint_weight_set(bb, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(bb, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_smart_callback_add(bb, "clicked", _print_clicked, NULL);
evas_object_size_hint_weight_set(bb, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_align_set(bb, EVAS_HINT_FILL, EVAS_HINT_FILL);
{
Evas_Object *fr = elm_bubble_add(win);
{
Evas_Object *fr = elm_bubble_add(win);
- elm_bubble_label_set(fr, "Bubble");
+ elm_object_text_set(fr, "Bubble");
evas_object_size_hint_weight_set(fr, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(fr, EVAS_HINT_FILL,
EVAS_HINT_FILL);
evas_object_size_hint_weight_set(fr, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(fr, EVAS_HINT_FILL,
EVAS_HINT_FILL);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
bb = elm_bubble_add(win);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
bb = elm_bubble_add(win);
- elm_bubble_label_set(bb, "Message 3");
- elm_bubble_info_set(bb, "10:32 4/11/2008");
+ elm_object_text_set(bb, "Message 3");
+ elm_object_text_part_set(bb, "info", "10:32 4/11/2008");
elm_bubble_icon_set(bb, ic);
evas_object_show(ic);
evas_object_size_hint_weight_set(bb, EVAS_HINT_EXPAND, 0.0);
elm_bubble_icon_set(bb, ic);
evas_object_show(ic);
evas_object_size_hint_weight_set(bb, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
bb = elm_bubble_add(win);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
bb = elm_bubble_add(win);
- elm_bubble_label_set(bb, "Message 2");
- elm_bubble_info_set(bb, "7:16 27/10/2008");
+ elm_object_text_set(bb, "Message 2");
+ elm_object_text_part_set(bb, "info", "7:16 27/10/2008");
elm_bubble_icon_set(bb, ic);
evas_object_show(ic);
evas_object_size_hint_weight_set(bb, EVAS_HINT_EXPAND, 0.0);
elm_bubble_icon_set(bb, ic);
evas_object_show(ic);
evas_object_size_hint_weight_set(bb, EVAS_HINT_EXPAND, 0.0);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
bb = elm_bubble_add(win);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
bb = elm_bubble_add(win);
- elm_bubble_label_set(bb, "Message 1");
- elm_bubble_info_set(bb, "20:47 18/6/2008");
+ elm_object_text_set(bb, "Message 1");
+ elm_object_text_part_set(bb, "info", "20:47 18/6/2008");
elm_bubble_icon_set(bb, ic);
evas_object_show(ic);
evas_object_size_hint_weight_set(bb, EVAS_HINT_EXPAND, 0.0);
elm_bubble_icon_set(bb, ic);
evas_object_show(ic);
evas_object_size_hint_weight_set(bb, EVAS_HINT_EXPAND, 0.0);
else if (from_params) p = from_params;
else return;
else if (from_params) p = from_params;
else return;
- if (p->label) elm_bubble_label_set(obj, p->label);
+ if (p->label) elm_object_text_set(obj, p->label);
if (p->icon) elm_bubble_icon_set(obj, p->icon);
if (p->icon) elm_bubble_icon_set(obj, p->icon);
- if (p->info) elm_bubble_info_set(obj, p->info);
+ if (p->info) elm_object_text_part_set(obj, "info", p->info);
if (p->content) elm_bubble_content_set(obj, p->content);
}
if (p->content) elm_bubble_content_set(obj, p->content);
}
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
{
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
{
- elm_bubble_label_set(obj, param->s);
+ elm_object_text_set(obj, param->s);
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
{
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
{
- elm_bubble_info_set(obj, param->s);
+ elm_object_text_part_set(obj, "info", param->s);
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
{
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
{
- param->s = elm_bubble_label_get(obj);
+ param->s = elm_object_text_get(obj);
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
{
{
if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
{
- param->s = elm_bubble_info_get(obj);
+ param->s = elm_object_text_part_get(obj, "info");