Forum und email

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.

Пример 13. 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();
?>

Виж също: get_logo()