update window subtitle on refresh

This commit is contained in:
yggverse 2024-08-27 16:39:44 +03:00
parent fb71cfa2be
commit 61613c12af
5 changed files with 42 additions and 9 deletions

View file

@ -28,9 +28,16 @@ Main::~Main()
}
// Getters
Glib::ustring Main::get_current_tab_label_text()
Glib::ustring Main::get_current_tab_page_title()
{
return mainTab->get_label_text(
return mainTab->get_page_title(
mainTab->get_current_page()
);
};
Glib::ustring Main::get_current_tab_page_subtitle()
{
return mainTab->get_page_subtitle(
mainTab->get_current_page()
);
};