PHP-GTK
Monday, December 22, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkAboutDialog::set_license
GtkAboutDialog::set_logo_icon_namenext

Last updated: Sun, 12 May 2013
view this page in English

GtkAboutDialog::set_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.

Example 15. 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();
?>

See also: get_logo()


User Contributed Notes
gtk.gtkaboutdialog.method.set_logo.php
add a note about notes
There are no user contributed notes for this page.


previousGtkAboutDialog::set_license
GtkAboutDialog::set_logo_icon_namenext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:56 2013 CEST