/** * Cria o FFWButton * * @name __construct($label="") * @param string $label Texto do botão * @param mixed $callback Função de callback * @return GtkButton */ public function __construct($label = "", $callback = NULL) { // Cria o botão parent::__construct($label); // Verifica o callback if ($callback !== NULL) { parent::connect_simple("clicked", $callback); } }
function __construct() { parent::__construct(); $this->emit('weird', 'hello dolly'); }
/** * Class Constructor * @param $name Name of the widget */ public function __construct($name) { parent::__construct(); $this->setName($name); }
/** * Class Constructor * @param $name Name of the widget */ public function __construct($name) { parent::__construct(); }