Gtk.SeparatorMenuItem

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Actionable Gtk.Actionable GObject.GInterface->Gtk.Actionable Gtk.Activatable Gtk.Activatable GObject.GInterface->Gtk.Activatable Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.MenuItem Gtk.MenuItem Gtk.Actionable->Gtk.MenuItem Gtk.Activatable->Gtk.MenuItem Gtk.Bin Gtk.Bin Gtk.Bin->Gtk.MenuItem Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.SeparatorMenuItem Gtk.SeparatorMenuItem Gtk.MenuItem->Gtk.SeparatorMenuItem Gtk.Widget->Gtk.Container

Subclasses:None

Style Properties

Inherited:Gtk.MenuItem (6), Gtk.Widget (17)

Fields

Inherited:Gtk.MenuItem (6), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name Type Access Description
menu_item Gtk.MenuItem r  

Class Details

class Gtk.SeparatorMenuItem(*args, **kwargs)
Bases:Gtk.MenuItem
Abstract:No
Structure:Gtk.SeparatorMenuItemClass

The Gtk.SeparatorMenuItem is a separator used to group items within a menu. It displays a horizontal line with a shadow to make it appear sunken into the interface.

CSS nodes

Gtk.SeparatorMenuItem has a single CSS node with name separator.

classmethod new()[source]
Returns:a new Gtk.SeparatorMenuItem.
Return type:Gtk.Widget

Creates a new Gtk.SeparatorMenuItem.