draft signal handlers

This commit is contained in:
yggverse 2024-08-13 11:47:23 +03:00
parent 9cce6ffcdf
commit 06b7317f47
2 changed files with 27 additions and 0 deletions

View File

@ -11,6 +11,26 @@ Request::Request()
set_hexpand(
true
);
signal_changed().connect(
sigc::mem_fun(
* this,
& Request::on_change
)
);
signal_activate().connect(
sigc::mem_fun(
* this,
& Request::on_activate
)
);
}
Request::~Request() = default;
void Request::on_activate()
{} // @TODO
void Request::on_change()
{} // @TODO

View File

@ -3,11 +3,18 @@
#include <glibmm/i18n.h>
#include <gtkmm/entry.h>
#include <sigc++/functors/mem_fun.h>
namespace app::browser::main::tab::data::navbar
{
class Request : public Gtk::Entry
{
private:
void on_activate();
void on_change();
public:
Request();