Class: WineShortcut

WineShortcut()

WineShortcut prototype

Constructor

new WineShortcut()

Source:

Methods

arguments(args) → {WineShortcut}

Sets the shortcut arguments
Parameters:
Name Type Description
args array The shortcut arguments
Source:
Returns:
The WineShortcut object
Type
WineShortcut

category(category) → {WineShortcut}

Sets the shortcut category
Parameters:
Name Type Description
category string The shortcut category
Source:
Returns:
The WineShortcut object
Type
WineShortcut

create() → {void}

Creates a new shortcut
Source:
Returns:
Type
void

description(description) → {WineShortcut}

Sets the shortcut description
Parameters:
Name Type Description
description string The shortcut description
Source:
Returns:
The WineShortcut object
Type
WineShortcut

environment(environment) → {WineShortcut}

Sets the shortcut environment variables
Parameters:
Name Type Description
environment string The environment variables
Source:
Returns:
The WineShortcut object
Type
WineShortcut

miniature(miniature) → {WineShortcut}

Sets the miniature for the shortcut
Parameters:
Name Type Description
miniature Array.<string> | URI An array which specifies the application of which the miniature shall be used or URI of the miniature
Source:
Returns:
The WineShortcut object
Type
WineShortcut

name(name) → {WineShortcut}

Sets the shortcut name
Parameters:
Name Type Description
name string The shortcut name
Source:
Returns:
The WineShortcut object
Type
WineShortcut

prefix(prefix) → {WineShortcut}

Sets the shortcut prefix
Parameters:
Name Type Description
prefix string The shortcut prefix
Source:
Returns:
The WineShortcut object
Type
WineShortcut
Sets the executable which shall be used
Parameters:
Name Type Description
search string The executable name
Source:
Returns:
The WineShortcut object
Type
WineShortcut

trustLevel(trustLevel) → {WineShortcut}

Sets the trust level
Parameters:
Name Type Description
trustLevel string The trust level
Source:
Returns:
The WineShortcut object
Type
WineShortcut

type(type) → {WineShortcut}

Sets the shortcut type
Parameters:
Name Type Description
type string The shortcut type
Source:
Returns:
The WineShortcut object
Type
WineShortcut