Languages

Menu
Sites
Language
How to remove header after using: elm_naviframe_item_push()

After adding  a box to a naviframe using: elm_naviframe_item_push(ad->nav, "text", NULL,NULL,ad->box,NULL), a header/title appears written "text". a line seperates this header/title from the rest of the UI. Is there any way to remove this title? For example another method of inserting the box into the naviframe? Entering NULL or simply "" into the text parameter does nothing, the top section of the screen is still reserved for the header and the dividing line still seperates the screen.

Any help is greatly appreciated.

View Selected Answer

Responses

3 Replies
Mark as answer
Mango Bar

USe elm_naviframe_item_title_enabled_set api to remove Naviframe title area

Elm_Object_Item *nav_it;
nav_it = elm_naviframe_item_push(ad->nf,NULL,NULL,NULL,content,NULL);
elm_naviframe_item_title_enabled_set(nav_it,EINA_FALSE,EINA_FALSE);

second parameter is boolean value which enable or disable title area.

Khumalo

Thanks for the answer, your solution was a great help.

Mango Bar

That's good to hear!