klyn.gui.windows.Menu.addSeparator
method

    public addSeparator() as Void:

Description

Appends a visual separator between two logical action groups.

Consecutive or leading separators are ignored by keyboard and pointer navigation, but applications should still avoid adding unnecessary separators.

    file.addItem(MenuItem("&Open..."))
    file.addSeparator()
    file.addItem(MenuItem("E&xit"))