forked from enlightenment/efl
Fixing bugs in Elementary widgets documentation.
Patch by: Joao Paulo Fernandes Ventura <ventura@profusion.mobi> SVN revision: 69542
This commit is contained in:
parent
10c061ab3c
commit
d63c0310bd
|
@ -1233,11 +1233,11 @@
|
|||
*
|
||||
* To set weekday names, we should declare them as an array of strings:
|
||||
* @dontinclude calendar_example_02.c
|
||||
* @skipline weekdays
|
||||
* @skipline weekdays[]
|
||||
* @until }
|
||||
*
|
||||
* And finally set them to calendar:
|
||||
* skipline weekdays_names_set
|
||||
* @skipline weekdays_names_set
|
||||
*
|
||||
* Our example will look like this:
|
||||
*
|
||||
|
@ -1289,11 +1289,14 @@
|
|||
*
|
||||
* Also, regarding days selection, you could be interested to set a
|
||||
* date to be highlighted on calendar from your code, maybe when
|
||||
* a specific event happens, or after calendar creation. Let's select
|
||||
* two days from current day:
|
||||
* a specific event happens, or after calendar creation. As @c time output is
|
||||
* in seconds, we define the number of seconds contained within a day as a
|
||||
* constant:
|
||||
* @dontinclude calendar_example_04.c
|
||||
* @skipline SECS_DAY
|
||||
* @skipline current_time
|
||||
*
|
||||
* Now let's select two days from current day:
|
||||
* @skipline time(NULL)
|
||||
* @until elm_calendar_selected_time_set
|
||||
*
|
||||
* Our example will look like this:
|
||||
|
@ -1375,7 +1378,7 @@
|
|||
* be read on @c ctime manpage.
|
||||
* If a date relative from current is required, this struct can be set
|
||||
* as:
|
||||
* @skipline current_time
|
||||
* @skipline time(NULL)
|
||||
* @until localtime_r
|
||||
*
|
||||
* Or if it's an absolute date, you can just declare the struct like:
|
||||
|
|
|
@ -46,9 +46,10 @@
|
|||
* @li elm_object_signal_emit
|
||||
* @li elm_object_signal_callback_add
|
||||
* @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
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -19,6 +19,13 @@
|
|||
* @li elm_object_signal_callback_add
|
||||
* @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
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue