use tool parent menu for debug item

This commit is contained in:
yggverse 2024-07-30 21:19:39 +03:00
parent cb4c86bdac
commit f124f20660
4 changed files with 73 additions and 15 deletions

View file

@ -19,6 +19,7 @@ class Help
// Requirements
public Help\About $about;
public Help\Debug $debug;
public Help\Gemlog $gemlog;
public Help\Issue $issue;
@ -37,14 +38,14 @@ class Help
);
// Init submenu container
$tab = new GtkMenu;
$help = new GtkMenu;
// Init about menu item
$this->about = new Help\About(
$this
);
$tab->append(
$help->append(
$this->about->gtk
);
@ -53,7 +54,7 @@ class Help
$this
);
$tab->append(
$help->append(
$this->gemlog->gtk
);
@ -62,12 +63,13 @@ class Help
$this
);
$tab->append(
$help->append(
$this->issue->gtk
);
// Set submenu
$this->gtk->set_submenu(
$tab
$help
);
// Render