Go to the source code of this file.
|
|
typedef struct NavBar | NavBar |
| | NavBar opaque structure.
|
| |
◆ nav_bar_alloc()
Create a new NavBar instance.
- Parameters
-
| [in,out] | parent | pointer to the parent Widget instance |
- Returns
- pointer to the newly created NavBar instance
◆ nav_bar_free()
| void nav_bar_free |
( |
NavBar * | instance | ) |
|
Delete a NavBar instance.
- Parameters
-
| [in,out] | instance | pointer to the NavBar instance to be deleted |
◆ nav_bar_get_base()
Get a pointer to the base class instance.
The return value can be used in all Widget methods.
- Parameters
-
| [in,out] | instance | pointer to the NavBar instance to be queried |
- Returns
- pointer to the base class instance
◆ nav_bar_pop_location()
| void nav_bar_pop_location |
( |
NavBar * | instance | ) |
|
Remove the last location from the NavBar breadcrumbs header.
- Parameters
-
| [in,out] | instance | pointer to the NavBar instance to be modified |
◆ nav_bar_push_location()
| void nav_bar_push_location |
( |
NavBar * | instance, |
|
|
const char * | location_name ) |
Add the next location to the NavBar breadcrumbs header.
- Parameters
-
| [in,out] | instance | pointer to the NavBar instance to be modified |
| [in] | location_name | zero-terminated string containing the location name to be added |
◆ nav_bar_reset_location()
| void nav_bar_reset_location |
( |
NavBar * | instance | ) |
|
Remove all locations from the NavBar.
- Parameters
-
| [in,out] | instance | pointer to the NavBar instance to be modified |
◆ nav_bar_set_header_image()
| void nav_bar_set_header_image |
( |
NavBar * | instance, |
|
|
const char * | file_path ) |
Set the header image for a NavBar instance.
- Parameters
-
| [in,out] | instance | pointer to the NavBar instance to be modified |
| [in] | file_path | zero-terminated string containing the full path to animation file |
◆ nav_bar_set_header_text()
| void nav_bar_set_header_text |
( |
NavBar * | instance, |
|
|
const char * | text ) |
Set the header text for a NavBar instance.
- Parameters
-
| [in,out] | instance | pointer to the NavBar instance to be modified |
| [in] | text | zero-terminated string containing the text to be set |
◆ nav_bar_set_visible()
| void nav_bar_set_visible |
( |
NavBar * | instance, |
|
|
bool | visible ) |
Set the visibility of a NavBar instance.
- Parameters
-
| [in,out] | instance | pointer to the NavBar instance to be modified |
| [in] | visible | boolean value indicating whether the NavBar should be visible |