efl/src/lib/elementary/efl_ui_navigation_bar.eo

29 lines
1.0 KiB
Plaintext

class @beta Efl.Ui.Navigation_Bar extends Efl.Ui.Layout_Base implements Efl.Text
{
[[Navigation_Bar widget.
Navigation_Bar widget provides a bar form useful for navigation.
Navigation_Bar has a back button which is used to navigate to the previous
content in the stack.
]]
parts {
back_button: Efl.Ui.Navigation_Bar_Part_Back_Button;
[[Back button to navigate to the previous content in the stack.
The back button works only if the Navigation_Bar widget is contained
in the Stack widget(Efl.Ui.Stack class).
e.g. The Navigation_Bar widget is set in the Navigation_Layout widget
and the Navigation_Layout widget is pushed to the Stack widget.
The back button is hidden by default and it can be visible.
e.g. efl_gfx_visible_set(efl_part(navigation_bar, "back_button"), EINA_TRUE);
]]
}
implements {
Efl.Object.constructor;
Efl.Text.text { set; get; }
Efl.Ui.L10n.l10n_text { set; get; }
Efl.Part.part_get;
}
}