From 77edbf86e79aca182d5f9ca31328cdf07e86d81e Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 5 Jul 2024 01:28:02 +0300 Subject: [PATCH] implement setValue method --- src/Entity/Window/Tab/History/Navbar/Filter.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Entity/Window/Tab/History/Navbar/Filter.php b/src/Entity/Window/Tab/History/Navbar/Filter.php index 5fb55c2f..d453176b 100644 --- a/src/Entity/Window/Tab/History/Navbar/Filter.php +++ b/src/Entity/Window/Tab/History/Navbar/Filter.php @@ -26,4 +26,17 @@ class Filter extends \Yggverse\Yoda\Abstract\Entity\Window\Tab\History\Navbar\En $this->navbar->filter->gtk->get_text() ); } + + public function setValue( + ?string $value = null + ): void + { + $this->gtk->set_text( + trim( + strval( + $value + ) + ) + ); + } } \ No newline at end of file