Horizon
Loading...
Searching...
No Matches
output_window.hpp
1#pragma once
2#include <array>
3#include <gtkmm.h>
4#include <set>
5
6namespace horizon {
7
8class OutputWindow : public Gtk::Window {
9public:
10 OutputWindow(BaseObjectType *cobject, const Glib::RefPtr<Gtk::Builder> &x);
11 static OutputWindow *create();
12 void handle_output(const std::string &line, bool err);
13 void clear_all();
14
15private:
16 Gtk::TextView *view_stdout = nullptr;
17 Gtk::TextView *view_stderr = nullptr;
18 Gtk::Stack *stack = nullptr;
19
20 Gtk::TextView *get_view();
21};
22} // namespace horizon
Definition output_window.hpp:8