<?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>
</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 sortas="GtkSourceStyle">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 sortas="gtk_source_style_copy">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>&#160;:</term>
<listitem><simpara> a <link linkend="GtkSourceStyle"><type>GtkSourceStyle</type></link> structure to copy.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</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" role="property"><title>The <literal>&quot;background&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--background"><primary sortas="GtkSourceStyle:background">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" role="property"><title>The <literal>&quot;background-set&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--background-set"><primary sortas="GtkSourceStyle:background-set">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" role="property"><title>The <literal>&quot;bold&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--bold"><primary sortas="GtkSourceStyle:bold">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" role="property"><title>The <literal>&quot;bold-set&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--bold-set"><primary sortas="GtkSourceStyle:bold-set">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" role="property"><title>The <literal>&quot;foreground&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--foreground"><primary sortas="GtkSourceStyle:foreground">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" role="property"><title>The <literal>&quot;foreground-set&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--foreground-set"><primary sortas="GtkSourceStyle:foreground-set">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" role="property"><title>The <literal>&quot;italic&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--italic"><primary sortas="GtkSourceStyle:italic">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" role="property"><title>The <literal>&quot;italic-set&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--italic-set"><primary sortas="GtkSourceStyle:italic-set">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" role="property"><title>The <literal>&quot;line-background&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--line-background"><primary sortas="GtkSourceStyle:line-background">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" role="property"><title>The <literal>&quot;line-background-set&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--line-background-set"><primary sortas="GtkSourceStyle:line-background-set">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" role="property"><title>The <literal>&quot;strikethrough&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--strikethrough"><primary sortas="GtkSourceStyle:strikethrough">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" role="property"><title>The <literal>&quot;strikethrough-set&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--strikethrough-set"><primary sortas="GtkSourceStyle:strikethrough-set">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" role="property"><title>The <literal>&quot;underline&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--underline"><primary sortas="GtkSourceStyle:underline">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" role="property"><title>The <literal>&quot;underline-set&quot;</literal> property</title>
<indexterm zone="GtkSourceStyle--underline-set"><primary sortas="GtkSourceStyle:underline-set">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>
