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

GtkAboutDialog::set_logo
Anterior GtkAboutDialog::set_logo Próximo

GtkAboutDialog::set_logo

void set_logo(GdkPixbuf logo);

Sets the program logo. The logo has to be of type GdkPixbuf, which can easily be constructed via the render_icon() method of GtkWidget.

If you set it explicitly to null, the dialogs default icon is used.

Exemplo 12. Dialog icon is used when logo is null

<?php
$dlg = new GtkAboutDialog();
$dlg->set_default_icon(
    $dlg->render_icon(Gtk::STOCK_CDROM, Gtk::ICON_SIZE_LARGE_TOOLBAR)
);
$dlg->set_name('Logo demo');
$dlg->set_logo(null);
$dlg->run();
?>

Veja também: get_logo()


Anterior Início Próximo
GtkAboutDialog::set_license Acima GtkAboutDialog::set_logo_icon_name

Comentários

 Adicionar Comentário
 login
 senha
 Texto

Livros


    Paleta

    Google

    Parceiros

 
Designed by Wolfgang Bartelme Designed by Wolfgang Bartelme

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