/** * 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(); }
/** * 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); } }
/** * Define the Height * @param $height An integer containing the height */ public function setHeight($height) { parent::set_size_request(-1, $height); }