Methods
arguments(args) → {WineShortcut}
Sets the shortcut arguments
Parameters:
Name | Type | Description |
---|---|---|
args |
array | The shortcut arguments |
Returns:
The WineShortcut object
- Type
- WineShortcut
category(category) → {WineShortcut}
Sets the shortcut category
Parameters:
Name | Type | Description |
---|---|---|
category |
string | The shortcut category |
Returns:
The WineShortcut object
- Type
- WineShortcut
create() → {void}
Creates a new shortcut
Returns:
- Type
- void
description(description) → {WineShortcut}
Sets the shortcut description
Parameters:
Name | Type | Description |
---|---|---|
description |
string | The shortcut description |
Returns:
The WineShortcut object
- Type
- WineShortcut
environment(environment) → {WineShortcut}
Sets the shortcut environment variables
Parameters:
Name | Type | Description |
---|---|---|
environment |
string | The environment variables |
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 |
Returns:
The WineShortcut object
- Type
- WineShortcut
name(name) → {WineShortcut}
Sets the shortcut name
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The shortcut name |
Returns:
The WineShortcut object
- Type
- WineShortcut
prefix(prefix) → {WineShortcut}
Sets the shortcut prefix
Parameters:
Name | Type | Description |
---|---|---|
prefix |
string | The shortcut prefix |
Returns:
The WineShortcut object
- Type
- WineShortcut
search(search) → {WineShortcut}
Sets the executable which shall be used
Parameters:
Name | Type | Description |
---|---|---|
search |
string | The executable name |
Returns:
The WineShortcut object
- Type
- WineShortcut
trustLevel(trustLevel) → {WineShortcut}
Sets the trust level
Parameters:
Name | Type | Description |
---|---|---|
trustLevel |
string | The trust level |
Returns:
The WineShortcut object
- Type
- WineShortcut
type(type) → {WineShortcut}
Sets the shortcut type
Parameters:
Name | Type | Description |
---|---|---|
type |
string | The shortcut type |
Returns:
The WineShortcut object
- Type
- WineShortcut