/** * Class Constructor * @param $width Notebook's width * @param $height Notebook's height */ public function __construct($width = 500, $height = 650) { parent::__construct(); parent::set_size_request($width, $height + 30); parent::connect_after('switch-page', array($this, 'onSwitchPage')); }