Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkSourceStyleSchemeChooser: GtkSourceView 3 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
<link rel="up" href="ch03.html" title="Styling">
<link rel="prev" href="GtkSourceStyleSchemeManager.html" title="GtkSourceStyleSchemeManager">
<link rel="next" href="GtkSourceStyleSchemeChooserButton.html" title="GtkSourceStyleSchemeChooserButton">
<meta name="generator" content="GTK-Doc V1.28.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GtkSourceStyleSchemeChooser.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GtkSourceStyleSchemeChooser.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_prerequisites">  <span class="dim">|</span> 
                  <a href="#GtkSourceStyleSchemeChooser.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_implementations">  <span class="dim">|</span> 
                  <a href="#GtkSourceStyleSchemeChooser.implementations" class="shortcut">Known Implementations</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#GtkSourceStyleSchemeChooser.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GtkSourceStyleSchemeManager.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GtkSourceStyleSchemeChooserButton.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GtkSourceStyleSchemeChooser"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkSourceStyleSchemeChooser.top_of_page"></a>GtkSourceStyleSchemeChooser</span></h2>
<p>GtkSourceStyleSchemeChooser — Interface implemented by widgets for choosing style schemes</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GtkSourceStyleSchemeChooser.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="returnvalue">GtkSourceStyleScheme</span></a> *
</td>
<td class="function_name">
<a class="link" href="GtkSourceStyleSchemeChooser.html#gtk-source-style-scheme-chooser-get-style-scheme" title="gtk_source_style_scheme_chooser_get_style_scheme ()">gtk_source_style_scheme_chooser_get_style_scheme</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkSourceStyleSchemeChooser.html#gtk-source-style-scheme-chooser-set-style-scheme" title="gtk_source_style_scheme_chooser_set_style_scheme ()">gtk_source_style_scheme_chooser_set_style_scheme</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkSourceStyleSchemeChooser.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody><tr>
<td class="property_type">
<a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *</td>
<td class="property_name"><a class="link" href="GtkSourceStyleSchemeChooser.html#GtkSourceStyleSchemeChooser--style-scheme" title="The “style-scheme” property">style-scheme</a></td>
<td class="property_flags">Read / Write</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkSourceStyleSchemeChooser.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="GtkSourceStyleSchemeChooser.html#GtkSourceStyleSchemeChooser-struct" title="GtkSourceStyleSchemeChooser">GtkSourceStyleSchemeChooser</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkSourceStyleSchemeChooser.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/opt/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
    <span class="lineart">╰──</span> GtkSourceStyleSchemeChooser
</pre>
</div>
<div class="refsect1">
<a name="GtkSourceStyleSchemeChooser.prerequisites"></a><h2>Prerequisites</h2>
<p>
GtkSourceStyleSchemeChooser requires
 GObject.</p>
</div>
<div class="refsect1">
<a name="GtkSourceStyleSchemeChooser.implementations"></a><h2>Known Implementations</h2>
<p>
GtkSourceStyleSchemeChooser is implemented by
 <a class="link" href="GtkSourceStyleSchemeChooserButton.html" title="GtkSourceStyleSchemeChooserButton">GtkSourceStyleSchemeChooserButton</a> and  <a class="link" href="GtkSourceStyleSchemeChooserWidget.html" title="GtkSourceStyleSchemeChooserWidget">GtkSourceStyleSchemeChooserWidget</a>.</p>
