Gjsify LogoGjsify Logo

Opaque structure, which represents alarm subcomponents. Use the functions below to work with it.

record

Hierarchy

  • ComponentAlarm

Index

Constructors

Properties

name: string

Methods

  • Fills component with data from alarm. The component should be of %I_CAL_VALARM_COMPONENT kind - the function does nothing, if it's not. In case the alarm doesn't have set 'uid', a new is assigned.

    Parameters

    Returns void

  • Get the last time the alarm had been acknowledged, that is, when its reminder had been triggered. The returned #ICalTime is owned by alarm and should not be modified, neither its content.

    Returns ICalGLib.Time

  • Creates a VALARM #ICalComponent filled with data from the alarm. In case the alarm doesn't have set 'uid', a new is assigned. Free the returned component with g_object_unref(), when no longer needed.

    Returns ICalGLib.Component

  • Get the list of attachments, as #ICalAttach. The returned #GSList is owned by alarm and should not be modified, neither its content.

    Returns Attach[]

  • get_uid(): string
  • has_attachments(): boolean
  • has_attendees(): boolean
  • Set the acknowledged time of the alarm. Use %NULL to unset it.

    Parameters

    • when: ICalGLib.Time

      an #ICalTime when the alarm had been acknowledged, or %NULL to unset

    Returns void

  • set_attachments(attachments: Attach[]): void
  • Set the list of attachments, as a #GSList of an #ICalAttach.

    Parameters

    • attachments: Attach[]

      a #GSList of an #ICalAttach objects to set as attachments, or %NULL to unset

    Returns void

  • Set the list of attendees, as a #GSList of an #ECalComponentAttendee.

    Parameters

    • attendees: ComponentAttendee[]

      a #GSList of an #ECalComponentAttendee objects to set as attendees, or %NULL to unset

    Returns void

  • set_uid(uid: string): void
  • Set the alarm UID, or generates a new UID, if uid is %NULL or an empty string.

    Parameters

    • uid: string

      a UID to set, or %NULL or empty string to generate new

    Returns void

  • Set the acknowledged time of the alarm. Use %NULL to unset it. The function assumes ownership of the when.

    Parameters

    • when: ICalGLib.Time

      an #ICalTime when the alarm had been acknowledged, or %NULL to unset

    Returns void

  • Creates a new #ECalComponentAlarm, filled with values from component, which should be of kind %I_CAL_VALARM_COMPONENT. The function returns %NULL when it is not of the expected kind. Free the structure with e_cal_component_alarm_free(), when no longer needed.

    Parameters

    Returns ComponentAlarm

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method