GtkSeparator

GtkSeparator — A separator widget

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkSeparator

Implemented Interfaces

GtkSeparator implements GtkAccessible, GtkBuildable, GtkConstraintTarget and GtkOrientable.

Includes

#include <gtk/gtk.h>

Description

GtkSeparator is a horizontal or vertical separator widget, depending on the value of the “orientation” property, used to group the widgets within a window. It displays a line with a shadow to make it appear sunken into the interface.

CSS nodes

GtkSeparator has a single CSS node with name separator. The node gets one of the .horizontal or .vertical style classes.


Accessibility

GtkSeparator uses the GTK_ACCESSIBLE_ROLE_SEPARATOR role.

Functions

gtk_separator_new ()

GtkWidget *
gtk_separator_new (GtkOrientation orientation);

Creates a new GtkSeparator with the given orientation.

Parameters

orientation

the separator’s orientation.

 

Returns

a new GtkSeparator.

Types and Values

GtkSeparator

typedef struct _GtkSeparator GtkSeparator;