draft back/forward actions

This commit is contained in:
yggverse 2024-09-01 15:21:12 +03:00
parent b3c00d29be
commit 75aaa6e717
11 changed files with 69 additions and 31 deletions

View file

@ -80,15 +80,20 @@ Glib::ustring Page::get_subtitle()
}
// Actions
void Page::refresh()
void Page::back()
{
pageNavbar->refresh();
pageNavbar->back();
}
void Page::forward()
{
pageNavbar->forward();
}
void Page::update()
{
// Update navigation history
pageNavbar->history_push(
pageNavbar->push(
pageNavbar->get_request_text()
);