add subtitle setters

This commit is contained in:
yggverse 2024-08-27 16:22:48 +03:00
parent 3cfc809d5c
commit fe0586a054
4 changed files with 24 additions and 0 deletions

View File

@ -47,4 +47,12 @@ void Header::set_title(
main->set_title(
text
);
}
void Header::set_subtitle(
const Glib::ustring text
) {
main->set_subtitle(
text
);
}

View File

@ -28,6 +28,10 @@ namespace app::browser
void set_title(
const Glib::ustring text
);
void set_subtitle(
const Glib::ustring text
);
};
}

View File

@ -41,4 +41,12 @@ void Main::set_title(
mainTitle->set(
TEXT
);
}
void Main::set_subtitle(
const Glib::ustring & TEXT
) {
mainSubtitle->set(
TEXT
);
}

View File

@ -28,6 +28,10 @@ namespace app::browser::header
void set_title(
const Glib::ustring & TEXT
);
void set_subtitle(
const Glib::ustring & TEXT
);
};
}