DesktopAction (gb.desktop)
This class allows you to manage the
Actions for a .desktop file. Actions are the options you get when you right click an icon.
As per the
freedesktop.org specifications
These Actions can be added or removed via the
DesktopFile.DesktopActions property
属性
Exec
|
Get or set the command to run on selection
|
Key
|
Get or set the keyName that will be it's Action name
|
Name
|
Get or set the Name (Text) that will display in the menu.
|
Properties
|
List all available Property names for items in the Action including Name and Exec
|
方法
Delete
|
Remove the action
|
Exist
|
Check if a property name exists (case insensitive, will not use language filter)
|
事件