mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-29 20:44:25 +00:00
draft signal handlers
This commit is contained in:
parent
9cce6ffcdf
commit
06b7317f47
@ -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
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user