mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
add tooltip
This commit is contained in:
parent
e089acca6c
commit
c9306bb4cd
2 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -31,6 +31,9 @@ namespace app::browser
|
|||
// Requirements
|
||||
menu::Main *main;
|
||||
|
||||
// Defaults
|
||||
const gchar *TOOLTIP = "Menu";
|
||||
|
||||
// Constructor
|
||||
Menu(
|
||||
Header *header
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue