Top | ![]() |
![]() |
![]() |
![]() |
GtkAnchorType | anchor | Read / Write |
gboolean | cursor-blink | Read / Write |
gboolean | cursor-visible | Read / Write |
GtkDirectionType | direction | Read / Write |
gboolean | editable | Read / Write |
gboolean | grow-height | Read / Write |
gdouble | height | Read / Write |
gint | indent | Read / Write |
GtkJustification | justification | Read / Write |
gint | left-margin | Read / Write |
gint | pixels-above-lines | Read / Write |
gint | pixels-below-lines | Read / Write |
gint | pixels-inside-wrap | Read / Write |
gint | right-margin | Read / Write |
gchar * | text | Read / Write |
gboolean | visible | Read / Write |
gdouble | width | Read / Write |
GtkWrapMode | wrap-mode | Read / Write |
gdouble | x | Read / Write |
gdouble | y | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GtkObject ╰── GnomeCanvasItem ╰── GnomeCanvasRichText
void
gnome_canvas_rich_text_cut_clipboard (GnomeCanvasRichText *text
);
Copies the currently selected text
to clipboard, then deletes said text
if it's editable.
void
gnome_canvas_rich_text_copy_clipboard (GnomeCanvasRichText *text
);
Copies the currently selected text
to clipboard.
void
gnome_canvas_rich_text_paste_clipboard
(GnomeCanvasRichText *text
);
Pastes the contents of the clipboard at the insertion point.
void gnome_canvas_rich_text_set_buffer (GnomeCanvasRichText *text
,GtkTextBuffer *buffer
);
Sets the buffer field of the text
to buffer
.
GtkTextBuffer *
gnome_canvas_rich_text_get_buffer (GnomeCanvasRichText *text
);
Returns a GtkTextBuffer associated with the GnomeCanvasRichText. This function creates a new GtkTextBuffer if the text buffer is NULL.
void gnome_canvas_rich_text_get_iter_location (GnomeCanvasRichText *text
,const GtkTextIter *iter
,GdkRectangle *location
);
Gets a rectangle which roughly contains the character at iter
.
text |
||
iter |
a GtkTextIter. |
|
location |
a GdkRectangle containing the bounds of the character at |
void gnome_canvas_rich_text_get_iter_at_location (GnomeCanvasRichText *text
,GtkTextIter *iter
,gint x
,gint y
);
Retrieves the iterator at the buffer coordinates x and y.
text |
||
iter |
a GtkTextIter. |
|
x |
x position, in buffer coordinates. |
|
y |
y position, in buffer coordinates. |
“anchor”
property“anchor” GtkAnchorType
Anchor point for text.
Flags: Read / Write
Default value: GTK_ANCHOR_NORTH_WEST
“cursor-blink”
property“cursor-blink” gboolean
Does the cursor blink in this rich text item?.
Flags: Read / Write
Default value: TRUE
“cursor-visible”
property“cursor-visible” gboolean
Is the cursor visible in this rich text item?.
Flags: Read / Write
Default value: TRUE
“direction”
property“direction” GtkDirectionType
Text direction.
Flags: Read / Write
Default value: GTK_DIR_TAB_BACKWARD
“editable”
property“editable” gboolean
Is this rich text item editable?.
Flags: Read / Write
Default value: TRUE
“grow-height”
property“grow-height” gboolean
Should the text box height grow if the text does not fit?.
Flags: Read / Write
Default value: FALSE
“indent”
property“indent” gint
Number of pixels for indentation.
Flags: Read / Write
Default value: 0
“justification”
property“justification” GtkJustification
Justification mode.
Flags: Read / Write
Default value: GTK_JUSTIFY_LEFT
“left-margin”
property“left-margin” gint
Number of pixels in the left margin.
Flags: Read / Write
Default value: 0
“pixels-above-lines”
property“pixels-above-lines” gint
Number of pixels to put above lines.
Flags: Read / Write
Default value: 0
“pixels-below-lines”
property“pixels-below-lines” gint
Number of pixels to put below lines.
Flags: Read / Write
Default value: 0
“pixels-inside-wrap”
property“pixels-inside-wrap” gint
Number of pixels to put inside the wrap.
Flags: Read / Write
Default value: 0
“right-margin”
property“right-margin” gint
Number of pixels in the right margin.
Flags: Read / Write
Default value: 0
“visible”
property“visible” gboolean
Is this rich text item visible?.
Flags: Read / Write
Default value: TRUE
“wrap-mode”
property“wrap-mode” GtkWrapMode
Wrap mode for multiline text.
Flags: Read / Write
Default value: GTK_WRAP_WORD
“tag-changed”
signalvoid user_function (GnomeCanvasRichText *canvasrichtext, GObject *arg1, gpointer user_data)
Flags: Run Last