home assistant widget
This commit is contained in:
14
include/widgets/webWidget.hpp
Normal file
14
include/widgets/webWidget.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <gtkmm/button.h>
|
||||
#include <gtkmm/window.h>
|
||||
|
||||
class WebWidget : public Gtk::Button {
|
||||
public:
|
||||
WebWidget(std::string label, std::string title, std::string url);
|
||||
~WebWidget() override;
|
||||
|
||||
private:
|
||||
void on_toggle_window();
|
||||
Gtk::Window* web_window = nullptr;
|
||||
};
|
||||
Reference in New Issue
Block a user