mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
update content container init by type
This commit is contained in:
parent
d5ce67fbec
commit
afa4261b0e
7 changed files with 131 additions and 75 deletions
|
|
@ -5,6 +5,7 @@ using namespace app::browser::main::tab::page::content::text;
|
|||
Gemini::Gemini(
|
||||
const Glib::ustring & GEMTEXT
|
||||
) {
|
||||
// Init widget
|
||||
set_valign(
|
||||
Gtk::Align::START
|
||||
);
|
||||
|
|
@ -22,6 +23,6 @@ Gemini::Gemini(
|
|||
);
|
||||
|
||||
set_markup(
|
||||
GEMTEXT // @TODO
|
||||
GEMTEXT//markup
|
||||
);
|
||||
}
|
||||
|
|
@ -1,14 +1,16 @@
|
|||
#ifndef APP_BROWSER_MAIN_TAB_PAGE_CONTENT_TEXT_GEMINI_HPP
|
||||
#define APP_BROWSER_MAIN_TAB_PAGE_CONTENT_TEXT_GEMINI_HPP
|
||||
|
||||
#include <glibmm/regex.h>
|
||||
#include <glibmm/ustring.h>
|
||||
#include <gtkmm/enums.h>
|
||||
#include <gtkmm/label.h>
|
||||
|
||||
namespace app::browser::main::tab::page::content::text
|
||||
{
|
||||
class Gemini : public Gtk::Label
|
||||
{
|
||||
Glib::ustring markup;
|
||||
|
||||
public:
|
||||
|
||||
Gemini(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue