def add_separator(self): separator = Gtk.Separator() separator.set_orientation(Gtk.Orientation.HORIZONTAL) return self.add_item(separator)