GTK+ Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# GtkHSeparator

## Name

GtkHSeparator -- a horizontal separator.

## Synopsis

    #include <gtk/gtk.h>

    struct      GtkHSeparator;
    GtkWidget*  gtk_hseparator_new              (void);

## Object Hierarchy

      GObject
       +----GtkObject
             +----GtkWidget
                   +----GtkSeparator
                         +----GtkHSeparator

## 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().

## Details

### struct GtkHSeparator

    struct GtkHSeparator;

The GtkHSeparator struct contains private data only, and should be accessed using the functions below.

### gtk_hseparator_new ()

    GtkWidget*  gtk_hseparator_new              (void);

Creates a new GtkHSeparator.

Returns : | a new GtkHSeparator.

## See Also

GtkVSeparator

  a vertical separator.

<<< Previous Page | Home | Up | Next Page >>>
GtkFrame | GtkVSeparator