mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 21:14:14 +00:00
implement subtitle getter
This commit is contained in:
parent
330252f8e0
commit
6aeff55cc8
@ -75,6 +75,11 @@ Glib::ustring Page::get_title()
|
|||||||
return title;
|
return title;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Glib::ustring Page::get_subtitle()
|
||||||
|
{
|
||||||
|
return subtitle;
|
||||||
|
}
|
||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
void Page::update()
|
void Page::update()
|
||||||
{
|
{
|
||||||
|
@ -25,14 +25,17 @@ namespace app::browser::main::tab
|
|||||||
|
|
||||||
class Page : public Gtk::Box
|
class Page : public Gtk::Box
|
||||||
{
|
{
|
||||||
char buffer[0xfffff]; // 1Mb
|
// Extras
|
||||||
|
|
||||||
Glib::ustring title;
|
Glib::ustring title;
|
||||||
Glib::ustring subtitle;
|
Glib::ustring subtitle;
|
||||||
|
|
||||||
|
// Socket
|
||||||
|
char buffer[0xfffff]; // 1Mb
|
||||||
|
|
||||||
Glib::RefPtr<Gio::SocketClient> GioSocketClient_RefPtr;
|
Glib::RefPtr<Gio::SocketClient> GioSocketClient_RefPtr;
|
||||||
Glib::RefPtr<Gio::SocketConnection> GioSocketConnection_RefPtr;
|
Glib::RefPtr<Gio::SocketConnection> GioSocketConnection_RefPtr;
|
||||||
|
|
||||||
|
// Components
|
||||||
page::Content * pageContent;
|
page::Content * pageContent;
|
||||||
page::Navbar * pageNavbar;
|
page::Navbar * pageNavbar;
|
||||||
page::Progressbar * pageProgressbar;
|
page::Progressbar * pageProgressbar;
|
||||||
@ -49,6 +52,7 @@ namespace app::browser::main::tab
|
|||||||
|
|
||||||
// Getters
|
// Getters
|
||||||
Glib::ustring get_title();
|
Glib::ustring get_title();
|
||||||
|
Glib::ustring get_subtitle();
|
||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
void update();
|
void update();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user