PHP-GTK
Monday, May 21, 2012 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkAboutDialog::set_license
GtkAboutDialog::set_logo_icon_namenext

Last updated: Mon, 21 May 2012
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: Mon, 21 May 2012
view this page in English


credits 

PHP  Copyright © 2001-2012 The PHP Group
 All rights reserved.
Last updated: Mon May 21 01:45:29 2012 UTC