2024-08-10 17:57:15 +03:00
|
|
|
#ifndef APP_BROWSER_HEADER_MENU_H
|
|
|
|
#define APP_BROWSER_HEADER_MENU_H
|
|
|
|
|
|
|
|
#include <giomm/menu.h>
|
|
|
|
#include <glibmm/i18n.h>
|
|
|
|
#include <gtkmm/menubutton.h>
|
|
|
|
|
|
|
|
namespace app::browser::header
|
|
|
|
{
|
|
|
|
class Menu : public Gtk::MenuButton
|
|
|
|
{
|
2024-08-12 09:45:22 +03:00
|
|
|
private:
|
|
|
|
|
|
|
|
Glib::RefPtr<Gio::Menu> tab,
|
2024-08-12 18:27:25 +03:00
|
|
|
tab_close,
|
2024-08-12 09:45:22 +03:00
|
|
|
tool,
|
|
|
|
main;
|
|
|
|
|
2024-08-10 17:57:15 +03:00
|
|
|
public:
|
|
|
|
|
|
|
|
const char* TOOLTIP = _("Menu");
|
|
|
|
|
|
|
|
Menu();
|
2024-08-12 09:45:22 +03:00
|
|
|
|
|
|
|
~Menu();
|
2024-08-10 17:57:15 +03:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // APP_BROWSER_HEADER_MENU_H
|