Tizen Native API  5.5
Naviframe

Naviframe stands for navigation frame. It's a views manager for applications.

naviframe_inheritance_tree.png

A naviframe holds views (or pages) as its items. Those items are organized in a stack, so that new items get pushed on top of the old, and only the topmost view is displayed at one time. Due to the characteristics of a stack, even though you push a new item, previous item is not deleted. Previous item will be shown when you pop new item. The transition between views is animated, depending on the theme applied to the widget.

Naviframe views hold spaces to various elements, which are:

One can use elm_object_item_part_content_set, elm_object_item_part_content_get, elm_object_item_part_content_unset functions to handle the contents. The swallow part name should be one of these:

One can use elm_object_item_part_text_set, elm_object_item_part_text_get to handle the text parts. The swallow part name should be one of these:

Most of those content objects can be passed at the time of an item creation (see elm_naviframe_item_push()).

Naviframe items can have different styles, which affect the transition between views, for example. On the default theme, two of them are supported:

This widget emits the following signals, besides the ones sent from Layout:

All the parts, for content and text, described here will also be reachable by naviframe items direct calls:

What happens is that the topmost item of a naviframe will be the widget's target layout, when accessed directly. Items lying below the top one can be interacted with this way.

Here is an example on its usage:

Functions

Evas_Objectelm_naviframe_add (Evas_Object *parent)
 Add a new Naviframe object to the parent.
EINA_DEPRECATED void elm_naviframe_item_title_visible_set (Elm_Object_Item *it, Eina_Bool visible)
 Show/Hide the title area.
EINA_DEPRECATED Eina_Bool elm_naviframe_item_title_visible_get (const Elm_Object_Item *it)
 Get a value whether title area is visible or not.

Function Documentation

Add a new Naviframe object to the parent.

Parameters:
parentParent object
Returns:
New object or NULL, if it cannot be created
Since :
2.3
Examples:
entry_example.c, naviframe_example.c, and web_example_02.c.

Get a value whether title area is visible or not.

Parameters:
itThe naviframe item
Returns:
If EINA_TRUE, title area is visible
Deprecated:
Use elm_naviframe_item_title_enabled_get() instead.
See also:
also elm_naviframe_item_title_visible_set()

Show/Hide the title area.

Parameters:
itThe naviframe item
visibleIf EINA_TRUE, title area will be visible, hidden otherwise

When the title area is invisible, then the controls would be hidden so as to expand the content area to full-size.

Deprecated:
Use elm_naviframe_item_title_enabled_set() instead.
See also:
also elm_naviframe_item_title_visible_get()
also elm_naviframe_item_title_enabled_get()