add page subtitle support

This commit is contained in:
yggverse 2024-08-27 14:49:09 +03:00
parent c22b3a6b30
commit 9be94979b9
2 changed files with 4 additions and 0 deletions

View File

@ -7,10 +7,12 @@ using namespace app::browser::main::tab;
Page::Page(
const Glib::ustring & TITLE,
const Glib::ustring & SUBTITLE,
const Glib::ustring & REQUEST
) {
// Init extras
title = TITLE;
subtitle = SUBTITLE;
// Init container
set_orientation(

View File

@ -28,6 +28,7 @@ namespace app::browser::main::tab
char buffer[0xfffff]; // 1Mb
Glib::ustring title;
Glib::ustring subtitle;
Glib::RefPtr<Gio::SocketClient> GioSocketClient_RefPtr;
Glib::RefPtr<Gio::SocketConnection> GioSocketConnection_RefPtr;
@ -40,6 +41,7 @@ namespace app::browser::main::tab
Page(
const Glib::ustring & TITLE,
const Glib::ustring & SUBTITLE = "",
const Glib::ustring & REQUEST = ""
);