folks Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites | Known Implementations | Properties |
FolksBirthdayDetailsFolksBirthdayDetails — This interface contains the birth date of a FolksPersona and FolksIndividual |
void folks_birthday_details_change_birthday (FolksBirthdayDetails *self
,GDateTime *birthday
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); void folks_birthday_details_change_birthday_finish (FolksBirthdayDetails *self
,GAsyncResult *_res_
,GError **error
); void folks_birthday_details_change_calendar_event_id (FolksBirthdayDetails *self
,const gchar *event_id
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); void folks_birthday_details_change_calendar_event_id_finish (FolksBirthdayDetails *self
,GAsyncResult *_res_
,GError **error
); GDateTime * folks_birthday_details_get_birthday (FolksBirthdayDetails *self
); void folks_birthday_details_set_birthday (FolksBirthdayDetails *self
,GDateTime *value
); const gchar * folks_birthday_details_get_calendar_event_id (FolksBirthdayDetails *self
); void folks_birthday_details_set_calendar_event_id (FolksBirthdayDetails *self
,const gchar *value
); FolksBirthdayDetails;
void folks_birthday_details_change_birthday (FolksBirthdayDetails *self
,GDateTime *birthday
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
Change the contact's birthday.
It's preferred to call this rather than setting "birthday" directly, as this method gives error notification and will only return once the birthday has been written to the relevant backing store (or the operation's failed).
See also: folks_birthday_details_change_birthday_finish()
|
the FolksBirthdayDetails instance |
|
the new birthday (or `null` to unset the birthday). [in][allow-none] |
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
Since 0.6.2
void folks_birthday_details_change_birthday_finish (FolksBirthdayDetails *self
,GAsyncResult *_res_
,GError **error
);
Change the contact's birthday.
It's preferred to call this rather than setting "birthday" directly, as this method gives error notification and will only return once the birthday has been written to the relevant backing store (or the operation's failed).
See also: folks_birthday_details_change_birthday()
|
the FolksBirthdayDetails instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore. [error-domains FolksPropertyError]
|
Since 0.6.2
void folks_birthday_details_change_calendar_event_id (FolksBirthdayDetails *self
,const gchar *event_id
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
Change the contact's birthday event ID.
It's preferred to call this rather than setting "calendar-event-id" directly, as this method gives error notification and will only return once the event has been written to the relevant backing store (or the operation's failed).
See also: folks_birthday_details_change_calendar_event_id_finish()
|
the FolksBirthdayDetails instance |
|
the new birthday event ID (or `null` to unset the event ID). [in][allow-none] |
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [closure]
|
Since 0.6.2
void folks_birthday_details_change_calendar_event_id_finish (FolksBirthdayDetails *self
,GAsyncResult *_res_
,GError **error
);
Change the contact's birthday event ID.
It's preferred to call this rather than setting "calendar-event-id" directly, as this method gives error notification and will only return once the event has been written to the relevant backing store (or the operation's failed).
See also: folks_birthday_details_change_calendar_event_id()
|
the FolksBirthdayDetails instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore. [error-domains FolksPropertyError]
|
Since 0.6.2
GDateTime * folks_birthday_details_get_birthday (FolksBirthdayDetails *self
);
|
the FolksBirthdayDetails instance to query |
Returns : |
the value of the "birthday" property |
void folks_birthday_details_set_birthday (FolksBirthdayDetails *self
,GDateTime *value
);
|
the FolksBirthdayDetails instance to modify |
|
the new value of the "birthday" property |
const gchar * folks_birthday_details_get_calendar_event_id
(FolksBirthdayDetails *self
);
|
the FolksBirthdayDetails instance to query |
Returns : |
the value of the "calendar-event-id" property |
void folks_birthday_details_set_calendar_event_id (FolksBirthdayDetails *self
,const gchar *value
);
|
the FolksBirthdayDetails instance to modify |
|
the new value of the "calendar-event-id" property |
typedef struct _FolksBirthdayDetails FolksBirthdayDetails;
This interface contains the birth date of a FolksPersona and FolksIndividual
Since 0.4.0
"birthday"
property "birthday" GDateTime* : Read / Write
The birthday of the FolksPersona and FolksIndividual. This is assumed to be in UTC.
If this is `null`, the contact's birthday isn't known.
Since 0.4.0