PHP-GTK
Wednesday, September 17, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkAboutDialog
GtkAboutDialog::get_artistsnext

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

GtkAboutDialog Constructor

Creates a new instance of a GtkAboutDialog. Remember that all the functions of the parent class, GtkDialog, can also be used - for example, run() .

Example 14. Simple GtkAboutDialog

<?php
$dlg = new GtkAboutDialog();
 
$dlg->set_name('My first program');
$dlg->set_version('2.5.3');
 
$dlg->set_comments('These are my comments' . "\nWith a newline");
$dlg->set_copyright('Copyright (C) 1982-2005 myself');
$dlg->set_license("MyPL v2\nDo whatever you want to do.\n"
    . "But don't hurt anyone.");//Button
$dlg->set_logo(
    $dlg->render_icon(Gtk::STOCK_CDROM, Gtk::ICON_SIZE_LARGE_TOOLBAR)
);
$dlg->set_website('http://website.example.org');
$dlg->set_translator_credits("German version - My Friend\n"
    . "French version - Another Friend");
 
$dlg->run();
?>

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


previousGtkAboutDialog
GtkAboutDialog::get_artistsnext

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