implement pin widget

This commit is contained in:
yggverse 2024-09-17 07:10:28 +03:00
parent 8794708af9
commit 6f77138796
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#include "pin.hpp"
using namespace app::browser::main::tab::label;
Pin::Pin()
{
set_from_icon_name(
"view-pin-symbolic"
);
}

View File

@ -0,0 +1,19 @@
#ifndef APP_BROWSER_MAIN_TAB_LABEL_PIN_HPP
#define APP_BROWSER_MAIN_TAB_LABEL_PIN_HPP
#include <gtkmm/image.h>
namespace app::browser::main::tab::label
{
class Pin : public Gtk::Image
{
/*
* Class API
*/
public:
Pin();
};
}
#endif // APP_BROWSER_MAIN_TAB_LABEL_PIN_HPP