update header refresh api

This commit is contained in:
yggverse 2024-09-08 07:47:39 +03:00
parent e1327cc0d5
commit ec1864a858
3 changed files with 14 additions and 19 deletions

View file

@ -34,18 +34,15 @@ Header::Header()
);
}
void Header::set_title(
const Glib::ustring & VALUE
void Header::refresh(
const Glib::ustring & TITLE,
const Glib::ustring & SUBTITLE
) {
headerMain->set_title(
VALUE
TITLE
);
}
void Header::set_subtitle(
const Glib::ustring & VALUE
) {
headerMain->set_subtitle(
VALUE
SUBTITLE
);
}