folks Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Prerequisites | Known Implementations | Properties |
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 *value
,GeeMultiMap *parameters
,const gchar *uid
); const gchar * folks_note_field_details_get_uid (FolksNoteFieldDetails *self
); void folks_note_field_details_set_uid (FolksNoteFieldDetails *self
,const gchar *value
); struct FolksNoteFieldDetails; void folks_note_details_change_notes (FolksNoteDetails *self
,GeeSet *notes
,GAsyncReadyCallback _callback_
,gpointer _user_data_
); void folks_note_details_change_notes_finish (FolksNoteDetails *self
,GAsyncResult *_res_
,GError **error
); GeeSet * folks_note_details_get_notes (FolksNoteDetails *self
); void folks_note_details_set_notes (FolksNoteDetails *self
,GeeSet *value
); FolksNoteDetails;
GObject +----FolksAbstractFieldDetails +----FolksNoteFieldDetails
GInterface +----FolksNoteDetails
#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.
|
the value of the field, which should be a non-empty free-form UTF-8 string as entered by the user. [in] |
|
initial parameters. See "parameters". A `null` value is equivalent to a empty map of parameters. [in][allow-none] |
Returns : |
a new NoteFieldDetails |
Since 0.6.0
const gchar * folks_note_field_details_get_uid (FolksNoteFieldDetails *self
);
|
the FolksNoteFieldDetails instance to query |
Returns : |
the value of the "uid" property |
void folks_note_field_details_set_uid (FolksNoteFieldDetails *self
,const gchar *value
);
|
the FolksNoteFieldDetails instance to modify |
|
the new value of the "uid" property |
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
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).
See also: folks_note_details_change_notes_finish()
|
the FolksNoteDetails instance |
|
the set of notes. [in] |
|
callback to call when the request is satisfied. [scope async] |
|
the data to pass to _callback_ function. [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).
See also: folks_note_details_change_notes()
|
the FolksNoteDetails instance |
|
a GAsyncResult |
|
location to store the error occuring, or NULL to ignore. [error-domains FolksPropertyError]
|
Since 0.6.2
GeeSet * folks_note_details_get_notes (FolksNoteDetails *self
);
|
the FolksNoteDetails instance to query |
Returns : |
the value of the "notes" property |
void folks_note_details_set_notes (FolksNoteDetails *self
,GeeSet *value
);
|
the FolksNoteDetails instance to modify |
|
the new value of the "notes" property |
typedef struct _FolksNoteDetails FolksNoteDetails;
This interface represents the list of notes associated to a FolksPersona and FolksIndividual.
Since 0.4.0