[gnome-calendar/date-selector] date-selector: added docs
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/date-selector] date-selector: added docs
- Date: Tue, 23 Dec 2014 16:24:25 +0000 (UTC)
commit 21f6d9ed221fe5f69ebb34271498cbdae4689869
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Dec 23 14:24:16 2014 -0200
date-selector: added docs
src/gcal-date-selector.c | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-date-selector.c b/src/gcal-date-selector.c
index 3cbf4bc..d48d2d8 100644
--- a/src/gcal-date-selector.c
+++ b/src/gcal-date-selector.c
@@ -392,6 +392,15 @@ gcal_date_selector_new (void)
return g_object_new (GCAL_TYPE_DATE_SELECTOR, NULL);
}
+/**
+ * gcal_date_selector_set_date:
+ * @selector:
+ * @day: (nullable): The day number.
+ * @month: (nullable): The month number starting with 1
+ * @year: (nullable): The year number
+ *
+ * Set the value of the date shown
+ **/
void
gcal_date_selector_set_date (GcalDateSelector *selector,
gint day,
@@ -460,6 +469,15 @@ gcal_date_selector_set_date (GcalDateSelector *selector,
g_date_time_unref (dt);
}
+/**
+ * gcal_date_selector_get_date:
+ * @selector:
+ * @day: (nullable): An out argument to hold the day number
+ * @month: (nullable): An out argument to hold the month number starting with 1
+ * @year: (nullable): An out argument to hold the year number
+ *
+ * Get the value of the date shown
+ **/
void
gcal_date_selector_get_date (GcalDateSelector *selector,
gint *day,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]