Browse Source

implement close tab action on menu activate

PHP-GTK3
yggverse 4 months ago
parent
commit
955cb68e4b
  1. 6
      src/Entity/Browser/Menu/Tab/Close.php

6
src/Entity/Browser/Menu/Tab/Close.php

@ -30,7 +30,11 @@ class Close @@ -30,7 +30,11 @@ class Close
'activate',
function()
{
// @TODO
$this->tab->menu->browser->container->tab->gtk->remove_page(
$this->tab->menu->browser->container->tab->gtk->get_current_page()
);
// @TODO unset page entity
}
);
}

Loading…
Cancel
Save