mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-14 00:38:06 +00:00
implement pin widget
This commit is contained in:
parent
8794708af9
commit
6f77138796
10
src/app/browser/main/tab/label/pin.cpp
Normal file
10
src/app/browser/main/tab/label/pin.cpp
Normal file
@ -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
Normal file
19
src/app/browser/main/tab/label/pin.hpp
Normal 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
|
Loading…
Reference in New Issue
Block a user