AlarmdActionDialog

AlarmdActionDialog — Base class for actions that show a dialog on events.

Synopsis




            AlarmdActionDialog;
void        alarmd_action_dialog_do_action  (AlarmdActionDialog *dialog);
AlarmdAction* alarmd_action_dialog_new      (void);

Object Hierarchy


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

Properties


  "icon"                 gchararray            : Read / Write
  "message"              gchararray            : Read / Write
  "sound"                gchararray            : Read / Write
  "title"                gchararray            : Read / Write

Description

AlarmdActionDialog is an action type that, upon firing, may show a dialog if flagged so in AlarmdActionDialog:flags. After the dialog has been acknowledged, this action type does nothing, use AlarmdActionExec or AlarmdActionDbus to do something afterwards. The charasteristics of the dialog are determined by the properties AlarmdActionDialog:title, AlarmdActionDialog:icon, AlarmdActionDialog:message, AlarmdActionDialog:sound and AlarmdActionDialog:flags.

Details

AlarmdActionDialog

typedef struct _AlarmdActionDialog AlarmdActionDialog;


alarmd_action_dialog_do_action ()

void        alarmd_action_dialog_do_action  (AlarmdActionDialog *dialog);

Does the action of the AlarmdActionDialog.

dialog : The action that should be done.

alarmd_action_dialog_new ()

AlarmdAction* alarmd_action_dialog_new      (void);

Creates new alarmd dialog action.

Returns : Newly created AlarmdActionDialog.

Property Details

The "icon" property

  "icon"                 gchararray            : Read / Write

Icon that should be shown in the alarm dialog.

Default value: NULL


The "message" property

  "message"              gchararray            : Read / Write

Message that will be shown in the alarm dialog.

Default value: NULL


The "sound" property

  "sound"                gchararray            : Read / Write

Sound that should be played when showing the dialog.

Default value: NULL


The "title" property

  "title"                gchararray            : Read / Write

The title for the alarm dialog.

Default value: NULL

See Also

AlarmdActionDBus, AlarmdActionExec.