add popover component
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include "components/popover.hpp"
|
||||
#include <gtkmm/button.h>
|
||||
#include <gtkmm/popover.h>
|
||||
|
||||
class WebWidget : public Gtk::Button {
|
||||
class WebWidget : public Popover {
|
||||
public:
|
||||
WebWidget(std::string icon, std::string title, std::string url);
|
||||
~WebWidget() override;
|
||||
|
||||
private:
|
||||
void on_toggle_window();
|
||||
Gtk::Popover* popover = nullptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user