Top |
FolksNoteFieldDetailsFolksNoteFieldDetails — Object representing a note that can have some parameters associated with it. |
#define | FOLKS_TYPE_NOTE_FIELD_DETAILS |
FolksNoteFieldDetails * | folks_note_field_details_new () |
const gchar * | folks_note_field_details_get_uid () |
void | folks_note_field_details_set_uid () |
void | folks_note_details_change_notes () |
void | folks_note_details_change_notes_finish () |
GeeSet * | folks_note_details_get_notes () |
void | folks_note_details_set_notes () |
struct | FolksNoteFieldDetails |
struct | FolksNoteFieldDetailsClass |
FolksNoteDetails | |
struct | FolksNoteDetailsIface |
GInterface ╰── FolksNoteDetails GObject ╰── FolksAbstractFieldDetails ╰── FolksNoteFieldDetails
#define FOLKS_TYPE_NOTE_FIELD_DETAILS (folks_note_field_details_get_type ())
The type for FolksNoteFieldDetails.
FolksNoteFieldDetails * folks_note_field_details_new (const gchar *value
,GeeMultiMap *parameters
,const gchar *uid
);
Create a new NoteFieldDetails.
value |
. the value of the field, which should be a non-empty free-form UTF-8 string as entered by the user . |
[in] |
parameters |
. initial parameters. See "parameters". A . |
[in][allow-none] |
uid |
. UID for the note object itself, if known. A . |
[in][allow-none] |
Since 0.6.0
const gchar *
folks_note_field_details_get_uid (FolksNoteFieldDetails *self
);
folks_note_field_details_get_uid
has been deprecated since version 0.6.5 and should not be used in newly-written code.
Replaced by “id”.
Get and return the current value of the "uid" property.
The UID of the note (if any).
void folks_note_field_details_set_uid (FolksNoteFieldDetails *self
,const gchar *value
);
folks_note_field_details_set_uid
has been deprecated since version 0.6.5 and should not be used in newly-written code.
Replaced by “id”.
Set the value of the "uid" property to value
.
The UID of the note (if any).
self |
the FolksNoteFieldDetails instance to modify |
|
value |
the new value of the "uid" property |
void folks_note_details_change_notes (FolksNoteDetails *self
,GeeSet *notes
,GAsyncReadyCallback _callback_
,gpointer _user_data_
);
Change the contact's notes.
It's preferred to call this rather than setting "notes" directly, as this method gives error notification and will only return once the notes have been written to the relevant backing store (or the operation's failed).
FolksPropertyError will be returned in error
if setting the notes failed
See also: folks_note_details_change_notes_finish()
self |
the FolksNoteDetails instance |
|
notes |
. the set of notes . |
[in] |
_callback_ |
callback to call when the request is satisfied. |
[scope async] |
_user_data_ |
the data to pass to |
[closure] |
Since 0.6.2
void folks_note_details_change_notes_finish (FolksNoteDetails *self
,GAsyncResult *_res_
,GError **error
);
Change the contact's notes.
It's preferred to call this rather than setting "notes" directly, as this method gives error notification and will only return once the notes have been written to the relevant backing store (or the operation's failed).
FolksPropertyError will be returned in error
if setting the notes failed
See also: folks_note_details_change_notes()
self |
the FolksNoteDetails instance |
|
_res_ |
||
error |
location to store the error occuring, or |
[error-domains FolksPropertyError] |
Since 0.6.2
GeeSet *
folks_note_details_get_notes (FolksNoteDetails *self
);
Get and return the current value of the "notes" property.
The notes about the contact.
Since 0.5.1
void folks_note_details_set_notes (FolksNoteDetails *self
,GeeSet *value
);
Set the value of the "notes" property to value
.
The notes about the contact.
Since 0.5.1
struct FolksNoteFieldDetails;
Object representing a note that can have some parameters associated with it.
See FolksAbstractFieldDetails for details on common parameter names and values.
Since 0.6.0
struct FolksNoteFieldDetailsClass { FolksAbstractFieldDetailsClass parent_class; };
The class structure for FOLKS_TYPE_NOTE_FIELD_DETAILS
. All the fields in this structure are private and should never be accessed directly.
typedef struct _FolksNoteDetails FolksNoteDetails;
This interface represents the list of notes associated to a FolksPersona and FolksIndividual.
Since 0.4.0
struct FolksNoteDetailsIface { GTypeInterface parent_iface; void (*change_notes) (FolksNoteDetails* self, GeeSet* notes, GAsyncReadyCallback _callback_, gpointer _user_data_); void (*change_notes_finish) (FolksNoteDetails* self, GAsyncResult* _res_, GError** error); GeeSet* (*get_notes) (FolksNoteDetails* self); void (*set_notes) (FolksNoteDetails* self, GeeSet* value); };
Interface for creating FolksNoteDetails implementations.
GTypeInterface |
the parent interface structure |
|
virtual method called by |
||
asynchronous finish function for |
||
getter method for the abstract property "notes" |
||
setter method for the abstract property "notes" |