/** * @name __construct() * @return GtkComboBox */ public function __construct() { // Cria o model $this->__widgets['model'] = new GtkListStore(Gobject::TYPE_STRING, Gobject::TYPE_PHP_VALUE); // Cria o combo parent::__construct($this->__widgets['model']); // Cria o render $this->__widgets['render'] = new GtkCellRendererText(); parent::set_model($this->__widgets['model']); parent::pack_start($this->__widgets['render']); parent::set_attributes($this->__widgets['render'], "text", 0); }