small refactors

This commit is contained in:
2025-12-20 21:05:57 +01:00
parent 47f052f913
commit 36f8b6d8b2
5 changed files with 37 additions and 14 deletions

9
src/widgets/todo.cpp Normal file
View File

@@ -0,0 +1,9 @@
#include <gtkmm/label.h>
#include "widgets/todo.hpp"
Todo::Todo(std::string icon, std::string title) : Popover(icon, title) {
auto label = Gtk::make_managed<Gtk::Label>(title);
label->add_css_class("todo-label");
this->set_popover_child(*label);
}