Browse Source

implement pin widget

CPP-GTK4
yggverse 3 months ago
parent
commit
6f77138796
  1. 10
      src/app/browser/main/tab/label/pin.cpp
  2. 19
      src/app/browser/main/tab/label/pin.hpp

10
src/app/browser/main/tab/label/pin.cpp

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

19
src/app/browser/main/tab/label/pin.hpp

@ -0,0 +1,19 @@ @@ -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
Loading…
Cancel
Save