mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
24 lines
No EOL
459 B
C++
24 lines
No EOL
459 B
C++
#include "gemini.hpp"
|
|
#include "gemini/reader.hpp"
|
|
|
|
using namespace app::browser::main::tab::page::content::text;
|
|
|
|
Gemini::Gemini(
|
|
const Glib::ustring & GEMTEXT,
|
|
Glib::ustring & title
|
|
) : Gtk::Viewport( // add scrolled window features to childs
|
|
NULL,
|
|
NULL
|
|
) {
|
|
// Init widget
|
|
set_scroll_to_focus(
|
|
false
|
|
);
|
|
|
|
set_child(
|
|
* Gtk::make_managed<gemini::Reader>(
|
|
GEMTEXT,
|
|
title
|
|
)
|
|
);
|
|
} |