3 #ifndef _LIBGNOMECANVASMM_RICH_TEXT_H
4 #define _LIBGNOMECANVASMM_RICH_TEXT_H
32 #include <gtkmm/textbuffer.h>
34 #include <libgnomecanvas/gnome-canvas-rich-text.h>
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 typedef struct _GnomeCanvasRichText GnomeCanvasRichText;
39 typedef struct _GnomeCanvasRichTextClass GnomeCanvasRichTextClass;
47 {
class RichText_Class; }
60 #ifndef DOXYGEN_SHOULD_SKIP_THIS
62 typedef RichText_Class CppClassType;
63 typedef GnomeCanvasRichText BaseObjectType;
64 typedef GnomeCanvasRichTextClass BaseClassType;
69 #ifndef DOXYGEN_SHOULD_SKIP_THIS
72 friend class RichText_Class;
73 static CppClassType richtext_class_;
80 explicit RichText(
const Glib::ConstructParams& construct_params);
81 explicit RichText(GnomeCanvasRichText* castitem);
86 #ifndef DOXYGEN_SHOULD_SKIP_THIS
87 static GType get_type() G_GNUC_CONST;
88 static GType get_base_type() G_GNUC_CONST;
92 GnomeCanvasRichText*
gobj() {
return reinterpret_cast<GnomeCanvasRichText*
>(gobject_); }
95 const GnomeCanvasRichText*
gobj()
const {
return reinterpret_cast<GnomeCanvasRichText*
>(gobject_); }
100 #ifdef GLIBMM_VFUNCS_ENABLED
105 #ifdef GLIBMM_VFUNCS_ENABLED
109 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
131 void set_buffer(
const Glib::RefPtr<Gtk::TextBuffer>& buffer);
148 #ifdef GLIBMM_PROPERTIES_ENABLED
158 #ifdef GLIBMM_PROPERTIES_ENABLED
168 #ifdef GLIBMM_PROPERTIES_ENABLED
178 #ifdef GLIBMM_PROPERTIES_ENABLED
188 #ifdef GLIBMM_PROPERTIES_ENABLED
198 #ifdef GLIBMM_PROPERTIES_ENABLED
208 #ifdef GLIBMM_PROPERTIES_ENABLED
218 #ifdef GLIBMM_PROPERTIES_ENABLED
228 #ifdef GLIBMM_PROPERTIES_ENABLED
238 #ifdef GLIBMM_PROPERTIES_ENABLED
248 #ifdef GLIBMM_PROPERTIES_ENABLED
258 #ifdef GLIBMM_PROPERTIES_ENABLED
268 #ifdef GLIBMM_PROPERTIES_ENABLED
278 #ifdef GLIBMM_PROPERTIES_ENABLED
288 #ifdef GLIBMM_PROPERTIES_ENABLED
298 #ifdef GLIBMM_PROPERTIES_ENABLED
308 #ifdef GLIBMM_PROPERTIES_ENABLED
318 #ifdef GLIBMM_PROPERTIES_ENABLED
328 #ifdef GLIBMM_PROPERTIES_ENABLED
338 #ifdef GLIBMM_PROPERTIES_ENABLED
348 #ifdef GLIBMM_PROPERTIES_ENABLED
358 #ifdef GLIBMM_PROPERTIES_ENABLED
368 #ifdef GLIBMM_PROPERTIES_ENABLED
378 #ifdef GLIBMM_PROPERTIES_ENABLED
388 #ifdef GLIBMM_PROPERTIES_ENABLED
398 #ifdef GLIBMM_PROPERTIES_ENABLED
408 #ifdef GLIBMM_PROPERTIES_ENABLED
418 #ifdef GLIBMM_PROPERTIES_ENABLED
428 #ifdef GLIBMM_PROPERTIES_ENABLED
438 #ifdef GLIBMM_PROPERTIES_ENABLED
448 #ifdef GLIBMM_PROPERTIES_ENABLED
458 #ifdef GLIBMM_PROPERTIES_ENABLED
468 #ifdef GLIBMM_PROPERTIES_ENABLED
478 #ifdef GLIBMM_PROPERTIES_ENABLED
488 #ifdef GLIBMM_PROPERTIES_ENABLED
498 #ifdef GLIBMM_PROPERTIES_ENABLED
508 #ifdef GLIBMM_PROPERTIES_ENABLED
518 #ifdef GLIBMM_PROPERTIES_ENABLED
528 #ifdef GLIBMM_PROPERTIES_ENABLED
538 #ifdef GLIBMM_PROPERTIES_ENABLED
Definition: rich-text.h:58
Glib::PropertyProxy_ReadOnly< Gtk::WrapMode > property_wrap_mode() const
Wrap mode for multiline text.
Glib::PropertyProxy_ReadOnly< double > property_x() const
X position.
RichText(Group &parent, double x, double y, const Glib::ustring &text)
Glib::PropertyProxy< bool > property_cursor_blink()
Does the cursor blink in this rich text item?.
Glib::PropertyProxy_ReadOnly< Gtk::AnchorType > property_anchor() const
Anchor point for text.
Gtk::TextIter iterator
Definition: rich-text.h:118
Glib::PropertyProxy< Gtk::DirectionType > property_direction()
Text direction.
Glib::PropertyProxy_ReadOnly< bool > property_editable() const
Is this rich text item editable?.
Glib::PropertyProxy< bool > property_visible()
Is this rich text item visible?.
Glib::PropertyProxy< double > property_width()
Width for text box.
Glib::RefPtr< Gtk::TextBuffer > get_buffer() const
Glib::PropertyProxy< Gtk::WrapMode > property_wrap_mode()
Wrap mode for multiline text.
Glib::PropertyProxy_ReadOnly< double > property_y() const
Y position.
void set_buffer(const Glib::RefPtr< Gtk::TextBuffer > &buffer)
Glib::PropertyProxy< double > property_y()
Y position.
Glib::PropertyProxy_ReadOnly< int > property_right_margin() const
Number of pixels in the right margin.
Glib::PropertyProxy< int > property_left_margin()
Number of pixels in the left margin.
Glib::PropertyProxy< int > property_right_margin()
Number of pixels in the right margin.
Glib::PropertyProxy_ReadOnly< Glib::ustring > property_text() const
Text to display.
Glib::PropertyProxy< bool > property_cursor_visible()
Is the cursor visible in this rich text item?.
Glib::PropertyProxy_ReadOnly< Gtk::DirectionType > property_direction() const
Text direction.
Glib::PropertyProxy_ReadOnly< int > property_pixels_above_lines() const
Number of pixels to put above lines.
Glib::PropertyProxy< Gtk::Justification > property_justification()
Justification mode.
Glib::PropertyProxy_ReadOnly< int > property_pixels_below_lines() const
Number of pixels to put below lines.
Glib::PropertyProxy< double > property_height()
Height for text box.
Glib::PropertyProxy< bool > property_editable()
Is this rich text item editable?.
Glib::PropertyProxy< Glib::ustring > property_text()
Text to display.
const GnomeCanvasRichText * gobj() const
Provides access to the underlying C GtkObject.
Definition: rich-text.h:95
Glib::PropertyProxy< int > property_pixels_above_lines()
Number of pixels to put above lines.
Glib::PropertyProxy_ReadOnly< int > property_indent() const
Number of pixels for indentation.
Glib::PropertyProxy< int > property_indent()
Number of pixels for indentation.
Glib::PropertyProxy< int > property_pixels_inside_wrap()
Number of pixels to put inside the wrap.
Glib::PropertyProxy_ReadOnly< bool > property_grow_height() const
Should the text box height grow if the text does not fit?.
iterator get_iter_at_location(int x, int y) const
Glib::PropertyProxy< double > property_x()
X position.
GnomeCanvasRichText * gobj()
Provides access to the underlying C GtkObject.
Definition: rich-text.h:92
Glib::PropertyProxy_ReadOnly< int > property_left_margin() const
Number of pixels in the left margin.
Glib::PropertyProxy_ReadOnly< bool > property_visible() const
Is this rich text item visible?.
Gnome::Canvas::RichText * wrap(GnomeCanvasRichText *object, bool take_copy=false)
A Glib::wrap() method for this object.
Glib::PropertyProxy_ReadOnly< Gtk::Justification > property_justification() const
Justification mode.
Glib::SignalProxy1< void, const Glib::RefPtr< Gtk::TextTag > & > signal_tag_changed()
void get_iter_location(const iterator &iter, Gdk::Rectangle &location) const
Glib::PropertyProxy< int > property_pixels_below_lines()
Number of pixels to put below lines.
Glib::PropertyProxy_ReadOnly< double > property_width() const
Width for text box.
virtual void on_tag_changed(const Glib::RefPtr< Gtk::TextTag > &tag)
Glib::PropertyProxy_ReadOnly< double > property_height() const
Height for text box.
Glib::PropertyProxy_ReadOnly< bool > property_cursor_blink() const
Does the cursor blink in this rich text item?.
Glib::PropertyProxy< Gtk::AnchorType > property_anchor()
Anchor point for text.
Glib::PropertyProxy_ReadOnly< int > property_pixels_inside_wrap() const
Number of pixels to put inside the wrap.
Glib::PropertyProxy< bool > property_grow_height()
Should the text box height grow if the text does not fit?.
Glib::PropertyProxy_ReadOnly< bool > property_cursor_visible() const
Is the cursor visible in this rich text item?.
Definition: affinetrans.h:30