## GtkHSeparator GtkHSeparator — A horizontal separator |

## Synopsis

    #include <gtk/gtk.h>

    struct              GtkHSeparator;
    GtkWidget *         gtk_hseparator_new                  (void);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkWidget
                   +----GtkSeparator
                         +----GtkHSeparator

## Implemented Interfaces

GtkHSeparator implements AtkImplementorIface, GtkBuildable and GtkOrientable.

## Description

The GtkHSeparator 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.

### Note

The GtkHSeparator widget is not used as a separator within menus. To create a separator in a menu create an empty GtkSeparatorMenuItem widget using `gtk_separator_menu_item_new()` and add it to the menu with `gtk_menu_shell_append()`.

GtkHSeparator has been deprecated, use GtkSeparator instead.

## Details

### struct GtkHSeparator

    struct GtkHSeparator;

### Warning

`GtkHSeparator` is deprecated and should not be used in newly-written code.

### gtk_hseparator_new ()

    GtkWidget *         gtk_hseparator_new                  (void);

### Warning

`gtk_hseparator_new` has been deprecated since version 3.2 and should not be used in newly-written code. Use `gtk_separator_new()` with `GTK_ORIENTATION_HORIZONTAL` instead

Creates a new GtkHSeparator.

Returns : | a new GtkHSeparator.

## See Also

GtkSeparator