=head1 NAME

Gnome2::Canvas::RichText

=head1 HIERARCHY

  Glib::Object
  +----Gtk2::Object
        +----Gnome2::Canvas::Item
              +----Gnome2::Canvas::RichText


=head1 METHODS

=head2 textbuffer = $text-E<gt>B<get_buffer> 

=over

=back

=head2 $text-E<gt>B<set_buffer> ($buffer)

=over

=over

=item * $buffer (Gtk2::TextBuffer) 

=back

=back

=head2 $text-E<gt>B<copy_clipboard> 

=over

=back

=head2 $text-E<gt>B<cut_clipboard> 

=over

=back

=head2 textiter = $text-E<gt>B<get_iter_at_location> ($x, $y)

=over

=over

=item * $x (integer) 

=item * $y (integer) 

=back

=back

=head2 rectangle = $text-E<gt>B<get_iter_location> ($iter)

=over

=over

=item * $iter (Gtk2::TextIter) 

=back

=back

=head2 $text-E<gt>B<paste_clipboard> 

=over

=back


=head1 PROPERTIES

=over

=item 'anchor' (Gtk2::AnchorType : readable / writable)

Anchor point for text

=item 'cursor-blink' (boolean : readable / writable)

Does the cursor blink in this rich text item?

=item 'cursor-visible' (boolean : readable / writable)

Is the cursor visible in this rich text item?

=item 'direction' (Gtk2::DirectionType : readable / writable)

Text direction

=item 'editable' (boolean : readable / writable)

Is this rich text item editable?

=item 'grow-height' (boolean : readable / writable)

Should the text box height grow if the text does not fit?

=item 'height' (double : readable / writable)

Height for text box

=item 'indent' (integer : readable / writable)

Number of pixels for indentation

=item 'justification' (Gtk2::Justification : readable / writable)

Justification mode

=item 'left-margin' (integer : readable / writable)

Number of pixels in the left margin

=item 'pixels-above-lines' (integer : readable / writable)

Number of pixels to put above lines

=item 'pixels-below-lines' (integer : readable / writable)

Number of pixels to put below lines

=item 'pixels-inside-wrap' (integer : readable / writable)

Number of pixels to put inside the wrap

=item 'right-margin' (integer : readable / writable)

Number of pixels in the right margin

=item 'text' (string : readable / writable)

Text to display

=item 'visible' (boolean : readable / writable)

Is this rich text item visible?

=item 'width' (double : readable / writable)

Width for text box

=item 'wrap-mode' (Gtk2::WrapMode : readable / writable)

Wrap mode for multiline text

=item 'x' (double : readable / writable)

X position

=item 'y' (double : readable / writable)

Y position

=back


=head1 SIGNALS

=over

=item B<tag-changed> (Gnome2::Canvas::RichText, Glib::Object)

=back


=head1 SEE ALSO

L<Gnome2::Canvas>, L<Glib::Object>, L<Gtk2::Object>, L<Gnome2::Canvas::Item>

=head1 COPYRIGHT

Copyright (C) 2003-2004 by the Gtk2-Perl Team.

This software is licensed under the LGPL; see L<Gnome2::Canvas> for a full notice.

=cut

