summaryrefslogtreecommitdiff
path: root/doc/examples.dox
diff options
context:
space:
mode:
authorSumanth Krishna Mannam <sumanth.m@samsung.com>2012-03-05 11:07:05 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-03-05 11:07:05 +0000
commit3448bf2eb2d24b2e3177fe3d05ec24e17d4ddb18 (patch)
tree305da2c06586814ce88120f054946b67cfd879a6 /doc/examples.dox
parente6eb4e1008e29da7843aff641b38f59c37080cab (diff)
downloadelementary-3448bf2eb2d24b2e3177fe3d05ec24e17d4ddb18.tar.gz
From: Sumanth Krishna Mannam <sumanth.m@samsung.com>
Subject: [E-devel] [Patch] Elementary : New widget Elm_datetime patch Attached to the mail is the patch for new elementary widget elm_datetime. Refer to the below EFL post history for more details. The datetime widget provides an option to display Date & time based on current locale format and the user can edit them through dynamic Modules. Dynamic modules can be based on 1. Content Popup/diskselector based list 2. Elm_entry with ISE based input 3. Elm_Spinner based etc. Refer to the Screenshots: <1.ctxpopup_diskselector_UI> <2.entry_ise_UI> <3.spinner_selection_UI> Can someone review and push this patch to EFL repository? Change description: New widget Elm_datetime is added. Datetime widget displays the Date &Time fields and provides a customizable way to edit them. The widget is implemented in a modular fashion for date/time field inputs. Ctxpopup based input is proposed as the default selection module. Localization support based on Libc is also supported. Sign-Off By: Sumanth M.V.K <sumanth.m@samsug.com> SVN revision: 68696
Diffstat (limited to 'doc/examples.dox')
-rw-r--r--doc/examples.dox53
1 files changed, 53 insertions, 0 deletions
diff --git a/doc/examples.dox b/doc/examples.dox
index fda24f3ec..3b0235835 100644
--- a/doc/examples.dox
+++ b/doc/examples.dox
@@ -37,6 +37,8 @@
*
* @ref clock_example
*
+ * @ref datetime_example
+ *
* @ref mapbuf_example
* @ref map_example_01
@@ -1698,6 +1700,51 @@
*/
/**
+ * @page datetime_example Datetime widget example
+ *
+ * This code places three Elementary Datetime widgets on a window, each of
+ * them exemplifying the widget's different usage.
+ *
+ * The first of them is <b>"only Date display"</b>:
+ * @dontinclude datetime_example.c
+ * @skip only DATE
+ * @until evas_object_show
+ *
+ * For <b>"only Time display"</b>, see the second datetime:
+ * @dontinclude datetime_example.c
+ * @skip only TIME
+ * @until evas_object_show
+ *
+ * The third one will display datetime shows both <b>Date and Time</b>, corresponding format will be
+ * taken from system @b locale. Note, besides, that the strings are different
+ * for different language settings.
+ *
+ * <b>Datetime format</b> can be programmatically set by using
+ * elm_datetime_format_set():
+ * @dontinclude datetime_example.c
+ * @skip DATE and TIME
+ * @until evas_object_show
+ * The default format of any locale consists:
+ * - Year Field
+ * - Month Field
+ * - Date Field
+ * - Hour Field(12hr/24hr format)
+ * - Minute Field
+ * - AM/PM (if exists).
+ *
+ * This is how the example program's window looks like with the datetime widget
+ * showing only date, only time and both date & time:
+ *
+ * @image html screenshots/datetime_example.png
+ * @image latex screenshots/datetime_example.eps width=\textwidth
+ *
+ * See the full @ref datetime_example_c "source code" for
+ * this example.
+ *
+ * @example datetime_example.c
+ */
+
+/**
* @page mapbuf_example Mapbuf Widget Example
*
* This code places a Elementary mapbuf widget on a window,
@@ -6164,6 +6211,12 @@
* @example clock_example.c
*/
+ /**
+ * @page datetime_example_c Datetime example
+ * @include datetime_example.c
+ * @example datetime_example.c
+ */
+
/**
* @page flipselector_example_c Flipselector example
* @include flipselector_example.c