implement status code 11 route

This commit is contained in:
yggverse 2024-07-08 01:18:10 +03:00
parent 176f14e36e
commit dca454cf50
2 changed files with 17 additions and 3 deletions

View file

@ -80,16 +80,24 @@ class Response
}
public function show(
?string $placeholder = null
?string $placeholder = null,
?bool $visible = null
): void
{
if ($placeholder)
if (!is_null($placeholder))
{
$this->query->setPlaceholder(
$placeholder
);
}
if (!is_null($visible))
{
$this->query->setVisible(
$visible
);
}
$this->gtk->show();
}
@ -99,6 +107,10 @@ class Response
null
);
$this->query->setVisible(
null
);
$this->gtk->hide();
}