Gtk.Separator

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Buildable->Gtk.Widget Gtk.Separator Gtk.Separator Gtk.Orientable->Gtk.Separator Gtk.Widget->Gtk.Separator

Example

../_images/Separator.png
Subclasses:

Gtk.HSeparator, Gtk.VSeparator

Methods

Inherited:

Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2)

Structs:

Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new (orientation)

Virtual Methods

Inherited:

Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Widget (39), Gtk.Orientable (1)

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

widget

Gtk.Widget

r

Class Details

class Gtk.Separator(**kwargs)
Bases:

Gtk.Widget, Gtk.Orientable

Abstract:

No

Structure:

Gtk.SeparatorClass

Gtk.Separator is a horizontal or vertical separator widget, depending on the value of the Gtk.Orientable :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

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

classmethod new(orientation)[source]
Parameters:

orientation (Gtk.Orientation) – the separator’s orientation.

Returns:

a new Gtk.Separator.

Return type:

Gtk.Widget

Creates a new Gtk.Separator with the given orientation.

New in version 3.0.