mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
implement pin widget
This commit is contained in:
parent
8794708af9
commit
6f77138796
2 changed files with 29 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue