mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
switch to gtkmm
This commit is contained in:
parent
058aabce26
commit
d3e894e0ac
28 changed files with 50 additions and 1413 deletions
|
|
@ -1,36 +0,0 @@
|
|||
#include "tab.h"
|
||||
|
||||
namespace app::browser::header
|
||||
{
|
||||
// Construct
|
||||
Tab::Tab(
|
||||
Header *header
|
||||
) {
|
||||
// Init dependencies
|
||||
this->header = header;
|
||||
|
||||
// Init GTK
|
||||
this->gtk = gtk_button_new();
|
||||
|
||||
gtk_button_set_icon_name(
|
||||
GTK_BUTTON(
|
||||
this->gtk
|
||||
),
|
||||
Tab::ICON
|
||||
);
|
||||
|
||||
gtk_widget_set_tooltip_text(
|
||||
GTK_WIDGET(
|
||||
this->gtk
|
||||
),
|
||||
Tab::TOOLTIP
|
||||
);
|
||||
|
||||
// Render
|
||||
gtk_widget_show(
|
||||
GTK_WIDGET(
|
||||
this->gtk
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue