This file is indexed.

/usr/share/perl5/Gtk2/Gdk/Colormap.pod is in libgtk2-perl-doc 2:1.2499-1.

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
=head1 NAME

Gtk2::Gdk::Colormap - wrapper for GdkColormap

=cut

=for position DESCRIPTION

=head1 DESCRIPTION

Colormaps are used to store the mappings between the RGB values you ask for
and the actual, hardware-dependent values used to display those colors.
The C<< $colormap->alloc_color >> and C<< $colormap->alloc_colors >> methods
do the necessary work to allocate a color within the visual; this actually
has nothing to do with memory management, so it is important that you call
C<< $colormap->free_colors >> to release those spots in the colormap
allocated by C<alloc_color> and C<alloc_colors>.

=cut



=head1 HIERARCHY

  Glib::Object
  +----Gtk2::Gdk::Colormap



=cut


=head1 METHODS

=head2 colormap = Gtk2::Gdk::Colormap-E<gt>B<new> ($visual, $allocate)

=over

=item * $visual (Gtk2::Gdk::Visual) 

=item * $allocate (boolean) 

=back

=head2 boolean = $colormap-E<gt>B<alloc_color> ($color, $writable, $best_match)

=over

=item * $color (Gtk2::Gdk::Color) 

=item * $writable (boolean) 

=item * $best_match (boolean) 

=back

=head2 list = $colormap-E<gt>B<alloc_colors> ($writable, $best_match, ...)

=over

=item * $writable (boolean) 

=item * $best_match (boolean) 

=item * ... (list) of Gtk2::Gdk::Color's to be allocated

=back

Returns a list of boolean values, telling whether the color at the
corresponding spot in I<...> could be allocated.

=head2 $colormap-E<gt>B<free_colors> (...)

=over

=item * ... (list) of Gtk2::Gdk::Color's to be freed

=back



=head2 color = $colormap-E<gt>B<query_color> ($pixel)

=over

=item * $pixel (unsigned) 

=back

=head2 $colormap-E<gt>B<rgb_find_color> ($color)

=over

=item * $color (Gtk2::Gdk::Color) 

=back

=head2 screen = $cmap-E<gt>B<get_screen> 

Since: gtk+ 2.2

=head2 colormap = Gtk2::Gdk::Colormap-E<gt>B<get_system> 

=head2 visual = $colormap-E<gt>B<get_visual> 



=cut


=head1 SEE ALSO

L<Gtk2>, L<Glib::Object>


=cut


=head1 COPYRIGHT

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

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



=cut