<?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 index-Objects-Grouped SYSTEM "objects_grouped.sgml"-->
<refentry id="GtkHSeparator">
<refmeta>
<refentrytitle role="top_of_page" id="GtkHSeparator.top_of_page">GtkHSeparator</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>GtkHSeparator</refname>
<refpurpose>A horizontal separator</refpurpose>
</refnamediv>

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

<synopsis>

#include &lt;gtk/gtk.h&gt;

                    <link linkend="GtkHSeparator-struct">GtkHSeparator</link>;
<link linkend="GtkWidget">GtkWidget</link>*          <link linkend="gtk-hseparator-new">gtk_hseparator_new</link>                  (void);
</synopsis>
</refsynopsisdiv>

<refsect1 id="GtkHSeparator.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----<link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
         +----<link linkend="GtkObject">GtkObject</link>
               +----<link linkend="GtkWidget">GtkWidget</link>
                     +----<link linkend="GtkSeparator">GtkSeparator</link>
                           +----GtkHSeparator
</synopsis>
</refsect1>



<refsect1 id="GtkHSeparator.implemented-interfaces" role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
GtkHSeparator implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link>,  <link linkend="GtkBuildable">GtkBuildable</link> and  <link linkend="GtkOrientable">GtkOrientable</link>.</para>
</refsect1>





<refsect1 id="GtkHSeparator.description" role="desc">
<title role="desc.title">Description</title>
<para>
The <link linkend="GtkHSeparator"><type>GtkHSeparator</type></link> widget is a horizontal separator, used to group the
widgets within a window. It displays a horizontal line with a shadow to
make it appear sunken into the interface.
</para>
<note>
<para>
The <link linkend="GtkHSeparator"><type>GtkHSeparator</type></link> widget is not used as a separator within menus.
To create a separator in a menu create an empty <link linkend="GtkSeparatorMenuItem"><type>GtkSeparatorMenuItem</type></link>
widget using <link linkend="gtk-separator-menu-item-new"><function>gtk_separator_menu_item_new()</function></link> and add it to the menu with
<link linkend="gtk-menu-shell-append"><function>gtk_menu_shell_append()</function></link>.
</para>
</note>
</refsect1>

<refsect1 id="GtkHSeparator.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GtkHSeparator-struct" role="struct">
<title>GtkHSeparator</title>
<indexterm zone="GtkHSeparator-struct"><primary sortas="HSeparator">GtkHSeparator</primary></indexterm><programlisting>typedef struct _GtkHSeparator GtkHSeparator;</programlisting>
<para>
The <link linkend="GtkHSeparator-struct"><type>GtkHSeparator</type></link> struct contains private data only, and
should be accessed using the functions below.
</para></refsect2>
<refsect2 id="gtk-hseparator-new" role="function">
<title>gtk_hseparator_new ()</title>
<indexterm zone="gtk-hseparator-new"><primary sortas="hseparator_new">gtk_hseparator_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*          gtk_hseparator_new                  (void);</programlisting>
<para>
Creates a new <link linkend="GtkHSeparator"><type>GtkHSeparator</type></link>.
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara>a new <link linkend="GtkHSeparator"><type>GtkHSeparator</type></link>.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>



<refsect1 id="GtkHSeparator.see-also">
<title>See Also</title>
<para>
<variablelist>
<varlistentry>
<term><link linkend="GtkVSeparator"><type>GtkVSeparator</type></link></term>
<listitem><para>a vertical separator.</para></listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>

</refentry>
