mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
init multi-window implementation
This commit is contained in:
parent
6f99b36a44
commit
847a0fb01d
45 changed files with 904 additions and 833 deletions
20
src/Entity/Browser/History/Container/Navbar/Search.php
Normal file
20
src/Entity/Browser/History/Container/Navbar/Search.php
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Yggverse\Yoda\Entity\Browser\History\Container\Navbar;
|
||||
|
||||
class Search extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Navbar\Button
|
||||
{
|
||||
protected bool $_sensitive = true;
|
||||
protected string $_label = 'Search';
|
||||
|
||||
protected function _onCLick(
|
||||
\GtkButton $entity
|
||||
): void
|
||||
{
|
||||
$this->navbar->container->content->search(
|
||||
$this->navbar->filter->gtk->get_text()
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue