File: style.xml

package info (click to toggle)
gtksourceview2 2.2.2-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 8,856 kB
  • ctags: 1,896
  • sloc: ansic: 18,630; sh: 9,199; xml: 4,509; python: 424; makefile: 272
file content (167 lines) | stat: -rw-r--r-- 12,449 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
<!ENTITY tutorial SYSTEM "lang-tutorial.sgml">
<!ENTITY reference SYSTEM "lang-reference.sgml">
]>
<refentry id="GtkSourceStyle">
<refmeta>
<refentrytitle role="top_of_page" id="GtkSourceStyle.top_of_page">GtkSourceStyle</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTKSOURCEVIEW-2.0 Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>GtkSourceStyle</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="GtkSourceStyle.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>

#include &lt;gtksourceview/gtksourcestyle.h&gt;

                    <link linkend="GtkSourceStyle-struct">GtkSourceStyle</link>;
<link linkend="GtkSourceStyle">GtkSourceStyle</link>*     <link linkend="gtk-source-style-copy">gtk_source_style_copy</link>               (const <link linkend="GtkSourceStyle">GtkSourceStyle</link> *style);
</synopsis>
</refsynopsisdiv>

<refsect1 id="GtkSourceStyle.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----GtkSourceStyle
</synopsis>

</refsect1>





<refsect1 id="GtkSourceStyle.properties" role="properties">
<title role="properties.title">Properties</title>
<synopsis>
  &quot;<link linkend="GtkSourceStyle--background">background</link>&quot;               <link linkend="gchar">gchar</link>*                : Read / Write / Construct Only
  &quot;<link linkend="GtkSourceStyle--background-set">background-set</link>&quot;           <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only
  &quot;<link linkend="GtkSourceStyle--bold">bold</link>&quot;                     <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only
  &quot;<link linkend="GtkSourceStyle--bold-set">bold-set</link>&quot;                 <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only
  &quot;<link linkend="GtkSourceStyle--foreground">foreground</link>&quot;               <link linkend="gchar">gchar</link>*                : Read / Write / Construct Only
  &quot;<link linkend="GtkSourceStyle--foreground-set">foreground-set</link>&quot;           <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only
  &quot;<link linkend="GtkSourceStyle--italic">italic</link>&quot;                   <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only
  &quot;<link linkend="GtkSourceStyle--italic-set">italic-set</link>&quot;               <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only
  &quot;<link linkend="GtkSourceStyle--line-background">line-background</link>&quot;          <link linkend="gchar">gchar</link>*                : Read / Write / Construct Only
  &quot;<link linkend="GtkSourceStyle--line-background-set">line-background-set</link>&quot;      <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only
  &quot;<link linkend="GtkSourceStyle--strikethrough">strikethrough</link>&quot;            <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only
  &quot;<link linkend="GtkSourceStyle--strikethrough-set">strikethrough-set</link>&quot;        <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only
  &quot;<link linkend="GtkSourceStyle--underline">underline</link>&quot;                <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only
  &quot;<link linkend="GtkSourceStyle--underline-set">underline-set</link>&quot;            <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only
</synopsis>
</refsect1>



<refsect1 id="GtkSourceStyle.description" role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 id="GtkSourceStyle.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GtkSourceStyle-struct" role="struct">
<title>GtkSourceStyle</title>
<indexterm zone="GtkSourceStyle-struct"><primary>GtkSourceStyle</primary></indexterm><programlisting>typedef struct _GtkSourceStyle GtkSourceStyle;</programlisting>
<para>
The <link linkend="GtkSourceStyle"><type>GtkSourceStyle</type></link> structure is used to describe text attributes
which are set when given style is used.
</para></refsect2>
<refsect2 id="gtk-source-style-copy" role="function" condition="since:2.0">
<title>gtk_source_style_copy ()</title>
<indexterm zone="gtk-source-style-copy" role="2.0"><primary>gtk_source_style_copy</primary></indexterm><programlisting><link linkend="GtkSourceStyle">GtkSourceStyle</link>*     gtk_source_style_copy               (const <link linkend="GtkSourceStyle">GtkSourceStyle</link> *style);</programlisting>
<para>
Creates a copy of <parameter>style</parameter>, that is a new <link linkend="GtkSourceStyle"><type>GtkSourceStyle</type></link> instance which
has the same attributes set.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>style</parameter>&nbsp;:</term>
<listitem><simpara> a <link linkend="GtkSourceStyle"><type>GtkSourceStyle</type></link> structure to copy.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> copy of <parameter>style</parameter>, call <link linkend="g-object-unref"><function>g_object_unref()</function></link> when you are done with it.

</simpara></listitem></varlistentry>
</variablelist><para role="since">Since  2.0
</para></refsect2>

</refsect1>
<refsect1 id="GtkSourceStyle.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GtkSourceStyle--background"><title>The <literal>&quot;background&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--background"><primary>GtkSourceStyle:background</primary></indexterm><programlisting>  &quot;background&quot;               <link linkend="gchar">gchar</link>*                : Read / Write / Construct Only</programlisting>
<para>Background color.</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="GtkSourceStyle--background-set"><title>The <literal>&quot;background-set&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--background-set"><primary>GtkSourceStyle:background-set</primary></indexterm><programlisting>  &quot;background-set&quot;           <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only</programlisting>
<para>Whether background color is set.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkSourceStyle--bold"><title>The <literal>&quot;bold&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--bold"><primary>GtkSourceStyle:bold</primary></indexterm><programlisting>  &quot;bold&quot;                     <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only</programlisting>
<para>Bold.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkSourceStyle--bold-set"><title>The <literal>&quot;bold-set&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--bold-set"><primary>GtkSourceStyle:bold-set</primary></indexterm><programlisting>  &quot;bold-set&quot;                 <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only</programlisting>
<para>Whether bold attribute is set.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkSourceStyle--foreground"><title>The <literal>&quot;foreground&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--foreground"><primary>GtkSourceStyle:foreground</primary></indexterm><programlisting>  &quot;foreground&quot;               <link linkend="gchar">gchar</link>*                : Read / Write / Construct Only</programlisting>
<para>Foreground color.</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="GtkSourceStyle--foreground-set"><title>The <literal>&quot;foreground-set&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--foreground-set"><primary>GtkSourceStyle:foreground-set</primary></indexterm><programlisting>  &quot;foreground-set&quot;           <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only</programlisting>
<para>Whether foreground color is set.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkSourceStyle--italic"><title>The <literal>&quot;italic&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--italic"><primary>GtkSourceStyle:italic</primary></indexterm><programlisting>  &quot;italic&quot;                   <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only</programlisting>
<para>Italic.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkSourceStyle--italic-set"><title>The <literal>&quot;italic-set&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--italic-set"><primary>GtkSourceStyle:italic-set</primary></indexterm><programlisting>  &quot;italic-set&quot;               <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only</programlisting>
<para>Whether italic attribute is set.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkSourceStyle--line-background"><title>The <literal>&quot;line-background&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--line-background"><primary>GtkSourceStyle:line-background</primary></indexterm><programlisting>  &quot;line-background&quot;          <link linkend="gchar">gchar</link>*                : Read / Write / Construct Only</programlisting>
<para>Line background color.</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="GtkSourceStyle--line-background-set"><title>The <literal>&quot;line-background-set&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--line-background-set"><primary>GtkSourceStyle:line-background-set</primary></indexterm><programlisting>  &quot;line-background-set&quot;      <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only</programlisting>
<para>Whether line background color is set.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkSourceStyle--strikethrough"><title>The <literal>&quot;strikethrough&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--strikethrough"><primary>GtkSourceStyle:strikethrough</primary></indexterm><programlisting>  &quot;strikethrough&quot;            <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only</programlisting>
<para>Strikethrough.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkSourceStyle--strikethrough-set"><title>The <literal>&quot;strikethrough-set&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--strikethrough-set"><primary>GtkSourceStyle:strikethrough-set</primary></indexterm><programlisting>  &quot;strikethrough-set&quot;        <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only</programlisting>
<para>Whether strikethrough attribute is set.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkSourceStyle--underline"><title>The <literal>&quot;underline&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--underline"><primary>GtkSourceStyle:underline</primary></indexterm><programlisting>  &quot;underline&quot;                <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only</programlisting>
<para>Underline.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2 id="GtkSourceStyle--underline-set"><title>The <literal>&quot;underline-set&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--underline-set"><primary>GtkSourceStyle:underline-set</primary></indexterm><programlisting>  &quot;underline-set&quot;            <link linkend="gboolean">gboolean</link>              : Read / Write / Construct Only</programlisting>
<para>Whether underline attribute is set.</para><para>Default value: FALSE</para>
</refsect2>

</refsect1>




</refentry>