This commit is contained in:
yggverse 2024-08-06 21:49:02 +03:00
parent 3fe3468696
commit e089acca6c
2 changed files with 11 additions and 3 deletions

View File

@ -12,11 +12,18 @@ namespace app::browser::header
// Init GTK
this->gtk = gtk_button_new();
gtk_button_set_label (
gtk_button_set_icon_name(
GTK_BUTTON(
this->gtk
),
Tab::LABEL
Tab::ICON
);
gtk_widget_set_tooltip_text(
GTK_WIDGET(
this->gtk
),
Tab::TOOLTIP
);
// Render

View File

@ -21,7 +21,8 @@ namespace app::browser
Header *header;
// Defaults
const gchar *LABEL = "New tab";
const gchar *ICON = "tab-new-symbolic";
const gchar *TOOLTIP = "New tab";
// Constructor
Tab(