const char *txt = elm_object_text_get(en);
elm_object_text_set(glb, txt);
- elm_cnp_selection_set(ELM_SEL_TYPE_CLIPBOARD, elm_object_parent_widget_get(en),
+ elm_cnp_selection_set(elm_object_parent_widget_get(en), ELM_SEL_TYPE_CLIPBOARD,
ELM_SEL_FORMAT_TEXT, txt, strlen(txt));
}
{
Evas_Object *en = (Evas_Object*)(data);
- elm_cnp_selection_get(ELM_SEL_TYPE_CLIPBOARD, ELM_SEL_FORMAT_TEXT,
- en, NULL, NULL);
+ elm_cnp_selection_get(en, ELM_SEL_TYPE_CLIPBOARD, ELM_SEL_FORMAT_TEXT,
+ NULL, NULL);
}
static void
elm_entry_line_wrap_set(en, ELM_WRAP_CHAR);
evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(en, EVAS_HINT_FILL, EVAS_HINT_FILL);
- elm_object_text_set(en,
- "Elementary provides "
- );
+ elm_object_text_set(en, "Elementary provides ");
elm_grid_pack(gd, en, 10, 10, 60, 30);
evas_object_show(en);
elm_entry_line_wrap_set(en, ELM_WRAP_CHAR);
evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(en, EVAS_HINT_FILL, EVAS_HINT_FILL);
- elm_object_text_set(en,
- "rich copying and pasting functionality,"
- );
+ elm_object_text_set(en, "rich copying and pasting functionality,");
elm_grid_pack(gd, en, 10, 40, 60, 30);
evas_object_show(en);