| Kipinä internals: reference Manual |
|---|
KPComment* kp_comment_new (const gchar *title, const gchar *text); void kp_comment_set_title (KPComment *comment, const gchar *title); void kp_comment_set_text (KPComment *comment, const gchar *text); gchar* kp_comment_get_title (KPComment *comment); gchar* kp_comment_get_text (KPComment *comment); gchar* kp_comment_get_formatted_date (KPComment *comment);
KPComment* kp_comment_new (const gchar *title,
const gchar *text);Create a new instance of
| title : | The title of the comment |
| text : | The comment |
| Returns : | A |
void kp_comment_set_title (KPComment *comment,
const gchar *title);Set the title of the comment.
| comment : | A |
| title : | The title to set |
void kp_comment_set_text (KPComment *comment,
const gchar *text);Set the body of the comment to text.
| comment : | A |
| text : | The body of the comment |
gchar* kp_comment_get_title (KPComment *comment);
Retrieve the title of the comment.
| comment : | A |
| Returns : | A newly-allocated string that must be freed or NULL. |
gchar* kp_comment_get_text (KPComment *comment);
Retrieve the body of the comment.
| comment : | A |
| Returns : | A newly-allocated string that must be freed or NULL. |
| <<< kpcalendarentry | kpworkout >>> |