Beispiel #1
0
 function __construct($Owner)
 {
     parent::__construct();
     $this->set_scrollable(true);
     $this->popup_enable();
     $this->Owner = $Owner;
     $this->append_background();
 }
Beispiel #2
0
 /**
  * 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);
 }
 /**
  * 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'));
 }