mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
draft configure-event
This commit is contained in:
parent
9ae707f021
commit
783d8d067c
1 changed files with 11 additions and 0 deletions
|
|
@ -62,5 +62,16 @@ class Browser
|
||||||
|
|
||||||
// Render
|
// Render
|
||||||
$this->gtk->show();
|
$this->gtk->show();
|
||||||
|
|
||||||
|
// Init events
|
||||||
|
$this->gtk->connect(
|
||||||
|
'configure-event',
|
||||||
|
function(
|
||||||
|
\GtkWindow $window,
|
||||||
|
// \GdkEvent $event
|
||||||
|
) {
|
||||||
|
// @TODO render data wordwrap by $window->get_size()
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue