mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue