#include <rich-text.h>
Public Types | |
typedef Gtk::TextIter | iterator |
Public Member Functions | |
virtual | ~RichText () |
GnomeCanvasRichText * | gobj () |
Provides access to the underlying C GtkObject. | |
const GnomeCanvasRichText * | gobj () const |
Provides access to the underlying C GtkObject. | |
RichText (Group &parent, double x, double y, const Glib::ustring &text) | |
RichText (Group &parent) | |
void | cut_clipboard () |
void | copy_clipboard () |
void | paste_clipboard () |
void | set_buffer (const Glib::RefPtr< Gtk::TextBuffer > &buffer) |
Glib::RefPtr < Gtk::TextBuffer > | get_buffer () const |
void | get_iter_location (const iterator &iter, Gdk::Rectangle &location) const |
iterator | get_iter_at_location (int x, int y) const |
Glib::SignalProxy1 < void, const Glib::RefPtr < Gtk::TextTag > & > | signal_tag_changed () |
| |
Glib::PropertyProxy < Glib::ustring > | _text () |
Text to display. | |
Glib::PropertyProxy_ReadOnly < Glib::ustring > | _text () const |
Text to display. | |
Glib::PropertyProxy < double > | _x () |
X position. | |
Glib::PropertyProxy_ReadOnly < double > | _x () const |
X position. | |
Glib::PropertyProxy < double > | _y () |
Y position. | |
Glib::PropertyProxy_ReadOnly < double > | _y () const |
Y position. | |
Glib::PropertyProxy < double > | _width () |
Width for text box. | |
Glib::PropertyProxy_ReadOnly < double > | _width () const |
Width for text box. | |
Glib::PropertyProxy < double > | _height () |
Height for text box. | |
Glib::PropertyProxy_ReadOnly < double > | _height () const |
Height for text box. | |
Glib::PropertyProxy < bool > | _editable () |
Is this rich text item editable?. | |
Glib::PropertyProxy_ReadOnly < bool > | _editable () const |
Is this rich text item editable?. | |
Glib::PropertyProxy < bool > | _visible () |
Is this rich text item visible?. | |
Glib::PropertyProxy_ReadOnly < bool > | _visible () const |
Is this rich text item visible?. | |
Glib::PropertyProxy < bool > | _cursor_visible () |
Is the cursor visible in this rich text item?. | |
Glib::PropertyProxy_ReadOnly < bool > | _cursor_visible () const |
Is the cursor visible in this rich text item?. | |
Glib::PropertyProxy < bool > | _cursor_blink () |
Does the cursor blink in this rich text item?. | |
Glib::PropertyProxy_ReadOnly < bool > | _cursor_blink () const |
Does the cursor blink in this rich text item?. | |
Glib::PropertyProxy < bool > | _grow_height () |
Should the text box height grow if the text does not fit?. | |
Glib::PropertyProxy_ReadOnly < bool > | _grow_height () const |
Should the text box height grow if the text does not fit?. | |
Glib::PropertyProxy < Gtk::WrapMode > | _wrap_mode () |
Wrap mode for multiline text. | |
Glib::PropertyProxy_ReadOnly < Gtk::WrapMode > | _wrap_mode () const |
Wrap mode for multiline text. | |
Glib::PropertyProxy < Gtk::Justification > | _justification () |
Justification mode. | |
Glib::PropertyProxy_ReadOnly < Gtk::Justification > | _justification () const |
Justification mode. | |
Glib::PropertyProxy < Gtk::DirectionType > | _direction () |
Text direction. | |
Glib::PropertyProxy_ReadOnly < Gtk::DirectionType > | _direction () const |
Text direction. | |
Glib::PropertyProxy < Gtk::AnchorType > | _anchor () |
Anchor point for text. | |
Glib::PropertyProxy_ReadOnly < Gtk::AnchorType > | _anchor () const |
Anchor point for text. | |
Glib::PropertyProxy < int > | _pixels_above_lines () |
Number of pixels to put above lines. | |
Glib::PropertyProxy_ReadOnly < int > | _pixels_above_lines () const |
Number of pixels to put above lines. | |
Glib::PropertyProxy < int > | _pixels_below_lines () |
Number of pixels to put below lines. | |
Glib::PropertyProxy_ReadOnly < int > | _pixels_below_lines () const |
Number of pixels to put below lines. | |
Glib::PropertyProxy < int > | _pixels_inside_wrap () |
Number of pixels to put inside the wrap. | |
Glib::PropertyProxy_ReadOnly < int > | _pixels_inside_wrap () const |
Number of pixels to put inside the wrap. | |
Glib::PropertyProxy < int > | _left_margin () |
Number of pixels in the left margin. | |
Glib::PropertyProxy_ReadOnly < int > | _left_margin () const |
Number of pixels in the left margin. | |
Glib::PropertyProxy < int > | _right_margin () |
Number of pixels in the right margin. | |
Glib::PropertyProxy_ReadOnly < int > | _right_margin () const |
Number of pixels in the right margin. | |
Glib::PropertyProxy < int > | _indent () |
Number of pixels for indentation. | |
Glib::PropertyProxy_ReadOnly < int > | _indent () const |
Number of pixels for indentation. | |
Protected Member Functions | |
virtual void | on_tag_changed (const Glib::RefPtr< Gtk::TextTag > &tag) |
Related Functions | |
(Note that these are not member functions.) | |
Gnome::Canvas::RichText * | wrap (GnomeCanvasRichText *object, bool take_copy=false) |
A Glib::wrap() method for this object. |
typedef Gtk::TextIter Gnome::Canvas::RichText::iterator |
virtual Gnome::Canvas::RichText::~RichText | ( | ) | [virtual] |
Gnome::Canvas::RichText::RichText | ( | Group & | parent, | |
double | x, | |||
double | y, | |||
const Glib::ustring & | text | |||
) |
Gnome::Canvas::RichText::RichText | ( | Group & | parent | ) | [explicit] |
GnomeCanvasRichText* Gnome::Canvas::RichText::gobj | ( | ) | [inline] |
const GnomeCanvasRichText* Gnome::Canvas::RichText::gobj | ( | ) | const [inline] |
virtual void Gnome::Canvas::RichText::on_tag_changed | ( | const Glib::RefPtr< Gtk::TextTag > & | tag | ) | [protected, virtual] |
void Gnome::Canvas::RichText::cut_clipboard | ( | ) |
void Gnome::Canvas::RichText::copy_clipboard | ( | ) |
void Gnome::Canvas::RichText::paste_clipboard | ( | ) |
void Gnome::Canvas::RichText::set_buffer | ( | const Glib::RefPtr< Gtk::TextBuffer > & | buffer | ) |
Glib::RefPtr<Gtk::TextBuffer> Gnome::Canvas::RichText::get_buffer | ( | ) | const |
void Gnome::Canvas::RichText::get_iter_location | ( | const iterator & | iter, | |
Gdk::Rectangle & | location | |||
) | const |
iterator Gnome::Canvas::RichText::get_iter_at_location | ( | int | x, | |
int | y | |||
) | const |
Glib::SignalProxy1< void,const Glib::RefPtr<Gtk::TextTag>& > Gnome::Canvas::RichText::signal_tag_changed | ( | ) |
void on_my_tag_changed(const Glib::RefPtr<Gtk::TextTag>& tag)
Glib::PropertyProxy<Glib::ustring> Gnome::Canvas::RichText::_text | ( | ) |
Text to display.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Glib::ustring> Gnome::Canvas::RichText::_text | ( | ) | const |
Text to display.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<double> Gnome::Canvas::RichText::_x | ( | ) |
X position.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<double> Gnome::Canvas::RichText::_x | ( | ) | const |
X position.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<double> Gnome::Canvas::RichText::_y | ( | ) |
Y position.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<double> Gnome::Canvas::RichText::_y | ( | ) | const |
Y position.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<double> Gnome::Canvas::RichText::_width | ( | ) |
Width for text box.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<double> Gnome::Canvas::RichText::_width | ( | ) | const |
Width for text box.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<double> Gnome::Canvas::RichText::_height | ( | ) |
Height for text box.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<double> Gnome::Canvas::RichText::_height | ( | ) | const |
Height for text box.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<bool> Gnome::Canvas::RichText::_editable | ( | ) |
Is this rich text item editable?.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<bool> Gnome::Canvas::RichText::_editable | ( | ) | const |
Is this rich text item editable?.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<bool> Gnome::Canvas::RichText::_visible | ( | ) |
Is this rich text item visible?.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<bool> Gnome::Canvas::RichText::_visible | ( | ) | const |
Is this rich text item visible?.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<bool> Gnome::Canvas::RichText::_cursor_visible | ( | ) |
Is the cursor visible in this rich text item?.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<bool> Gnome::Canvas::RichText::_cursor_visible | ( | ) | const |
Is the cursor visible in this rich text item?.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<bool> Gnome::Canvas::RichText::_cursor_blink | ( | ) |
Does the cursor blink in this rich text item?.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<bool> Gnome::Canvas::RichText::_cursor_blink | ( | ) | const |
Does the cursor blink in this rich text item?.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<bool> Gnome::Canvas::RichText::_grow_height | ( | ) |
Should the text box height grow if the text does not fit?.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<bool> Gnome::Canvas::RichText::_grow_height | ( | ) | const |
Should the text box height grow if the text does not fit?.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Gtk::WrapMode> Gnome::Canvas::RichText::_wrap_mode | ( | ) |
Wrap mode for multiline text.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Gtk::WrapMode> Gnome::Canvas::RichText::_wrap_mode | ( | ) | const |
Wrap mode for multiline text.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Gtk::Justification> Gnome::Canvas::RichText::_justification | ( | ) |
Justification mode.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Gtk::Justification> Gnome::Canvas::RichText::_justification | ( | ) | const |
Justification mode.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Gtk::DirectionType> Gnome::Canvas::RichText::_direction | ( | ) |
Text direction.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Gtk::DirectionType> Gnome::Canvas::RichText::_direction | ( | ) | const |
Text direction.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<Gtk::AnchorType> Gnome::Canvas::RichText::_anchor | ( | ) |
Anchor point for text.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<Gtk::AnchorType> Gnome::Canvas::RichText::_anchor | ( | ) | const |
Anchor point for text.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> Gnome::Canvas::RichText::_pixels_above_lines | ( | ) |
Number of pixels to put above lines.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gnome::Canvas::RichText::_pixels_above_lines | ( | ) | const |
Number of pixels to put above lines.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> Gnome::Canvas::RichText::_pixels_below_lines | ( | ) |
Number of pixels to put below lines.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gnome::Canvas::RichText::_pixels_below_lines | ( | ) | const |
Number of pixels to put below lines.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> Gnome::Canvas::RichText::_pixels_inside_wrap | ( | ) |
Number of pixels to put inside the wrap.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gnome::Canvas::RichText::_pixels_inside_wrap | ( | ) | const |
Number of pixels to put inside the wrap.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> Gnome::Canvas::RichText::_left_margin | ( | ) |
Number of pixels in the left margin.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gnome::Canvas::RichText::_left_margin | ( | ) | const |
Number of pixels in the left margin.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> Gnome::Canvas::RichText::_right_margin | ( | ) |
Number of pixels in the right margin.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gnome::Canvas::RichText::_right_margin | ( | ) | const |
Number of pixels in the right margin.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy<int> Gnome::Canvas::RichText::_indent | ( | ) |
Number of pixels for indentation.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly<int> Gnome::Canvas::RichText::_indent | ( | ) | const |
Number of pixels for indentation.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Gnome::Canvas::RichText * wrap | ( | GnomeCanvasRichText * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |