Gtk.HSeparator

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.HSeparator Gtk.HSeparator Gtk.Separator Gtk.Separator Gtk.Orientable->Gtk.Separator Gtk.Separator->Gtk.HSeparator Gtk.Widget->Gtk.Separator

Subclasses:

None

Methods

Inherited:

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

Structs:

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

class

new ()

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

separator

Gtk.Separator

r

Class Details

class Gtk.HSeparator(**kwargs)
Bases:

Gtk.Separator

Abstract:

No

Structure:

Gtk.HSeparatorClass

The Gtk.HSeparator 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.

The Gtk.HSeparator widget is not used as a separator within menus. To create a separator in a menu create an empty Gtk.SeparatorMenuItem widget using Gtk.SeparatorMenuItem.new() and add it to the menu with Gtk.MenuShell.append().

Gtk.HSeparator has been deprecated, use Gtk.Separator instead.

classmethod new()[source]
Returns:

a new Gtk.HSeparator.

Return type:

Gtk.Widget

Creates a new Gtk.HSeparator.

Deprecated since version 3.2: Use Gtk.Separator.new() with Gtk.Orientation.HORIZONTAL instead