![]() | ![]() | ![]() | GNOME Canvas Library Reference Manual | ![]() |
---|
GnomeCanvasRichText — Rich text canvas item
#include <libgnomecanvas/libgnomecanvas.h> struct GnomeCanvasRichText; void gnome_canvas_rich_text_cut_clipboard (GnomeCanvasRichText *text); void gnome_canvas_rich_text_copy_clipboard (GnomeCanvasRichText *text); void gnome_canvas_rich_text_paste_clipboard (GnomeCanvasRichText *text); void gnome_canvas_rich_text_set_buffer (GnomeCanvasRichText *text, GtkTextBuffer *buffer); GtkTextBuffer* gnome_canvas_rich_text_get_buffer (GnomeCanvasRichText *text); void gnome_canvas_rich_text_get_iter_location (GnomeCanvasRichText *text, const GtkTextIter *iter, GdkRectangle *location); void gnome_canvas_rich_text_get_iter_at_location (GnomeCanvasRichText *text, GtkTextIter *iter, gint x, gint y);
"anchor" GtkAnchorType : Read / Write "cursor-blink" gboolean : Read / Write "cursor-visible" gboolean : Read / Write "direction" GtkDirectionType : Read / Write "editable" gboolean : Read / Write "grow-height" gboolean : Read / Write "height" gdouble : Read / Write "indent" gint : Read / Write "justification" GtkJustification : Read / Write "left-margin" gint : Read / Write "pixels-above-lines" gint : Read / Write "pixels-below-lines" gint : Read / Write "pixels-inside-wrap" gint : Read / Write "right-margin" gint : Read / Write "text" gchararray : Read / Write "visible" gboolean : Read / Write "width" gdouble : Read / Write "wrap-mode" GtkWrapMode : Read / Write "x" gdouble : Read / Write "y" gdouble : Read / Write
"tag-changed" void user_function (GnomeCanvasRichText *canvasrichtext, GObject *arg1, gpointer user_data);
A canvas item that displays a GtkTextBuffer which is a flexible text display and editing widget. Consult GtkTextBuffer info in the GTK+ Reference documentation for more details.
struct GnomeCanvasRichText;
This structure should not be accessed directly. Use the object's properties and functions for querying or changing its parameters.
void gnome_canvas_rich_text_cut_clipboard (GnomeCanvasRichText *text);
text : |
void gnome_canvas_rich_text_copy_clipboard (GnomeCanvasRichText *text);
text : |
void gnome_canvas_rich_text_paste_clipboard (GnomeCanvasRichText *text);
text : |
void gnome_canvas_rich_text_set_buffer (GnomeCanvasRichText *text, GtkTextBuffer *buffer);
text : | |
buffer : |
GtkTextBuffer* gnome_canvas_rich_text_get_buffer (GnomeCanvasRichText *text);
text : | |
Returns : |
void gnome_canvas_rich_text_get_iter_location (GnomeCanvasRichText *text, const GtkTextIter *iter, GdkRectangle *location);
text : | |
iter : | |
location : |
void gnome_canvas_rich_text_get_iter_at_location (GnomeCanvasRichText *text, GtkTextIter *iter, gint x, gint y);
text : | |
iter : | |
x : | |
y : |
"cursor-blink" gboolean : Read / Write
Does the cursor blink in this rich text item?
"direction" GtkDirectionType : Read / Write
Direction of displayed rich text.
"grow-height" gboolean : Read / Write
Should the text box height grow if the text does not fit?
"pixels-above-lines" gint : Read / Write
Number of pixels to put above lines.
"pixels-below-lines" gint : Read / Write
Number of pixels to put below lines.
"pixels-inside-wrap" gint : Read / Write
Number of pixels to put inside the wrap.
"right-margin" gint : Read / Write
Number of pixels in the right margin.
void user_function (GnomeCanvasRichText *canvasrichtext, GObject *arg1, gpointer user_data);
canvasrichtext : | the object which received the signal. |
arg1 : | |
user_data : | user data set when the signal handler was connected. |
<< GnomeCanvasRect | GnomeCanvasShape >> |