언어 설정

Menu
Sites
Language
How do I insert a special character into a button?

Hi all,
I want to know, I want to express the special character buttons (&).

Evas_Object * button = elm_button_add (layout);
elm_object_text_set (button, (char *) "&");

elm_object_text_set (button, (char *) "\&");

elm_object_text_set (button, (char *) "\\&");

elm_object_text_set (button, (char *) "&&");

elm_object_text_set (button, (char *) "&&&");

I can not see all.

elm_object_text_set (button, (char *) "*");  <= ~This is visible.

I can not show the '&' character on the button.
How can I do this?

Edited by: jeonghun cho on 25 3월, 2015

Responses

1 댓글
Alex Ashirov

Hi,

Please try the folowing:

elm_object_text_set (btn, "&amp;");