1Gtk2::AboutDialog(3)  User Contributed Perl Documentation Gtk2::AboutDialog(3)
2
3
4

NAME

6       Gtk2::AboutDialog
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Bin
15                                  +----Gtk2::Window
16                                       +----Gtk2::Dialog
17                                            +----Gtk2::AboutDialog
18

INTERFACES

20         Glib::Object::_Unregistered::AtkImplementorIface
21         Gtk2::Buildable
22

METHODS

24   widget = Gtk2::AboutDialog->new
25   list = $about->get_artists
26   $about->set_artists ($artist1, ...)
27           ·   $artist1 (string)
28
29           ·   ... (list)
30
31   list = $about->get_authors
32   $about->set_authors ($author1, ...)
33           ·   $author1 (string)
34
35           ·   ... (list)
36
37   string or undef = $about->get_comments
38   $about->set_comments ($comments)
39           ·   $comments (string or undef)
40
41   string or undef = $about->get_copyright
42   $about->set_copyright ($copyright)
43           ·   $copyright (string or undef)
44
45   list = $about->get_documenters
46   $about->set_documenters ($documenter1, ...)
47           ·   $documenter1 (string)
48
49           ·   ... (list)
50
51   Gtk2::AboutDialog->set_email_hook ($func, $data=undef)
52           ·   $func (scalar)
53
54           ·   $data (scalar)
55
56   string or undef = $about->get_license
57   $about->set_license ($license)
58           ·   $license (string or undef)
59
60   pixbuf or undef = $about->get_logo
61   string or undef = $about->get_logo_icon_name
62   $about->set_logo_icon_name ($icon_name)
63           ·   $icon_name (string or undef)
64
65   $about->set_logo ($logo)
66           ·   $logo (Gtk2::Gdk::Pixbuf or undef)
67
68   string or undef = $about->get_program_name
69   $about->set_program_name ($name)
70           ·   $name (string or undef)
71
72   Gtk2->show_about_dialog ($parent, $first_property_name, ...)
73           ·   $parent (Gtk2::Window or undef)
74
75           ·   $first_property_name (string)
76
77           ·   ... (list) the rest of a list of name=>property value pairs.
78
79           This is a convenience function for showing an application's about
80           box. The constructed dialog is associated with the parent window
81           and reused for future invocations of this function.
82
83           The dialog is shown nonmodally, and will be hidden by any response.
84
85   string or undef = $about->get_translator_credits
86   $about->set_translator_credits ($translator_credits)
87           ·   $translator_credits (string or undef)
88
89   Gtk2::AboutDialog->set_url_hook ($func, $data=undef)
90           ·   $func (scalar)
91
92           ·   $data (scalar)
93
94   string or undef = $about->get_version
95   $about->set_version ($version)
96           ·   $version (string or undef)
97
98   string or undef = $about->get_website
99   string or undef = $about->get_website_label
100   $about->set_website_label ($website_label)
101           ·   $website_label (string or undef)
102
103   $about->set_website ($website)
104           ·   $website (string or undef)
105
106   boolean = $about->get_wrap_license
107           Since: gtk+ 2.8
108
109   $about->set_wrap_license ($wrap_license)
110           ·   $wrap_license (boolean)
111
112           Since: gtk+ 2.8
113

URL AND EMAIL HOOKS

115       When setting the website and email hooks for the Gtk2::AboutDialog
116       widget, you should remember that the order is important: you should set
117       the hook functions before setting the website and email URL properties,
118       like this:
119
120         $about_dialog->set_url_hook(\&launch_web_browser);
121         $about_dialog->set_website($app_website);
122
123       otherwise the AboutDialog will not display the website and the email
124       addresses as clickable.
125

PROPERTIES

127       'artists' (Glib::Strv : readable / writable / private)
128           List of people who have contributed artwork to the program
129
130       'authors' (Glib::Strv : readable / writable / private)
131           List of authors of the program
132
133       'comments' (string : readable / writable / private)
134           Comments about the program
135
136       'copyright' (string : readable / writable / private)
137           Copyright information for the program
138
139       'documenters' (Glib::Strv : readable / writable / private)
140           List of people documenting the program
141
142       'license' (string : readable / writable / private)
143           The license of the program
144
145       'logo' (Gtk2::Gdk::Pixbuf : readable / writable / private)
146           A logo for the about box. If this is not set, it defaults to
147           gtk_window_get_default_icon_list()
148
149       'logo-icon-name' (string : readable / writable / private)
150           A named icon to use as the logo for the about box.
151
152       'program-name' (string : readable / writable / private)
153           The name of the program. If this is not set, it defaults to
154           g_get_application_name()
155
156       'translator-credits' (string : readable / writable / private)
157           Credits to the translators. This string should be marked as
158           translatable
159
160       'version' (string : readable / writable / private)
161           The version of the program
162
163       'website' (string : readable / writable / private)
164           The URL for the link to the website of the program
165
166       'website-label' (string : readable / writable / private)
167           The label for the link to the website of the program. If this is
168           not set, it defaults to the URL
169
170       'wrap-license' (boolean : readable / writable / private)
171           Whether to wrap the license text.
172

SEE ALSO

174       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
175       Gtk2::Container, Gtk2::Bin, Gtk2::Window, Gtk2::Dialog
176
178       Copyright (C) 2003-2008 by the gtk2-perl team.
179
180       This software is licensed under the LGPL.  See Gtk2 for a full notice.
181
182
183
184perl v5.12.0                      2010-05-02              Gtk2::AboutDialog(3)
Impressum