![]() |
![]() |
![]() |
GNOME Data Access 4 manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals |
struct GdauiRtEditor; GtkWidget * gdaui_rt_editor_new (void
); gchar * gdaui_rt_editor_get_contents (GdauiRtEditor *editor
); void gdaui_rt_editor_set_contents (GdauiRtEditor *editor
,const gchar *markup
,gint length
); void gdaui_rt_editor_set_editable (GdauiRtEditor *editor
,gboolean editable
);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----GdauiRtEditor
GdauiRtEditor implements AtkImplementorIface, GtkBuildable and GtkOrientable.
"buffer" GtkTextBuffer* : Read "in-scrolled-window" gboolean : Read / Write "no-background" gboolean : Read / Write "show-markup" gboolean : Read / Write
GtkWidget * gdaui_rt_editor_new (void
);
Creates a new GdauiRtEditor widget
Returns : |
the new widget. [transfer full] |
Since 4.2.2
gchar * gdaui_rt_editor_get_contents (GdauiRtEditor *editor
);
Get the contents of editor
, using the markup syntax
|
a GdauiRtEditor |
Returns : |
a new string, or NULL if there was an error. [transfer full]
|
Since 4.2.2
void gdaui_rt_editor_set_contents (GdauiRtEditor *editor
,const gchar *markup
,gint length
);
Set editor
's contents. If length
is -1, markup
must be nul-terminated
|
a GdauiRtEditor |
|
the text to set in editor , using the markup syntax (must be valid UTF-8) |
|
length of text in bytes. |
Since 4.2.2
void gdaui_rt_editor_set_editable (GdauiRtEditor *editor
,gboolean editable
);
Set editor
's editability
|
a GdauiRtEditor |
|
whether it's editable |
Since 4.2.2
"buffer"
property "buffer" GtkTextBuffer* : Read
Get access to the actual GtkTextBuffer used. Do not modify it!
"in-scrolled-window"
property"in-scrolled-window" gboolean : Read / Write
Determines if the contents of the widget appears in a scrolled window or not.
Default value: TRUE
"no-background"
property"no-background" gboolean : Read / Write
If set to TRUE
, then the default text background is removed
and thus the textbackground is the default widget's background.
This property has to be set before the widget is realized, and is taken into account only if the widget is not editable (when it's realized).
Default value: FALSE
"show-markup"
property"show-markup" gboolean : Read / Write
Instead of showing the formatted text, display the raw text (in the txt2tags syntax)
Default value: FALSE
"changed"
signalvoid user_function (GdauiRtEditor *gdauirteditor,
gpointer user_data) : Run Last
|
the object which received the signal. |
|
user data set when the signal handler was connected. |