## ICalTriggerType ICalTriggerType |

## Synopsis

    #include <i-cal-duration-type>
    #include <i-cal-timetype>

    #define             I_CAL_TRIGGER_TYPE_TYPE
                        ICalTriggerType;
    struct              ICalTriggerTypeClass;
    ICalTriggerType *   i_cal_trigger_type_new_full         (struct icaltriggertype native);
    ICalTriggerType *   i_cal_trigger_type_from_int         (const gint reltime);
    ICalTriggerType *   i_cal_trigger_type_from_string      (const gchar *str);
    gint                i_cal_trigger_type_is_null_trigger  (ICalTriggerType *tr);
    gint                i_cal_trigger_type_is_bad_trigger   (ICalTriggerType *tr);
    ICalTimetype *      i_cal_trigger_type_get_time         (ICalTriggerType *trigger);
    void                i_cal_trigger_type_set_time         (ICalTriggerType *trigger,
                                                             ICalTimetype *time);
    ICalDurationType *  i_cal_trigger_type_get_duration     (ICalTriggerType *trigger);
    void                i_cal_trigger_type_set_duration     (ICalTriggerType *trigger,
                                                             ICalDurationType *duration);

## Object Hierarchy

      GObject
       +----ICalObject
             +----ICalTriggerType

## Description

## Details

### I_CAL_TRIGGER_TYPE_TYPE

    #define             I_CAL_TRIGGER_TYPE_TYPE

### ICalTriggerType

    typedef struct _ICalTriggerType ICalTriggerType;

This is the ICalTriggerType instance.

### struct ICalTriggerTypeClass

    struct ICalTriggerTypeClass {
    };

This is the ICalTriggerType class.

### i_cal_trigger_type_new_full ()

    ICalTriggerType *   i_cal_trigger_type_new_full         (struct icaltriggertype native);

Create a new libical-glib object from the native libical object and the owner.

`native` : | The native libical object.
Returns : | The newly create libical-glib object. [transfer full]

Since 1.0

### i_cal_trigger_type_from_int ()

    ICalTriggerType *   i_cal_trigger_type_from_int         (const gint reltime);

Create a ICalTriggerType from integer.

`reltime` : | An integer.
Returns : | The newly created ICalTriggerType. [transfer full]

Since

### i_cal_trigger_type_from_string ()

    ICalTriggerType *   i_cal_trigger_type_from_string      (const gchar *str);

Create a ICalTriggerType from a string.

`str` : | A string.
Returns : | The newly created ICalTriggerType. [transfer full]

Since

### i_cal_trigger_type_is_null_trigger ()

    gint                i_cal_trigger_type_is_null_trigger  (ICalTriggerType *tr);

Check if a ICalTriggerType is a null trigger.

`tr` : | A ICalTriggerType.
Returns : | 1 if yes, 0 if not.

Since

### i_cal_trigger_type_is_bad_trigger ()

    gint                i_cal_trigger_type_is_bad_trigger   (ICalTriggerType *tr);

Check if a ICalTriggerType is a bad trigger.

`tr` : | A ICalTriggerType.
Returns : | 1 if yes, 0 if not.

Since

### i_cal_trigger_type_get_time ()

    ICalTimetype *      i_cal_trigger_type_get_time         (ICalTriggerType *trigger);

Get the time from ICalTriggerType.

`trigger` : | The ICalTriggerType.
Returns : | The time of ICalTriggerType. [transfer full]

Since 1.0

### i_cal_trigger_type_set_time ()

    void                i_cal_trigger_type_set_time         (ICalTriggerType *trigger,
                                                             ICalTimetype *time);

Set the time from ICalTriggerType.

`trigger` : | The ICalTriggerType.
`time` : | The time of ICalTriggerType.

Since 1.0

### i_cal_trigger_type_get_duration ()

    ICalDurationType *  i_cal_trigger_type_get_duration     (ICalTriggerType *trigger);

Get the duration from ICalTriggerType.

`trigger` : | The ICalTriggerType.
Returns : | The duration of ICalTriggerType. [transfer full]

Since 1.0

### i_cal_trigger_type_set_duration ()

    void                i_cal_trigger_type_set_duration     (ICalTriggerType *trigger,
                                                             ICalDurationType *duration);

Set the duration from ICalTriggerType.

`trigger` : | The ICalTriggerType.
`duration` : | The duration of ICalTriggerType.

Since 1.0