add _onFocusOut abstract method

This commit is contained in:
yggverse 2024-07-20 18:27:10 +03:00
parent 751a316bd5
commit faa85d7292
4 changed files with 30 additions and 0 deletions

View file

@ -71,6 +71,17 @@ abstract class Entry
); );
} }
); );
$this->gtk->connect(
'focus-out-event',
function (
\GtkEntry $entry
) {
$this->_onFocusOut(
$entry
);
}
);
} }
abstract protected function _onActivate( abstract protected function _onActivate(
@ -86,6 +97,10 @@ abstract class Entry
\GtkEntry $entry \GtkEntry $entry
): void; ): void;
abstract protected function _onFocusOut(
\GtkEntry $entry
): void;
public function setLength( public function setLength(
?int $value = null ?int $value = null
): void ): void

View file

@ -56,4 +56,9 @@ class Request extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navb
); );
} }
} }
protected function _onFocusOut(
\GtkEntry $entry
): void
{}
} }

View file

@ -41,6 +41,11 @@ class Query extends \Yggverse\Yoda\Abstract\Entity\Entry
): void ): void
{} {}
protected function _onFocusOut(
\GtkEntry $entry
): void
{}
public function refresh(): void public function refresh(): void
{ {
// @TODO // @TODO

View file

@ -31,4 +31,9 @@ class Filter extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Na
\GtkEntry $entry \GtkEntry $entry
): void ): void
{} {}
protected function _onFocusOut(
\GtkEntry $entry
): void
{}
} }