From f143640928bb950ca5cd75b9b6074751e2b10f47 Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 5 Jul 2024 01:33:10 +0300 Subject: [PATCH] implement setValue method --- src/Entity/Window/Tab/Address/Navbar/Request.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Entity/Window/Tab/Address/Navbar/Request.php b/src/Entity/Window/Tab/Address/Navbar/Request.php index a4451c8b..5b06c010 100644 --- a/src/Entity/Window/Tab/Address/Navbar/Request.php +++ b/src/Entity/Window/Tab/Address/Navbar/Request.php @@ -28,4 +28,17 @@ class Request extends \Yggverse\Yoda\Abstract\Entity\Window\Tab\Address\Navbar\E ) ); } + + public function setValue( + ?string $value = null + ): void + { + $this->gtk->set_text( + trim( + strval( + $value + ) + ) + ); + } } \ No newline at end of file