set_tag


Description:

public void set_tag (string? tag)

Sets the tag for this.

The tag can be used to retrieve the page with [method@NavigationView.find_page], as well as with [method@NavigationView.push_by_tag], [ method@NavigationView.pop_to_tag] or [method@NavigationView.replace_with_tags].

Tags must be unique within each [class@NavigationView].

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

Parameters:

this

a navigation page

tag

the page tag