Browse Source

implement setValue method

PHP-GTK3
yggverse 4 months ago
parent
commit
77edbf86e7
  1. 13
      src/Entity/Window/Tab/History/Navbar/Filter.php

13
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() $this->navbar->filter->gtk->get_text()
); );
} }
public function setValue(
?string $value = null
): void
{
$this->gtk->set_text(
trim(
strval(
$value
)
)
);
}
} }
Loading…
Cancel
Save