add tooltip

This commit is contained in:
yggverse 2024-08-06 21:51:37 +03:00
parent e089acca6c
commit c9306bb4cd
2 changed files with 10 additions and 0 deletions

View File

@ -12,6 +12,13 @@ namespace app::browser::header
// Init GTK
this->gtk = gtk_menu_button_new();
gtk_widget_set_tooltip_text(
GTK_WIDGET(
this->gtk
),
Menu::TOOLTIP
);
// Init requirements
this->main = new menu::Main(
this

View File

@ -31,6 +31,9 @@ namespace app::browser
// Requirements
menu::Main *main;
// Defaults
const gchar *TOOLTIP = "Menu";
// Constructor
Menu(
Header *header