=head1 NAME

Gtk2::AboutDialog

=head1 HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::Window
                                +----Gtk2::Dialog
                                     +----Gtk2::AboutDialog

=head1 INTERFACES

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable

=for object Gtk2::AboutDialog
=cut




=head1 METHODS

=head2 widget = Gtk2::AboutDialog-E<gt>B<new> 

=over

=back

=head2 list = $about-E<gt>B<get_artists> 

=over

=back

=head2 $about-E<gt>B<set_artists> ($artist1, ...)

=over

=over

=item * $artist1 (string) 

=item * ... (list) 

=back



=back

=head2 list = $about-E<gt>B<get_authors> 

=over

=back

=head2 $about-E<gt>B<set_authors> ($author1, ...)

=over

=over

=item * $author1 (string) 

=item * ... (list) 

=back



=back

=head2 string or undef = $about-E<gt>B<get_comments> 

=over

=back

=head2 $about-E<gt>B<set_comments> ($comments)

=over

=over

=item * $comments (string or undef) 

=back

=back

=head2 string or undef = $about-E<gt>B<get_copyright> 

=over

=back

=head2 $about-E<gt>B<set_copyright> ($copyright)

=over

=over

=item * $copyright (string or undef) 

=back

=back

=head2 list = $about-E<gt>B<get_documenters> 

=over

=back

=head2 $about-E<gt>B<set_documenters> ($documenter1, ...)

=over

=over

=item * $documenter1 (string) 

=item * ... (list) 

=back



=back

=head2 Gtk2::AboutDialog-E<gt>B<set_email_hook> ($func, $data=undef)

=over

=over

=item * $func (scalar) 

=item * $data (scalar) 

=back

=back

=head2 string or undef = $about-E<gt>B<get_license> 

=over

=back

=head2 $about-E<gt>B<set_license> ($license)

=over

=over

=item * $license (string or undef) 

=back

=back

=head2 pixbuf or undef = $about-E<gt>B<get_logo> 

=over

=back

=head2 string or undef = $about-E<gt>B<get_logo_icon_name> 

=over

=back

=head2 $about-E<gt>B<set_logo_icon_name> ($icon_name)

=over

=over

=item * $icon_name (string or undef) 

=back

=back

=head2 $about-E<gt>B<set_logo> ($logo)

=over

=over

=item * $logo (Gtk2::Gdk::Pixbuf or undef) 

=back

=back

=head2 string or undef = $about-E<gt>B<get_program_name> 

=over

=back

=head2 $about-E<gt>B<set_program_name> ($name)

=over

=over

=item * $name (string or undef) 

=back

=back

=head2 Gtk2-E<gt>B<show_about_dialog> ($parent, $first_property_name, ...)

=over

=over

=item * $parent (Gtk2::Window or undef) 

=item * $first_property_name (string) 

=item * ... (list) the rest of a list of name=>property value pairs.

=back

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.

=back

=head2 string or undef = $about-E<gt>B<get_translator_credits> 

=over

=back

=head2 $about-E<gt>B<set_translator_credits> ($translator_credits)

=over

=over

=item * $translator_credits (string or undef) 

=back

=back

=head2 Gtk2::AboutDialog-E<gt>B<set_url_hook> ($func, $data=undef)

=over

=over

=item * $func (scalar) 

=item * $data (scalar) 

=back

=back

=head2 string or undef = $about-E<gt>B<get_version> 

=over

=back

=head2 $about-E<gt>B<set_version> ($version)

=over

=over

=item * $version (string or undef) 

=back

=back

=head2 string or undef = $about-E<gt>B<get_website> 

=over

=back

=head2 string or undef = $about-E<gt>B<get_website_label> 

=over

=back

=head2 $about-E<gt>B<set_website_label> ($website_label)

=over

=over

=item * $website_label (string or undef) 

=back

=back

=head2 $about-E<gt>B<set_website> ($website)

=over

=over

=item * $website (string or undef) 

=back

=back

=head2 boolean = $about-E<gt>B<get_wrap_license> 

=over

Since: gtk+ 2.8

=back

=head2 $about-E<gt>B<set_wrap_license> ($wrap_license)

=over

=over

=item * $wrap_license (boolean) 

=back

Since: gtk+ 2.8

=back

=for position post_methods

=head1 URL AND EMAIL HOOKS

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
B<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.

=cut




=head1 PROPERTIES

=over

=item 'artists' (Glib::Strv : readable / writable / private)

List of people who have contributed artwork to the program

=item 'authors' (Glib::Strv : readable / writable / private)

List of authors of the program

=item 'comments' (string : readable / writable / private)

Comments about the program

=item 'copyright' (string : readable / writable / private)

Copyright information for the program

=item 'documenters' (Glib::Strv : readable / writable / private)

List of people documenting the program

=item 'license' (string : readable / writable / private)

The license of the program

=item 'logo' (Gtk2::Gdk::Pixbuf : readable / writable / private)

A logo for the about box. If this is not set, it defaults to gtk_window_get_default_icon_list()

=item 'logo-icon-name' (string : readable / writable / private)

A named icon to use as the logo for the about box.

=item 'program-name' (string : readable / writable / private)

The name of the program. If this is not set, it defaults to g_get_application_name()

=item 'translator-credits' (string : readable / writable / private)

Credits to the translators. This string should be marked as translatable

=item 'version' (string : readable / writable / private)

The version of the program

=item 'website' (string : readable / writable / private)

The URL for the link to the website of the program

=item 'website-label' (string : readable / writable / private)

The label for the link to the website of the program. If this is not set, it defaults to the URL

=item 'wrap-license' (boolean : readable / writable / private)

Whether to wrap the license text.

=back


=head1 SEE ALSO

L<Gtk2>, L<Glib::Object>, L<Glib::InitiallyUnowned>, L<Gtk2::Object>, L<Gtk2::Widget>, L<Gtk2::Container>, L<Gtk2::Bin>, L<Gtk2::Window>, L<Gtk2::Dialog>

=head1 COPYRIGHT

Copyright (C) 2003-2007 by the gtk2-perl team.

This software is licensed under the LGPL.  See L<Gtk2> for a full notice.


=cut

