Source

Kephra / lib / Kephra / Config / Default / Menu.pm

use strict;
use warnings;

package Kephra::Config::Default::Menu;

sub main {
	return [
		[	{menu_ID => 'file'},
			'+-new',
			'+-open',
			'+-save',
			'+-close',
			'',
			'app-close-save',
		],
		[	{menu_ID => 'edit'},
			'+-undo',
			'+-redo',
			'',
			'+-cut',
			'+-copy',
			'+-insert',
			'+-replace',
			'+-delete',
		],
		[	{menu_ID => 'document'},
			[	{menu_ID => 'change'},
				'--select-left',
				'--select-right',
				'--select-leftmost',
				'--select-rightmost',
				'',
				'--move-left',
				'--move-right',
				'--move-leftmost',
				'--move-rightmost',
			],
		],
		[	{menu_ID => 'config'},
			'+-global-dialog',
			'+-keymap-dialog',
		],
		[	{menu_ID => 'help'},
			'+-documentation',
			'+-homepage',
			'+-bugreport',
			'',
			'+-about',
		],
	];
}

1;

__END__

[	{ ID => 'file'}
	'file_new',
	'',
],

---
- ID: file
- file_new
- ''