mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add _onFocusOut abstract method
This commit is contained in:
parent
751a316bd5
commit
faa85d7292
4 changed files with 30 additions and 0 deletions
|
|
@ -71,6 +71,17 @@ abstract class Entry
|
|||
);
|
||||
}
|
||||
);
|
||||
|
||||
$this->gtk->connect(
|
||||
'focus-out-event',
|
||||
function (
|
||||
\GtkEntry $entry
|
||||
) {
|
||||
$this->_onFocusOut(
|
||||
$entry
|
||||
);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
abstract protected function _onActivate(
|
||||
|
|
@ -86,6 +97,10 @@ abstract class Entry
|
|||
\GtkEntry $entry
|
||||
): void;
|
||||
|
||||
abstract protected function _onFocusOut(
|
||||
\GtkEntry $entry
|
||||
): void;
|
||||
|
||||
public function setLength(
|
||||
?int $value = null
|
||||
): void
|
||||
|
|
|
|||
|
|
@ -56,4 +56,9 @@ class Request extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Page\Navb
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
protected function _onFocusOut(
|
||||
\GtkEntry $entry
|
||||
): void
|
||||
{}
|
||||
}
|
||||
|
|
@ -41,6 +41,11 @@ class Query extends \Yggverse\Yoda\Abstract\Entity\Entry
|
|||
): void
|
||||
{}
|
||||
|
||||
protected function _onFocusOut(
|
||||
\GtkEntry $entry
|
||||
): void
|
||||
{}
|
||||
|
||||
public function refresh(): void
|
||||
{
|
||||
// @TODO
|
||||
|
|
|
|||
|
|
@ -31,4 +31,9 @@ class Filter extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Na
|
|||
\GtkEntry $entry
|
||||
): void
|
||||
{}
|
||||
|
||||
protected function _onFocusOut(
|
||||
\GtkEntry $entry
|
||||
): void
|
||||
{}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue