用于定义应用程序的菜单。

菜单项的索引。

菜单项的图标。

菜单项的标题。

菜单项的名称。

菜单项的工具提示。

菜单项的描述文本。

菜单项是否为分隔符。

点击菜单项时要执行的函数。

菜单项是否启用。

interface MenusType {
    menuItems: {
        describeText: string;
        executeProc: Function;
        icon: string;
        index: number;
        isEnable: boolean;
        isSeparator: boolean;
        name: string;
        title: string;
        tooltip: string;
    }[];
}

Properties

Properties

menuItems: {
    describeText: string;
    executeProc: Function;
    icon: string;
    index: number;
    isEnable: boolean;
    isSeparator: boolean;
    name: string;
    title: string;
    tooltip: string;
}[]

应用程序的菜单项。