NavigationPage.tag

string tag() @property

Get tag property.

Returns

The page tag.

The tag can be used to retrieve the page with [adw.navigation_view.NavigationView.findPage], as well as with [adw.navigation_view.NavigationView.pushByTag], [adw.navigation_view.NavigationView.popToTag] or [adw.navigation_view.NavigationView.replaceWithTags].

Tags must be unique within each class@NavigationView.

The tag also must be set to use the navigation.push action.

void tag(string propval) @property

Set tag property.

Parameters

propvalThe page tag. The tag can be used to retrieve the page with [adw.navigation_view.NavigationView.findPage], as well as with [adw.navigation_view.NavigationView.pushByTag], [adw.navigation_view.NavigationView.popToTag] or [adw.navigation_view.NavigationView.replaceWithTags]. Tags must be unique within each class@NavigationView. The tag also must be set to use the navigation.push action.