elm_object_signal_emit(pThis->t_pLayout, “ss”, “code”); // some signals to edc working OK
elm_object_part_text_set(pThis->t_pLayout, “label1”, “XYZ :”); :- OK
elm_object_part_text_set(pThis->t_pLayout, “qqq”, “dada”); :- ok
elm_object_part_text_set(pThis->t_pLayout, “qqqq”, “sasa”);:-ok
EVAS_OBJECT_SHOW(pThis->new Button);:- ok elm_object_text_set(pThis->Text_LocalSLabel,”lokesh_abc”); NG
elm_object_focus_set(pThis->Text_LocalSLabel, EINA_TRUE);NG
but these works OK, if I click or any key event on newly created button than these becimes visible text as well as focus.
Button Focus Setting
Hi,
I am Facing a Problem many times.
if Somebody can help that is most welcomed.
Problem:- Code Snipplet
1:- In a click Callback Function I am Hiding/Destroy current Evas Buttons and other evas objects and making visible other Evas Objects(buttons)
and Setting text on those buttons and setting focus on new buttons.
But Problem is all Evas Object destroy is OK but text is not set on newly created buttons and also focus is not set on newly visible buttons.
EVAS_OBJECT_DESTROY(pThis->1but);
EVAS_OBJECT_DESTROY(pThis->2but);
EVAS_OBJECT_DESTROY(pThis->Textobj);
elm_object_signal_emit(pThis->t_pLayout, “ss”, “code”); // some signals to edc working OK
elm_object_part_text_set(pThis->t_pLayout, “label1”, “XYZ :”); :- OK
elm_object_part_text_set(pThis->t_pLayout, “qqq”, “dada”); :- ok
elm_object_part_text_set(pThis->t_pLayout, “qqqq”, “sasa”);:-ok
EVAS_OBJECT_SHOW(pThis->new Button);:- ok
elm_object_text_set(pThis->Text_LocalSLabel,”lokesh_abc”); NG
elm_object_focus_set(pThis->Text_LocalSLabel, EINA_TRUE);NG
but these works OK, if I click or any key event on newly created button than these becimes visible text as well as focus.
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio