/**
  * @name __construct
  * @return GtkImage
  */
 public function __construct()
 {
     // Verifica se o sistema operacional é linux
     if (php_uname("s") != "Linux") {
         die("O widget GtkWebCam atualmente só é suportado por sistema Linux\n");
     }
     // Inicia o parente
     parent::__construct();
     // Gera o arquivo temporario
     $this->tmpDir = FABULA_TMP . "/" . md5(time() + microtime());
     // Verifica se o diretório temporario existe e o cria
     if (!is_dir($this->tmpDir)) {
         mkdir($this->tmpDir);
     }
     // Conecta o widget ao destrutor
     parent::connect_simple("destroy-event", array($this, "this_ondestroy"));
 }