NavigationPage


Object Hierarchy:

Adw.NavigationPage Adw.NavigationPage Adw.NavigationPage Gtk.Widget Gtk.Widget Gtk.Widget->Adw.NavigationPage GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Adw.NavigationPage Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Adw.NavigationPage Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Adw.NavigationPage Gtk.ConstraintTarget->Gtk.Widget

Description:

[ CCode ( type_id = "adw_navigation_page_get_type ()" ) ]
[ Version ( since = "1.4" ) ]
public class NavigationPage : Widget, Accessible, Buildable, ConstraintTarget

A page within [class@NavigationView] or [class@NavigationSplitView].

Each page has a child widget, a title and optionally a tag.

The [signal@NavigationPage:AdwNavigationPage:showing], [signal@NavigationPage:AdwNavigationPage:shown], [ signal@NavigationPage:AdwNavigationPage:hiding] and [signal@NavigationPage:AdwNavigationPage:hidden] signals can be used to track the page's visibility within its `AdwNavigationView`.

Header Bar Integration

When placed inside `AdwNavigationPage`, [class@HeaderBar] will display the page title instead of window title.

When used together with [class@NavigationView], it will also display a back button that can be used to go back to the previous page. Set [ property@HeaderBar:show-back-button] to `FALSE` to disable that behavior if it's unwanted.

CSS Nodes

`AdwNavigationPage` has a single CSS node with name `navigation-view-page`.

Accessibility

`AdwNavigationPage` uses the `GTK_ACCESSIBLE_ROLE_GROUP` role.


Namespace: Adw
Package: libadwaita-1

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Widget