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.

Example 2. 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()