This file is indexed.

/usr/share/perl5/Gtk2/Button.pod is in libgtk2-perl-doc 2:1.223-1build3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
=head1 NAME

Gtk2::Button - wrapper for GtkButton

=cut

=head1 HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::Button



=cut

=head1 INTERFACES

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



=cut

=head1 MNEMONICS

Mnemonics are "memory aids"; in GTK+, a mnemonic is an underlined character
which corresponds to a keyboard accelerator.  For a button, that means pressing
Alt and that key activates the button.

For convenience, Gtk2-Perl uses mnemonics by default on widgets that support
them.  If characters in label string are preceded by an underscore, they are
underlined.  If you need a literal underscore character in a label, use '__'
(two underscores).  If you don't want to use mnemonics at all, use the
non-mnemonic version explicitly (e.g. C<Gtk2::Button::new_with_label>).

=cut




=head1 METHODS

=head2 widget = Gtk2::Button->B<new>

=head2 widget = Gtk2::Button->B<new> ($mnemonic)

=over

=item * $mnemonic (string) used to label the widget, see L</MNEMONICS>

=back



=head2 widget = Gtk2::Button-E<gt>B<new_from_stock> ($stock_id)

=over

=item * $stock_id (string) creates a new button using the icon and text from the

=back


specified stock item, see L<Gtk2::Stock>


=head2 widget = Gtk2::Button->B<new_with_label> ($label)

=over

=item * $label (string) used to label the widget

=back



=head2 widget = Gtk2::Button->B<new_with_mnemonic> ($mnemonic)

=over

=item * $mnemonic (string) used to label the widget, see L</MNEMONICS>

=back



=head2 (xalign, yalign) = $button-E<gt>B<get_alignment> 

Since: gtk+ 2.4

=head2 $button-E<gt>B<set_alignment> ($xalign, $yalign)

=over

=item * $xalign (double) 

=item * $yalign (double) 

=back

Since: gtk+ 2.4

=head2 $button-E<gt>B<clicked> 

=head2 $button-E<gt>B<enter> 

=head2 boolean = $button-E<gt>B<get_focus_on_click> 

Since: gtk+ 2.4

=head2 $button-E<gt>B<set_focus_on_click> ($focus_on_click)

=over

=item * $focus_on_click (boolean) 

=back

Since: gtk+ 2.4

=head2 widget or undef = $button-E<gt>B<get_image> 

Since: gtk+ 2.6

=head2 positiontype = $button-E<gt>B<get_image_position> 

Since: gtk+ 2.9

=head2 $button-E<gt>B<set_image_position> ($position)

=over

=item * $position (Gtk2::PositionType) 

=back

Since: gtk+ 2.9

=head2 $button-E<gt>B<set_image> ($image)

=over

=item * $image (Gtk2::Widget or undef) 

=back

Since: gtk+ 2.6

=head2 string = $button-E<gt>B<get_label> 

=head2 $button-E<gt>B<set_label> ($label)

=over

=item * $label (string) 

=back

=head2 $button-E<gt>B<leave> 

=head2 $button-E<gt>B<pressed> 

=head2 $button-E<gt>B<released> 

=head2 reliefstyle = $button-E<gt>B<get_relief> 

=head2 $button-E<gt>B<set_relief> ($newstyle)

=over

=item * $newstyle (Gtk2::ReliefStyle) 

=back

=head2 boolean = $button-E<gt>B<get_use_stock> 

=head2 $button-E<gt>B<set_use_stock> ($use_stock)

=over

=item * $use_stock (boolean) 

=back

=head2 boolean = $button-E<gt>B<get_use_underline> 

=head2 $button-E<gt>B<set_use_underline> ($use_underline)

=over

=item * $use_underline (boolean) 

=back



=cut


=head1 PROPERTIES

=over

=item 'focus-on-click' (boolean : default true : readable / writable / private)

Whether the button grabs focus when it is clicked with the mouse

=item 'image' (Gtk2::Widget : default undef : readable / writable / private)

Child widget to appear next to the button text

=item 'image-position' (Gtk2::PositionType : default "left" : readable / writable / private)

The position of the image relative to the text

=item 'label' (string : default undef : readable / writable / construct / private)

Text of the label widget inside the button, if the button contains a label widget

=item 'relief' (Gtk2::ReliefStyle : default "normal" : readable / writable / private)

The border relief style

=item 'use-stock' (boolean : default false : readable / writable / construct / private)

If set, the label is used to pick a stock item instead of being displayed

=item 'use-underline' (boolean : default false : readable / writable / construct / private)

If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key

=item 'xalign' (float : default 0.5 : readable / writable / private)

Horizontal position of child in available space. 0.0 is left aligned, 1.0 is right aligned

=item 'yalign' (float : default 0.5 : readable / writable / private)

Vertical position of child in available space. 0.0 is top aligned, 1.0 is bottom aligned

=back



=cut


=head1 SIGNALS

=over

=item B<activate> (Gtk2::Button)

=item B<pressed> (Gtk2::Button)

=item B<released> (Gtk2::Button)

=item B<clicked> (Gtk2::Button)

=item B<enter> (Gtk2::Button)

=item B<leave> (Gtk2::Button)

=back



=cut


=head1 ENUMS AND FLAGS

=head2 enum Gtk2::PositionType

=over

=item * 'left' / 'GTK_POS_LEFT'

=item * 'right' / 'GTK_POS_RIGHT'

=item * 'top' / 'GTK_POS_TOP'

=item * 'bottom' / 'GTK_POS_BOTTOM'

=back


=head2 enum Gtk2::ReliefStyle

=over

=item * 'normal' / 'GTK_RELIEF_NORMAL'

=item * 'half' / 'GTK_RELIEF_HALF'

=item * 'none' / 'GTK_RELIEF_NONE'

=back




=cut


=head1 SEE ALSO

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


=cut


=head1 COPYRIGHT

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

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



=cut