mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
draft tab actions
This commit is contained in:
parent
ebd2b843a4
commit
579ebfa037
4 changed files with 72 additions and 14 deletions
|
|
@ -10,12 +10,32 @@ Data::Data()
|
|||
Gtk::Orientation::VERTICAL
|
||||
);
|
||||
|
||||
// Init elements
|
||||
// Init children components
|
||||
navbar = new data::Navbar();
|
||||
|
||||
append(
|
||||
* navbar
|
||||
);
|
||||
|
||||
// Init actions group
|
||||
action_group = Gio::SimpleActionGroup::create();
|
||||
|
||||
// Define actions
|
||||
action_group->add_action(
|
||||
"update",
|
||||
sigc::mem_fun(
|
||||
* this,
|
||||
& Data::update
|
||||
)
|
||||
);
|
||||
|
||||
insert_action_group(
|
||||
"tab",
|
||||
action_group
|
||||
);
|
||||
}
|
||||
|
||||
Data::~Data() = default;
|
||||
|
||||
void Data::update()
|
||||
{} // @TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue