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 <gtksourceview/gtksourcestyle.h>
<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>
"<link linkend="GtkSourceStyle--background">background</link>" <link linkend="gchar">gchar</link>* : Read / Write / Construct Only
"<link linkend="GtkSourceStyle--background-set">background-set</link>" <link linkend="gboolean">gboolean</link> : Read / Write / Construct Only
"<link linkend="GtkSourceStyle--bold">bold</link>" <link linkend="gboolean">gboolean</link> : Read / Write / Construct Only
"<link linkend="GtkSourceStyle--bold-set">bold-set</link>" <link linkend="gboolean">gboolean</link> : Read / Write / Construct Only
"<link linkend="GtkSourceStyle--foreground">foreground</link>" <link linkend="gchar">gchar</link>* : Read / Write / Construct Only
"<link linkend="GtkSourceStyle--foreground-set">foreground-set</link>" <link linkend="gboolean">gboolean</link> : Read / Write / Construct Only
"<link linkend="GtkSourceStyle--italic">italic</link>" <link linkend="gboolean">gboolean</link> : Read / Write / Construct Only
"<link linkend="GtkSourceStyle--italic-set">italic-set</link>" <link linkend="gboolean">gboolean</link> : Read / Write / Construct Only
"<link linkend="GtkSourceStyle--line-background">line-background</link>" <link linkend="gchar">gchar</link>* : Read / Write / Construct Only
"<link linkend="GtkSourceStyle--line-background-set">line-background-set</link>" <link linkend="gboolean">gboolean</link> : Read / Write / Construct Only
"<link linkend="GtkSourceStyle--strikethrough">strikethrough</link>" <link linkend="gboolean">gboolean</link> : Read / Write / Construct Only
"<link linkend="GtkSourceStyle--strikethrough-set">strikethrough-set</link>" <link linkend="gboolean">gboolean</link> : Read / Write / Construct Only
"<link linkend="GtkSourceStyle--underline">underline</link>" <link linkend="gboolean">gboolean</link> : Read / Write / Construct Only
"<link linkend="GtkSourceStyle--underline-set">underline-set</link>" <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> :</term>
<listitem><simpara> a <link linkend="GtkSourceStyle"><type>GtkSourceStyle</type></link> structure to copy.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</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>"background"</literal> property</title>
<indexterm zone="GtkSourceStyle--background"><primary>GtkSourceStyle:background</primary></indexterm><programlisting> "background" <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>"background-set"</literal> property</title>
<indexterm zone="GtkSourceStyle--background-set"><primary>GtkSourceStyle:background-set</primary></indexterm><programlisting> "background-set" <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>"bold"</literal> property</title>
<indexterm zone="GtkSourceStyle--bold"><primary>GtkSourceStyle:bold</primary></indexterm><programlisting> "bold" <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>"bold-set"</literal> property</title>
<indexterm zone="GtkSourceStyle--bold-set"><primary>GtkSourceStyle:bold-set</primary></indexterm><programlisting> "bold-set" <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>"foreground"</literal> property</title>
<indexterm zone="GtkSourceStyle--foreground"><primary>GtkSourceStyle:foreground</primary></indexterm><programlisting> "foreground" <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>"foreground-set"</literal> property</title>
<indexterm zone="GtkSourceStyle--foreground-set"><primary>GtkSourceStyle:foreground-set</primary></indexterm><programlisting> "foreground-set" <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>"italic"</literal> property</title>
<indexterm zone="GtkSourceStyle--italic"><primary>GtkSourceStyle:italic</primary></indexterm><programlisting> "italic" <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>"italic-set"</literal> property</title>
<indexterm zone="GtkSourceStyle--italic-set"><primary>GtkSourceStyle:italic-set</primary></indexterm><programlisting> "italic-set" <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>"line-background"</literal> property</title>
<indexterm zone="GtkSourceStyle--line-background"><primary>GtkSourceStyle:line-background</primary></indexterm><programlisting> "line-background" <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>"line-background-set"</literal> property</title>
<indexterm zone="GtkSourceStyle--line-background-set"><primary>GtkSourceStyle:line-background-set</primary></indexterm><programlisting> "line-background-set" <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>"strikethrough"</literal> property</title>
<indexterm zone="GtkSourceStyle--strikethrough"><primary>GtkSourceStyle:strikethrough</primary></indexterm><programlisting> "strikethrough" <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>"strikethrough-set"</literal> property</title>
<indexterm zone="GtkSourceStyle--strikethrough-set"><primary>GtkSourceStyle:strikethrough-set</primary></indexterm><programlisting> "strikethrough-set" <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>"underline"</literal> property</title>
<indexterm zone="GtkSourceStyle--underline"><primary>GtkSourceStyle:underline</primary></indexterm><programlisting> "underline" <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>"underline-set"</literal> property</title>
<indexterm zone="GtkSourceStyle--underline-set"><primary>GtkSourceStyle:underline-set</primary></indexterm><programlisting> "underline-set" <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>
|