</div>
<div class="refsect1">
<a name="GtkSourceStyleSchemeChooser.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gtksourceview/gtksource.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GtkSourceStyleSchemeChooser.description"></a><h2>Description</h2>
<p><a class="link" href="GtkSourceStyleSchemeChooser.html" title="GtkSourceStyleSchemeChooser"><span class="type">GtkSourceStyleSchemeChooser</span></a> is an interface that is implemented by widgets
for choosing style schemes.</p>
<p>In GtkSourceView, the main widgets that implement this interface are
<a class="link" href="GtkSourceStyleSchemeChooserWidget.html" title="GtkSourceStyleSchemeChooserWidget"><span class="type">GtkSourceStyleSchemeChooserWidget</span></a> and <a class="link" href="GtkSourceStyleSchemeChooserButton.html" title="GtkSourceStyleSchemeChooserButton"><span class="type">GtkSourceStyleSchemeChooserButton</span></a>.</p>
</div>
<div class="refsect1">
<a name="GtkSourceStyleSchemeChooser.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gtk-source-style-scheme-chooser-get-style-scheme"></a><h3>gtk_source_style_scheme_chooser_get_style_scheme ()</h3>
<pre class="programlisting"><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="returnvalue">GtkSourceStyleScheme</span></a> *
gtk_source_style_scheme_chooser_get_style_scheme
                               (<em class="parameter"><code><a class="link" href="GtkSourceStyleSchemeChooser.html" title="GtkSourceStyleSchemeChooser"><span class="type">GtkSourceStyleSchemeChooser</span></a> *chooser</code></em>);</pre>
<p>Gets the currently-selected scheme.</p>
<div class="refsect3">
<a name="gtk-source-style-scheme-chooser-get-style-scheme.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>chooser</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkSourceStyleSchemeChooser.html" title="GtkSourceStyleSchemeChooser"><span class="type">GtkSourceStyleSchemeChooser</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-source-style-scheme-chooser-get-style-scheme.returns"></a><h4>Returns</h4>
<p>the currently-selected scheme. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-source-style-scheme-chooser-set-style-scheme"></a><h3>gtk_source_style_scheme_chooser_set_style_scheme ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gtk_source_style_scheme_chooser_set_style_scheme
                               (<em class="parameter"><code><a class="link" href="GtkSourceStyleSchemeChooser.html" title="GtkSourceStyleSchemeChooser"><span class="type">GtkSourceStyleSchemeChooser</span></a> *chooser</code></em>,
                                <em class="parameter"><code><a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *scheme</code></em>);</pre>
<p>Sets the scheme.</p>
<div class="refsect3">
<a name="gtk-source-style-scheme-chooser-set-style-scheme.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>chooser</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkSourceStyleSchemeChooser.html" title="GtkSourceStyleSchemeChooser"><span class="type">GtkSourceStyleSchemeChooser</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>scheme</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
</div>
</div>
<div class="refsect1">
<a name="GtkSourceStyleSchemeChooser.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GtkSourceStyleSchemeChooser-struct"></a><h3>GtkSourceStyleSchemeChooser</h3>
<pre class="programlisting">typedef struct _GtkSourceStyleSchemeChooser GtkSourceStyleSchemeChooser;</pre>
</div>
</div>
<div class="refsect1">
<a name="GtkSourceStyleSchemeChooser.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GtkSourceStyleSchemeChooser--style-scheme"></a><h3>The <code class="literal">“style-scheme”</code> property</h3>
<pre class="programlisting">  “style-scheme”             <a class="link" href="GtkSourceStyleScheme.html" title="GtkSourceStyleScheme"><span class="type">GtkSourceStyleScheme</span></a> *</pre>
<p>The :style-scheme property contains the currently selected style
scheme. The property can be set to change
the current selection programmatically.</p>
<p>Flags: Read / Write</p>
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
</div>
</div>
<div class="refsect1">
<a name="GtkSourceStyleSchemeChooser.see-also"></a><h2>See Also</h2>
<p><a class="link" href="GtkSourceStyleSchemeChooserWidget.html" title="GtkSourceStyleSchemeChooserWidget"><span class="type">GtkSourceStyleSchemeChooserWidget</span></a>, <a class="link" href="GtkSourceStyleSchemeChooserButton.html" title="GtkSourceStyleSchemeChooserButton"><span class="type">GtkSourceStyleSchemeChooserButton</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.28.1</div>
</body>
</html>