mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
move Page entity out of Tab namespace
This commit is contained in:
parent
46adc640e9
commit
63bc991bda
21 changed files with 111 additions and 111 deletions
25
src/Entity/Browser/Container/Page/Navbar/Request.php
Normal file
25
src/Entity/Browser/Container/Page/Navbar/Request.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Yggverse\Yoda\Entity\Browser\Container\Page\Navbar;
|
||||
|
||||
class Request extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navbar\Entry
|
||||
{
|
||||
protected string $_placeholder = 'URL or search term...';
|
||||
|
||||
protected function _onActivate(
|
||||
\GtkEntry $entry
|
||||
): void
|
||||
{
|
||||
$this->navbar->page->content->update();
|
||||
}
|
||||
|
||||
protected function _onKeyRelease(
|
||||
\GtkEntry $entry,
|
||||
\GdkEvent $event
|
||||
): void
|
||||
{
|
||||
$this->navbar->refresh();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue