Enter search terms or a module, class or function name.
Naviframe stands for navigation frame. It’s a views manager for applications.
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. The transition between views is animated, depending on the theme applied to the widget.
Naviframe views hold spaces to various elements, which are:
Becase this widget is a layout, one places content on those areas by using part_content_set() on the right swallow part names expected for each, which are:
"default" - The main content of the current page
"icon" - An icon in the title area of the current page
previous page
page
For text, part_text_set() will work here on:
page
current page
Most of those content objects can be passed at the time of an item creation (see push_to()).
Naviframe items can have different styles, which affect the transition between views, for example. On the default theme, two of them are supported:
the other
at its place and is ovelapped by the new
This widget emits the following signals, besides the ones sent from LayoutClass:
changing the item
title,clicked - User clicked title area
focused - When the naviframe has received focus. (since 1.8)
unfocused - When the naviframe has lost focus. (since 1.8)
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.
Bases: efl.elementary.layout_class.LayoutClass
This is the class that actually implements the widget.
Get a bottom item on the naviframe stack
| Type : | NaviframeItem |
|---|
When the naviframe has received focus.
New in version 1.8.
User clicked title area.
When the transition is finished in changing the item.
When the naviframe has lost focus.
New in version 1.8.
Preserve the content objects when items are popped.
| Type : | bool |
|---|
Whether the event when pushing/popping items is enabled
If is True, the contents of the naviframe item will receives events from mouse and keyboard during view changing such as item push/pop.
Warning
Events will be blocked by setting freeze_events internally. So don’t call the API while pushing/popping items.
| Type : | bool |
|---|
Pop an item that is on top of the stack
This pops an item that is on the top (visible) of the naviframe, makes it disappear, then deletes the item. The item that was underneath it on the stack will become visible.
See also
| Returns: | None or the content object(if content_preserve_on_pop is True). |
|---|---|
| Return type: | Object |
Simple version of NaviframeItem.promote().
See also
Simple version of NaviframeItem.push_to().
See also
Get a list of all the naviframe items.
| Type : | tuple of NaviframeItem |
|---|
Whether prev button(back button) will be created automatically or not.
See also
item_push()
| Type : | bool |
|---|
Get a top item on the naviframe stack
| Type : | NaviframeItem |
|---|
Bases: efl.elementary.object_item.ObjectItem
An item for the Naviframe widget.
The following styles are available for this item:
| Parameters: |
|
|---|
Insert a new item into the naviframe after item after.
The item is inserted into the naviframe straight away without any transition operations. This item will be deleted when it is popped.
See also
| Parameters: | after (NaviframeItem) – The naviframe item to insert after. |
|---|---|
| Returns: | The created item or None upon failure. |
| Return type: | NaviframeItem |
Insert a new item into the naviframe before item before.
The item is inserted into the naviframe straight away without any transition operations. This item will be deleted when it is popped.
See also
| Parameters: | before (NaviframeItem) – The naviframe item to insert before. |
|---|---|
| Returns: | The created item or None upon failure. |
| Return type: | NaviframeItem |
Pop the items between the top and the above one on the given item.
Promote an item already in the naviframe stack to the top of the stack
This will take the indicated item and promote it to the top of the stack as if it had been pushed there. The item must already be inside the naviframe stack to work.
Push a new item to the top of the naviframe stack (and show it).
The item pushed becomes one page of the naviframe, this item will be deleted when it is popped.
See also
| Returns: | The created item or None upon failure. |
|---|---|
| Return type: | NaviframeItem |
The item style.
The following styles are available for this item:
| Type : | string |
|---|
Show/Hide the title area
When the title area is invisible, then the controls would be hidden so as to expand the content area to full-size.
| Type : | bool |
|---|