mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
implement set_title method
This commit is contained in:
parent
233471c22b
commit
98a572a1c0
4 changed files with 27 additions and 1 deletions
|
|
@ -21,4 +21,12 @@ Main::Main()
|
|||
Main::~Main()
|
||||
{
|
||||
delete title;
|
||||
}
|
||||
|
||||
void Main::set_title(
|
||||
const Glib::ustring text
|
||||
) {
|
||||
title->set_text(
|
||||
text
|
||||
);
|
||||
}
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef APP_BROWSER_HEADER_MAIN_HPP
|
||||
#define APP_BROWSER_HEADER_MAIN_HPP
|
||||
|
||||
#include <glibmm/ustring.h>
|
||||
#include <gtkmm/box.h>
|
||||
|
||||
namespace app::browser::header
|
||||
|
|
@ -19,6 +20,10 @@ namespace app::browser::header
|
|||
Main();
|
||||
|
||||
~Main();
|
||||
|
||||
void set_title(
|
||||
const Glib::ustring text
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue