Fixing bugs in Elementary widgets documentation.

Patch by: Joao Paulo Fernandes Ventura <ventura@profusion.mobi>

SVN revision: 69542
This commit is contained in:
Joao Paulo Fernandes Ventura 2012-03-21 17:57:27 +00:00 committed by Jonas M. Gastal
parent 10c061ab3c
commit d63c0310bd
3 changed files with 20 additions and 9 deletions

View File

@ -1233,11 +1233,11 @@
* *
* To set weekday names, we should declare them as an array of strings: * To set weekday names, we should declare them as an array of strings:
* @dontinclude calendar_example_02.c * @dontinclude calendar_example_02.c
* @skipline weekdays * @skipline weekdays[]
* @until } * @until }
* *
* And finally set them to calendar: * And finally set them to calendar:
* skipline weekdays_names_set * @skipline weekdays_names_set
* *
* Our example will look like this: * Our example will look like this:
* *
@ -1289,11 +1289,14 @@
* *
* Also, regarding days selection, you could be interested to set a * Also, regarding days selection, you could be interested to set a
* date to be highlighted on calendar from your code, maybe when * date to be highlighted on calendar from your code, maybe when
* a specific event happens, or after calendar creation. Let's select * a specific event happens, or after calendar creation. As @c time output is
* two days from current day: * in seconds, we define the number of seconds contained within a day as a
* constant:
* @dontinclude calendar_example_04.c * @dontinclude calendar_example_04.c
* @skipline SECS_DAY * @skipline SECS_DAY
* @skipline current_time *
* Now let's select two days from current day:
* @skipline time(NULL)
* @until elm_calendar_selected_time_set * @until elm_calendar_selected_time_set
* *
* Our example will look like this: * Our example will look like this:
@ -1375,7 +1378,7 @@
* be read on @c ctime manpage. * be read on @c ctime manpage.
* If a date relative from current is required, this struct can be set * If a date relative from current is required, this struct can be set
* as: * as:
* @skipline current_time * @skipline time(NULL)
* @until localtime_r * @until localtime_r
* *
* Or if it's an absolute date, you can just declare the struct like: * Or if it's an absolute date, you can just declare the struct like:

View File

@ -46,9 +46,10 @@
* @li elm_object_signal_emit * @li elm_object_signal_emit
* @li elm_object_signal_callback_add * @li elm_object_signal_callback_add
* @li elm_object_signal_callback_del * @li elm_object_signal_callback_del
* *
* Follow through a complete example @ref button_example_01 "here". * Here is some sample code using it:
* @{ * @li @ref button_example_00
* @li @ref button_example_01
*/ */
/** /**

View File

@ -19,6 +19,13 @@
* @li elm_object_signal_callback_add * @li elm_object_signal_callback_add
* @li elm_object_signal_callback_del * @li elm_object_signal_callback_del
* *
* Here is some sample code using it:
* @li @ref calendar_example_01
* @li @ref calendar_example_02
* @li @ref calendar_example_03
* @li @ref calendar_example_04
* @li @ref calendar_example_05
* @li @ref calendar_example_06
*/ */
/** /**