Browse Source

add set_navbar_request_text method

CPP-GTK4
yggverse 2 months ago
parent
commit
99f1fa7c2e
  1. 9
      src/app/browser/main/tab/page.cpp
  2. 5
      src/app/browser/main/tab/page.hpp

9
src/app/browser/main/tab/page.cpp

@ -270,4 +270,13 @@ Glib::ustring Page::get_subtitle() @@ -270,4 +270,13 @@ Glib::ustring Page::get_subtitle()
Glib::ustring Page::get_navigation_request_text()
{
return pageNavigation->get_request_text();
}
// Setters
void Page::set_navbar_request_text(
const Glib::ustring & VALUE
) {
pageNavigation->set_request_text(
VALUE
);
}

5
src/app/browser/main/tab/page.hpp

@ -67,6 +67,11 @@ namespace app::browser::main::tab @@ -67,6 +67,11 @@ namespace app::browser::main::tab
Glib::ustring get_subtitle();
Glib::ustring get_navigation_request_text();
// Setters
void set_navbar_request_text(
const Glib::ustring & VALUE
);
};
}

Loading…
Cancel
Save