mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
implement viewport update method
This commit is contained in:
parent
2f6ac84f3e
commit
300cc6b8a2
2 changed files with 32 additions and 8 deletions
|
|
@ -57,9 +57,6 @@ class Content
|
|||
$this->gtk->add(
|
||||
$this->viewport->gtk
|
||||
);
|
||||
|
||||
// Render
|
||||
$this->gtk->show();
|
||||
}
|
||||
|
||||
public function set(
|
||||
|
|
@ -115,11 +112,11 @@ class Content
|
|||
);
|
||||
}
|
||||
|
||||
$this->viewport->gtk->add(
|
||||
$document->gtk
|
||||
$this->viewport->set(
|
||||
$document
|
||||
);
|
||||
|
||||
//$this->gtk->show_all();
|
||||
$this->gtk->show();
|
||||
}
|
||||
|
||||
public function getSource(): ?string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue