/usr/share/perl5/Gtk2/EntryBuffer.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 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 | =head1 NAME
Gtk2::EntryBuffer - wrapper for GtkEntryBuffer
=cut
=head1 HIERARCHY
Glib::Object
+----Gtk2::EntryBuffer
=cut
=for apidoc
=for position DESCRIPTION
The B<Gtk2::EntryBuffer> class contains the actual text displayed in a
L<Gtk2::Entry> widget.
A single Gtk2::EntryBuffer object can be shared by multiple Gtk2::Entry
widgets which will then share the same text content, but not the cursor
position, visibility attributes, icon etc.
Gtk2::EntryBuffer may be derived from. Such a derived class might allow
text to be stored in an alternate location, such as non-pageable memory,
useful in the case of important passwords. Or a derived class could
integrate with an application's concept of undo/redo.
=cut
=head1 METHODS
=head2 entrybuffer = Gtk2::EntryBuffer->B<new> ($initial_chars=undef)
=over
=item * $initial_chars (string)
=back
=head2 unsigned = $buffer-E<gt>B<get_bytes>
=head2 integer = $buffer-E<gt>B<delete_text> ($position=0, $n_chars=-1)
=over
=item * $position (integer)
=item * $n_chars (integer)
=back
=head2 $buffer-E<gt>B<emit_deleted_text> ($position, $n_chars)
=over
=item * $position (integer)
=item * $n_chars (integer)
=back
=head2 $buffer-E<gt>B<emit_inserted_text> ($position, $chars, $n_chars)
=over
=item * $position (integer)
=item * $chars (string)
=item * $n_chars (integer)
=back
=head2 $buffer-E<gt>B<insert_text> ($position, $chars)
=over
=item * $position (integer)
=item * $chars (string)
=back
=head2 integer = $buffer-E<gt>B<get_length>
=head2 integer = $buffer-E<gt>B<get_max_length>
=head2 $buffer-E<gt>B<set_max_length> ($max_length)
=over
=item * $max_length (integer)
=back
=head2 string = $buffer-E<gt>B<get_text>
=head2 $buffer-E<gt>B<set_text> ($chars)
=over
=item * $chars (string)
=back
=cut
=head1 PROPERTIES
=over
=item 'length' (Glib::UInt : default 0 : readable / private)
Length of the text currently in the buffer
=item 'max-length' (integer : default 0 : readable / writable / private)
Maximum number of characters for this entry. Zero if no maximum
=item 'text' (string : default "" : readable / writable / private)
The contents of the buffer
=back
=cut
=head1 SIGNALS
=over
=item B<deleted-text> (Gtk2::EntryBuffer, Glib::UInt, Glib::UInt)
=item B<inserted-text> (Gtk2::EntryBuffer, Glib::UInt, string, Glib::UInt)
=back
=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
|