<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
<!ENTITY pi "&#960;">
<!ENTITY solidus "&#8260;">
]>
<refentry id="GtkSeparator">
<refmeta>
<refentrytitle role="top_of_page" id="GtkSeparator.top_of_page">GtkSeparator</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkSeparator</refname>
<refpurpose>A separator widget</refpurpose>
</refnamediv>

<refsect1 id="GtkSeparator.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_proto_type" colwidth="150px"/>
<colspec colname="functions_proto_name"/>
<tbody>
<row><entry role="function_type"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-separator-new">gtk_separator_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkSeparator.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="other_proto_type" colwidth="150px"/>
<colspec colname="other_proto_name"/>
<tbody>
<row><entry role="datatype_keyword"></entry><entry role="function_name"><link linkend="GtkSeparator-struct">GtkSeparator</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkSeparator.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>    <link linkend="GObject">GObject</link>
    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
        <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkWidget">GtkWidget</link>
            <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> GtkSeparator
</screen>
</refsect1>
<refsect1 id="GtkSeparator.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GtkSeparator implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link>,  <link linkend="GtkBuildable">GtkBuildable</link>,  <link linkend="GtkConstraintTarget">GtkConstraintTarget</link> and  <link linkend="GtkOrientable">GtkOrientable</link>.</para>

</refsect1>

<refsect1 id="GtkSeparator.includes"><title>Includes</title><synopsis>#include &lt;gtk/gtk.h&gt;
</synopsis></refsect1>

<refsect1 id="GtkSeparator.description" role="desc">
<title role="desc.title">Description</title>
<para>GtkSeparator is a horizontal or vertical separator widget, depending on the
value of the <link linkend="GtkOrientable--orientation"><type>“orientation”</type></link> property, used to group the widgets
within a window. It displays a line with a shadow to make it appear sunken
into the interface.</para>
<refsect2><title>CSS nodes</title><para>GtkSeparator has a single CSS node with name separator. The node
gets one of the .horizontal or .vertical style classes.</para>
</refsect2>

</refsect1>
<refsect1 id="GtkSeparator.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-separator-new" role="function">
<title>gtk_separator_new&#160;()</title>
<indexterm zone="gtk-separator-new"><primary>gtk_separator_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkWidget"><returnvalue>GtkWidget</returnvalue></link>&#160;*
gtk_separator_new (<parameter><link linkend="GtkOrientation"><type>GtkOrientation</type></link> orientation</parameter>);</programlisting>
<para>Creates a new <link linkend="GtkSeparator"><type>GtkSeparator</type></link> with the given orientation.</para>
<refsect3 id="gtk-separator-new.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>orientation</para></entry>
<entry role="parameter_description"><para>the separator’s orientation.</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-separator-new.returns" role="returns">
<title>Returns</title>
<para> a new <link linkend="GtkSeparator"><type>GtkSeparator</type></link>.</para>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkSeparator.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkSeparator-struct" role="struct">
<title>GtkSeparator</title>
<indexterm zone="GtkSeparator-struct"><primary>GtkSeparator</primary></indexterm>
<programlisting language="C">typedef struct _GtkSeparator GtkSeparator;</programlisting>
</refsect2>

</refsect1>

</refentry>
