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(
@ -86,6 +97,10 @@ abstract class Entry
\GtkEntry $entry
): void;
abstract protected function _onFocusOut(
\GtkEntry $entry
): void;
public function setLength(
?int $value = null
): void