AlarmdActionExec

AlarmdActionExec — An action that runs a command.

Synopsis




            AlarmdActionExec;
AlarmdAction* alarmd_action_exec_new        (void);

Object Hierarchy


  GObject
   +----AlarmdObject
         +----AlarmdAction
               +----AlarmdActionDialog
                     +----AlarmdActionExec

Properties


  "path"                 gchararray            : Read / Write

Description

AlarmdActionExec is an action type that, upon firing, runs a command. The command is run with g_spawn_command_line_async, and the command is specified in property AlarmdActionExec:name. The command is done with the same priviledges as the daemon is running.

AlarmdActionExec also includes the dialog showing properties of AlarmdActionDialog, see its documentation for details. The rest of the action is only run if the dialog is closed; so on snooze the action will be delayed too.

Details

AlarmdActionExec

typedef struct _AlarmdActionExec AlarmdActionExec;


alarmd_action_exec_new ()

AlarmdAction* alarmd_action_exec_new        (void);

Creates new exec alarmd action.

Returns : Newly created AlarmdActionExec.

Property Details

The "path" property

  "path"                 gchararray            : Read / Write

Path of the method/signal.

Default value: NULL

See Also

AlarmdAction, AlarmdActionDbus