diff --git a/src/Entity/Browser.php b/src/Entity/Browser.php index 76c23491..9d5dbb9c 100644 --- a/src/Entity/Browser.php +++ b/src/Entity/Browser.php @@ -62,5 +62,16 @@ class Browser // Render $this->gtk->show(); + + // Init events + $this->gtk->connect( + 'configure-event', + function( + \GtkWindow $window, + // \GdkEvent $event + ) { + // @TODO render data wordwrap by $window->get_size() + } + ); } } \ No newline at end of file