Next: Gtk2::Accelerator | Previous: Gtk2 | [Gtk2-Perl - Table of Contents] | [Gtk2-Perl - Index] |
Gtk2::AboutDialog
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Bin +----Gtk2::Window +----Gtk2::Dialog +----Gtk2::AboutDialog
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable
$parent (Gtk2::Window or undef)
$first_property_name (string)
... (list) the rest of a list of name=>property value pairs.
This is a convenience function for showing an application's about box. The constructed dialog is associated with the parent window and reused for future invocations of this function.
The dialog is shown nonmodally, and will be hidden by any response.
Since: gtk+ 2.8
Since: gtk+ 2.8
When setting the website and email hooks for the Gtk2::AboutDialog widget, you should remember that the order is important: you should set the hook functions before setting the website and email URL properties, like this:
$about_dialog->set_url_hook(\&launch_web_browser); $about_dialog->set_website($app_website);
otherwise the AboutDialog will not display the website and the email addresses as clickable.
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window, Gtk2::Dialog
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.