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

Cette classe est instanciable.

Cette classe se comporte comme un tableau en lecture / écriture.

Propriétés
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

Méthodes
Delete   Remove the action
Exist   Check if a property name exists (case insensitive, will not use language filter)

Evénements
Change