:right-sidebar: True Separator =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: Separator(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.Widget`, :class:`~gi.repository.GObject.InitiallyUnowned`, :class:`~gi.repository.GObject.Object` Implemented Interfaces: :class:`~gi.repository.Gtk.Accessible`, :class:`~gi.repository.Gtk.Buildable`, :class:`~gi.repository.Gtk.ConstraintTarget`, :class:`~gi.repository.Gtk.Orientable` :Constructors: :: Separator(**properties) new(orientation:Gtk.Orientation) -> Gtk.Widget Constructors ------------ .. rst-class:: interim-class .. class:: Separator :no-index: .. classmethod:: new(orientation: ~gi.repository.Gtk.Orientation) -> ~gi.repository.Gtk.Widget Creates a new ``GtkSeparator`` with the given orientation. :param orientation: the separator’s orientation.