| Top |
Properties
| gchar * | background | Read / Write / Construct Only |
| gboolean | background-set | Read / Write / Construct Only |
| gboolean | bold | Read / Write / Construct Only |
| gboolean | bold-set | Read / Write / Construct Only |
| gchar * | foreground | Read / Write / Construct Only |
| gboolean | foreground-set | Read / Write / Construct Only |
| gboolean | italic | Read / Write / Construct Only |
| gboolean | italic-set | Read / Write / Construct Only |
| gchar * | line-background | Read / Write / Construct Only |
| gboolean | line-background-set | Read / Write / Construct Only |
| gchar * | scale | Read / Write / Construct Only |
| gboolean | scale-set | Read / Write / Construct Only |
| gboolean | strikethrough | Read / Write / Construct Only |
| gboolean | strikethrough-set | Read / Write / Construct Only |
| gboolean | underline | Read / Write / Construct Only |
| gboolean | underline-set | Read / Write / Construct Only |
Description
The GtkSourceStyle structure is used to describe text attributes which are set when given style is used.
Functions
gtk_source_style_copy ()
GtkSourceStyle *
gtk_source_style_copy (const GtkSourceStyle *style);
Creates a copy of style
, that is a new GtkSourceStyle instance which
has the same attributes set.
Since 2.0
Property Details
The “background” property
“background” gchar *
Background color.
Flags: Read / Write / Construct Only
Default value: NULL
The “background-set” property
“background-set” gboolean
Whether background color is set.
Flags: Read / Write / Construct Only
Default value: FALSE
The “bold-set” property
“bold-set” gboolean
Whether bold attribute is set.
Flags: Read / Write / Construct Only
Default value: FALSE
The “foreground” property
“foreground” gchar *
Foreground color.
Flags: Read / Write / Construct Only
Default value: NULL
The “foreground-set” property
“foreground-set” gboolean
Whether foreground color is set.
Flags: Read / Write / Construct Only
Default value: FALSE
The “italic” property
“italic” gboolean
Italic.
Flags: Read / Write / Construct Only
Default value: FALSE
The “italic-set” property
“italic-set” gboolean
Whether italic attribute is set.
Flags: Read / Write / Construct Only
Default value: FALSE
The “line-background” property
“line-background” gchar *
Line background color.
Flags: Read / Write / Construct Only
Default value: NULL
The “line-background-set” property
“line-background-set” gboolean
Whether line background color is set.
Flags: Read / Write / Construct Only
Default value: FALSE
The “scale” property
“scale” gchar *
Text scale factor.
Flags: Read / Write / Construct Only
Default value: NULL
The “scale-set” property
“scale-set” gboolean
Whether scale attribute is set.
Flags: Read / Write / Construct Only
Default value: FALSE
The “strikethrough” property
“strikethrough” gboolean
Strikethrough.
Flags: Read / Write / Construct Only
Default value: FALSE
The “strikethrough-set” property
“strikethrough-set” gboolean
Whether strikethrough attribute is set.
Flags: Read / Write / Construct Only
Default value: FALSE
The “underline” property
“underline” gboolean
Underline.
Flags: Read / Write / Construct Only
Default value: FALSE
The “underline-set” property
“underline-set” gboolean
Whether underline attribute is set.
Flags: Read / Write / Construct Only
Default value: FALSE
