mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
implement setValue method
This commit is contained in:
parent
cdaf7d85ed
commit
77edbf86e7
1 changed files with 13 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue