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 101 #endif //GLIBMM_VFUNCS_ENABLED 105 #ifdef GLIBMM_VFUNCS_ENABLED 106 #endif //GLIBMM_VFUNCS_ENABLED 109 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 110 virtual void on_tag_changed(
const Glib::RefPtr<Gtk::TextTag>& tag);
111 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 120 RichText(
Group& parent,
double x,
double y,
const Glib::ustring& text);
131 void set_buffer(
const Glib::RefPtr<Gtk::TextBuffer>& buffer);
133 Glib::RefPtr<Gtk::TextBuffer>
get_buffer()
const;
148 #ifdef GLIBMM_PROPERTIES_ENABLED 156 #endif //#GLIBMM_PROPERTIES_ENABLED 158 #ifdef GLIBMM_PROPERTIES_ENABLED 165 Glib::PropertyProxy_ReadOnly<Glib::ustring>
property_text()
const;
166 #endif //#GLIBMM_PROPERTIES_ENABLED 168 #ifdef GLIBMM_PROPERTIES_ENABLED 176 #endif //#GLIBMM_PROPERTIES_ENABLED 178 #ifdef GLIBMM_PROPERTIES_ENABLED 185 Glib::PropertyProxy_ReadOnly<double>
property_x()
const;
186 #endif //#GLIBMM_PROPERTIES_ENABLED 188 #ifdef GLIBMM_PROPERTIES_ENABLED 196 #endif //#GLIBMM_PROPERTIES_ENABLED 198 #ifdef GLIBMM_PROPERTIES_ENABLED 205 Glib::PropertyProxy_ReadOnly<double>
property_y()
const;
206 #endif //#GLIBMM_PROPERTIES_ENABLED 208 #ifdef GLIBMM_PROPERTIES_ENABLED 216 #endif //#GLIBMM_PROPERTIES_ENABLED 218 #ifdef GLIBMM_PROPERTIES_ENABLED 226 #endif //#GLIBMM_PROPERTIES_ENABLED 228 #ifdef GLIBMM_PROPERTIES_ENABLED 236 #endif //#GLIBMM_PROPERTIES_ENABLED 238 #ifdef GLIBMM_PROPERTIES_ENABLED 246 #endif //#GLIBMM_PROPERTIES_ENABLED 248 #ifdef GLIBMM_PROPERTIES_ENABLED 256 #endif //#GLIBMM_PROPERTIES_ENABLED 258 #ifdef GLIBMM_PROPERTIES_ENABLED 266 #endif //#GLIBMM_PROPERTIES_ENABLED 268 #ifdef GLIBMM_PROPERTIES_ENABLED 276 #endif //#GLIBMM_PROPERTIES_ENABLED 278 #ifdef GLIBMM_PROPERTIES_ENABLED 286 #endif //#GLIBMM_PROPERTIES_ENABLED 288 #ifdef GLIBMM_PROPERTIES_ENABLED 296 #endif //#GLIBMM_PROPERTIES_ENABLED 298 #ifdef GLIBMM_PROPERTIES_ENABLED 306 #endif //#GLIBMM_PROPERTIES_ENABLED 308 #ifdef GLIBMM_PROPERTIES_ENABLED 316 #endif //#GLIBMM_PROPERTIES_ENABLED 318 #ifdef GLIBMM_PROPERTIES_ENABLED 326 #endif //#GLIBMM_PROPERTIES_ENABLED 328 #ifdef GLIBMM_PROPERTIES_ENABLED 336 #endif //#GLIBMM_PROPERTIES_ENABLED 338 #ifdef GLIBMM_PROPERTIES_ENABLED 346 #endif //#GLIBMM_PROPERTIES_ENABLED 348 #ifdef GLIBMM_PROPERTIES_ENABLED 356 #endif //#GLIBMM_PROPERTIES_ENABLED 358 #ifdef GLIBMM_PROPERTIES_ENABLED 366 #endif //#GLIBMM_PROPERTIES_ENABLED 368 #ifdef GLIBMM_PROPERTIES_ENABLED 376 #endif //#GLIBMM_PROPERTIES_ENABLED 378 #ifdef GLIBMM_PROPERTIES_ENABLED 386 #endif //#GLIBMM_PROPERTIES_ENABLED 388 #ifdef GLIBMM_PROPERTIES_ENABLED 396 #endif //#GLIBMM_PROPERTIES_ENABLED 398 #ifdef GLIBMM_PROPERTIES_ENABLED 406 #endif //#GLIBMM_PROPERTIES_ENABLED 408 #ifdef GLIBMM_PROPERTIES_ENABLED 416 #endif //#GLIBMM_PROPERTIES_ENABLED 418 #ifdef GLIBMM_PROPERTIES_ENABLED 426 #endif //#GLIBMM_PROPERTIES_ENABLED 428 #ifdef GLIBMM_PROPERTIES_ENABLED 436 #endif //#GLIBMM_PROPERTIES_ENABLED 438 #ifdef GLIBMM_PROPERTIES_ENABLED 446 #endif //#GLIBMM_PROPERTIES_ENABLED 448 #ifdef GLIBMM_PROPERTIES_ENABLED 456 #endif //#GLIBMM_PROPERTIES_ENABLED 458 #ifdef GLIBMM_PROPERTIES_ENABLED 466 #endif //#GLIBMM_PROPERTIES_ENABLED 468 #ifdef GLIBMM_PROPERTIES_ENABLED 476 #endif //#GLIBMM_PROPERTIES_ENABLED 478 #ifdef GLIBMM_PROPERTIES_ENABLED 486 #endif //#GLIBMM_PROPERTIES_ENABLED 488 #ifdef GLIBMM_PROPERTIES_ENABLED 496 #endif //#GLIBMM_PROPERTIES_ENABLED 498 #ifdef GLIBMM_PROPERTIES_ENABLED 506 #endif //#GLIBMM_PROPERTIES_ENABLED 508 #ifdef GLIBMM_PROPERTIES_ENABLED 516 #endif //#GLIBMM_PROPERTIES_ENABLED 518 #ifdef GLIBMM_PROPERTIES_ENABLED 526 #endif //#GLIBMM_PROPERTIES_ENABLED 528 #ifdef GLIBMM_PROPERTIES_ENABLED 536 #endif //#GLIBMM_PROPERTIES_ENABLED 538 #ifdef GLIBMM_PROPERTIES_ENABLED 546 #endif //#GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy< bool > property_grow_height()
Should the text box height grow if the text does not fit?.
Glib::PropertyProxy< bool > property_editable()
Is this rich text item editable?.
Definition: affinetrans.h:29
virtual void on_tag_changed(const Glib::RefPtr< Gtk::TextTag > &tag)
Glib::PropertyProxy< int > property_pixels_inside_wrap()
Number of pixels to put inside the wrap.
Glib::PropertyProxy< Glib::ustring > property_text()
Text to display.
GnomeCanvasRichText * gobj()
Provides access to the underlying C GtkObject.
Definition: rich-text.h:92
Glib::PropertyProxy< bool > property_cursor_visible()
Is the cursor visible in this rich text item?.
Gtk::TextIter iterator
Definition: rich-text.h:118
Glib::PropertyProxy< double > property_x()
X position.
Glib::PropertyProxy< Gtk::Justification > property_justification()
Justification mode.
Glib::PropertyProxy< bool > property_cursor_blink()
Does the cursor blink in this rich text item?.
Glib::PropertyProxy< bool > property_visible()
Is this rich text item visible?.
void set_buffer(const Glib::RefPtr< Gtk::TextBuffer > &buffer)
Definition: rich-text.h:57
Glib::PropertyProxy< double > property_y()
Y position.
Glib::PropertyProxy< int > property_pixels_above_lines()
Number of pixels to put above lines.
Glib::PropertyProxy< int > property_pixels_below_lines()
Number of pixels to put below lines.
Glib::PropertyProxy< Gtk::AnchorType > property_anchor()
Anchor point for text.
Glib::RefPtr< Gtk::TextBuffer > get_buffer() const
Glib::PropertyProxy< Gtk::DirectionType > property_direction()
Text direction.
RichText(Group &parent, double x, double y, const Glib::ustring &text)
Glib::PropertyProxy< double > property_height()
Height for text box.
Glib::SignalProxy1< void, const Glib::RefPtr< Gtk::TextTag > &> signal_tag_changed()
const GnomeCanvasRichText * gobj() const
Provides access to the underlying C GtkObject.
Definition: rich-text.h:95
Glib::PropertyProxy< int > property_indent()
Number of pixels for indentation.
void get_iter_location(const iterator &iter, Gdk::Rectangle &location) const
iterator get_iter_at_location(int x, int y) const
Glib::PropertyProxy< double > property_width()
Width for text box.
Glib::PropertyProxy< int > property_left_margin()
Number of pixels in the left margin.
Glib::PropertyProxy< Gtk::WrapMode > property_wrap_mode()
Wrap mode for multiline text.
Glib::PropertyProxy< int > property_right_margin()
Number of pixels in the right margin.