• Artigos
  • Projetos
  • Download
  • Lista
  • Docs
  • Comunidade
  • ?

GtkAboutDialog Construtor
Anterior GtkAboutDialog Construtor Próximo

GtkAboutDialog Construtor

GtkAboutDialog ();

Creates a new instance of a GtkAboutDialog. Remember that all the functions of the parent class, GtkDialog, can also be used - for example, run() .

Exemplo 11. Simple GtkAboutDialog

<?php
$dlg = new GtkAboutDialog();

$dlg->set_name('My first program');
$dlg->set_version('2.5.3');

$dlg->set_comments('These are my comments' . "\nWith a newline");
$dlg->set_copyright('Copyright (C) 1982-2005 myself');
$dlg->set_license("MyPL v2\nDo whatever you want to do.\n"
    . "But don't hurt anyone.");//Button
$dlg->set_logo(
    $dlg->render_icon(Gtk::STOCK_CDROM, Gtk::ICON_SIZE_LARGE_TOOLBAR)
);
$dlg->set_website('http://website.example.org');
$dlg->set_translator_credits("German version - My Friend\n"
    . "French version - Another Friend");

$dlg->run();
?>

Anterior Início Próximo
GtkAboutDialog Acima GtkAboutDialog::get_artists

Comentários

 Adicionar Comentário
 login
 senha
 Texto

Livros


Outros

Busque conteúdo no site
Participe de nosso grupo no google

[Página do grupo]  [Arquivo do grupo]

    Paleta

    Google

    Parceiros

 
Designed by Wolfgang Bartelme Designed by Wolfgang Bartelme

© 2006 Wordpress Themes | Theme (Not so) Fresh
XHTML CSS RSS