![]() |
![]() |
![]() |
Libral, the Rubrica Library Reference Manual | ![]() |
---|---|---|---|---|
#define R_NOTES_TYPE #define R_NOTES (obj) #define R_NOTES_CLASS (klass) #define IS_R_NOTES (obj) #define IS_R_NOTES_CLASS (klass) #define R_NOTES_GET_CLASS (klass) RNotesPrivate; RNotes; GType r_notes_get_type (void); RNotes* r_notes_new (void); void r_notes_free (RNotes *notes); gboolean r_notes_search (RNotes *notes, const gchar *str); RNotes* r_notes_copy (RNotes *notes); void r_notes_set_know_birthday (RNotes *notes, gboolean know); void r_notes_set_know_anniversary (RNotes *notes, gboolean know); void r_notes_set_birthday (RNotes *notes, gint day, gint month, gint year); void r_notes_set_anniversary (RNotes *notes, gint day, gint month, gint year); RDate* r_notes_get_birthday (RNotes *notes); RDate* r_notes_get_anniversary (RNotes *notes); gboolean r_notes_have_data (RNotes *notes); gboolean r_notes_know_birthday (RNotes *notes); gboolean r_notes_know_anniversary (RNotes *notes); gchar* r_notes_get_birth_day (RNotes *notes); gchar* r_notes_get_birth_month (RNotes *notes); gchar* r_notes_get_birth_year (RNotes *notes); gchar* r_notes_get_anniversary_day (RNotes *notes); gchar* r_notes_get_anniversary_month (RNotes *notes); gchar* r_notes_get_anniversary_year (RNotes *notes); gchar* r_notes_get_birth_date (RNotes *notes); gchar* r_notes_get_anniversary_date (RNotes *notes); void r_notes_append_other_notes (RNotes *notes, gchar *other_note);
"has-partner" gboolean : Read / Write / Construct "other-notes" gchararray : Read / Write / Construct "partner-name" gchararray : Read / Write / Construct "pubkey" gchararray : Read / Write / Construct
gboolean r_notes_search (RNotes *notes, const gchar *str);
notes : |
|
str : |
|
Returns : |
void r_notes_set_know_birthday (RNotes *notes, gboolean know);
set the know birthday flag
notes : |
a RNotes |
know : |
gboolean |
void r_notes_set_know_anniversary (RNotes *notes, gboolean know);
set the know anniversary flag
notes : |
a RNotes |
know : |
gboolean |
void r_notes_set_birthday (RNotes *notes, gint day, gint month, gint year);
set the partner's birthday
notes : |
a RNotes |
day : |
|
month : |
|
year : |
void r_notes_set_anniversary (RNotes *notes, gint day, gint month, gint year);
set the contact's and his/her partner anniversary
notes : |
a RNotes |
day : |
|
month : |
|
year : |
gboolean r_notes_know_anniversary (RNotes *notes);
get the known_anniversary flag value
gchar* r_notes_get_birth_day (RNotes *notes);
get the partner's birth day. Caller must free the returned value
notes : |
a RNotes |
Returns : | a gchar* |
gchar* r_notes_get_birth_month (RNotes *notes);
get the partner's birth month. Caller must free the returned value
notes : |
a RNotes |
Returns : | a gchar* |
gchar* r_notes_get_birth_year (RNotes *notes);
get the partner's birth year. Caller must free the returned value
notes : |
a RNotes |
Returns : | a gchar* |
gchar* r_notes_get_anniversary_day (RNotes *notes);
get the anniversary day. Caller must free the returned value
notes : |
a RNotes |
Returns : | a gchar* |
gchar* r_notes_get_anniversary_month (RNotes *notes);
get the anniversary month. Caller must free the returned value
notes : |
a RNotes |
Returns : | a gchar* |
gchar* r_notes_get_anniversary_year (RNotes *notes);
get the anniversary year. Caller must free the returned value
notes : |
a RNotes |
Returns : | a gchar* |
gchar* r_notes_get_birth_date (RNotes *notes);
get partner's birthday, or unknown. Caller must free the returned value
notes : |
a RNotes |
Returns : | a gchar* |
gchar* r_notes_get_anniversary_date (RNotes *notes);
get contact and partner's anniversary, or unknown. Caller must free the returned value
notes : |
a RNotes |
Returns : | a gchar* |
has-partner
" property"has-partner" gboolean : Read / Write / Construct
contact has got a partner
Default value: FALSE
other-notes
" property"other-notes" gchararray : Read / Write / Construct
contact's hobbies and other notes.
Default value: NULL
partner-name
" property"partner-name" gchararray : Read / Write / Construct
partner's name (first name last name)
Default value: NULL
pubkey
" property"pubkey" gchararray : Read / Write / Construct
contact's public key
Default value: NULL