示例#1
0
 /**
  * Class Constructor
  * @param $name Name of the widget
  */
 public function __construct($name)
 {
     parent::__construct();
     parent::set_size_request(200, -1);
     $this->wname = $name;
     $this->validations = array();
 }
示例#2
0
 /**
  * Define the Height
  * @param $height An integer containing the height
  */
 public function setHeight($height)
 {
     $this->height = $height;
     if ($this->scrollable) {
         parent::set_size_request(-1, $height);
     }
 }
示例#3
0
 /**
  * Define the Height
  * @param $height An integer containing the height
  */
 public function setHeight($height)
 {
     parent::set_size_request(-1, $height);
 }