elm_clock: convert elm_clock eo docs to new format

Summary:
Converted docs of elm_clock.eo to the new format

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: cedric, q66

Reviewed By: q66

Differential Revision: https://phab.enlightenment.org/D2849
This commit is contained in:
Vivek Ellur 2015-07-22 10:20:35 +01:00 committed by Daniel Kolesa
parent aef335cf4b
commit 8d9a207bd2
1 changed files with 105 additions and 148 deletions

View File

@ -24,8 +24,7 @@ class Elm.Clock (Elm.Layout)
methods {
@property show_am_pm {
set {
/*@
Set if the given clock widget must show hours in military or
[[Set if the given clock widget must show hours in military or
am/pm mode
This function sets if the clock must show hours in military or
@ -33,37 +32,30 @@ class Elm.Clock (Elm.Layout)
(00-24h-format) is used, in opposition to the USA, where the
am/pm mode is more commonly used.
@see elm_clock_show_am_pm_get()
@ingroup Clock */
See also @.show_am_pm.get.
]]
}
get {
/*@
Get if the given clock widget shows hours in military or am/pm
[[Get if the given clock widget shows hours in military or am/pm
mode
@return @c EINA_TRUE, if in am/pm mode, @c EINA_FALSE if in
military
This function gets if the clock shows hours in military or am/pm
mode.
@see elm_clock_show_am_pm_set() for more details
@ingroup Clock */
See also @.show_am_pm.set for more details.
]]
}
values {
am_pm: bool; /*@ @c EINA_TRUE to put it in am/pm mode, @c EINA_FALSE
to military mode */
am_pm: bool; [[$true to put it in am/pm mode,
$false to military mode]]
}
}
@property first_interval {
set {
/*@
Set the first interval on time updates for a user mouse button hold
[[Set the first interval on time updates for a user mouse button hold
on clock widgets' time edition.
This interval value is @b decreased while the user holds the
This interval value is decreased while the user holds the
mouse pointer either incrementing or decrementing a given the
clock digit's value.
@ -76,187 +68,152 @@ class Elm.Clock (Elm.Layout)
1.05, so it decreases a little bit.
The default starting interval value for automatic flips is
@b 0.85 seconds.
0.85 seconds.
@see elm_clock_first_interval_get()
@ingroup Clock */
See also @.first_interval.get.
]]
}
get {
/*@
Get the first interval on time updates for a user mouse button hold
[[Get the first interval on time updates for a user mouse button hold
on clock widgets' time edition.
@return The first interval value, in seconds, set on it
See also @.first_interval.set for more details.
]]
@see elm_clock_first_interval_set() for more details
@ingroup Clock */
}
values {
interval: double; /*@ The first interval value in seconds */
interval: double; [[The first interval value in seconds]]
}
}
@property show_seconds {
set {
/*@
Set if the given clock widget must show time with seconds or not
[[Set if the given clock widget must show time with seconds or not
This function sets if the given clock must show or not elapsed
seconds. By default, they are @b not shown.
seconds. By default, they are not shown.
@see elm_clock_show_seconds_get()
@ingroup Clock */
See also @.show_seconds.get.
]]
}
get {
/*@
Get whether the given clock widget is showing time with seconds
[[Get whether the given clock widget is showing time with seconds
or not
@return @c EINA_TRUE if it's showing seconds, @c EINA_FALSE otherwise
This function gets whether @p obj is showing or not the elapsed
This function gets whether $obj is showing or not the elapsed
seconds.
@see elm_clock_show_seconds_set()
@ingroup Clock */
See also @.show_seconds.set.
]]
}
values {
seconds: bool; /*@ @c EINA_TRUE to show seconds, @c EINA_FALSE otherwise */
seconds: bool; [[$true to show seconds, $false otherwise.]]
}
}
@property edit {
set {
/*@
Set whether a given clock widget is under <b>edition mode</b> or
[[Set whether a given clock widget is under edition mode or
under (default) displaying-only mode.
This function makes a clock's time to be editable or not <b>by
user interaction</b>. When in edition mode, clocks @b stop
This function makes a clock's time to be editable or not by
user interaction. When in edition mode, clocks stop
ticking, until one brings them back to canonical mode. The
elm_clock_edit_mode_set() function will influence which digits
@.edit_mode.set function will influence which digits
of the clock will be editable.
@note am/pm sheets, if being shown, will @b always be editable
Note: am/pm sheets, if being shown, will always be editable
under edition mode.
@see elm_clock_edit_get()
@ingroup Clock */
See also @.edit.get.
]]
}
get {
/*@
Get whether a given clock widget is under editing mode
[[Get whether a given clock widget is under editing mode
or under (default) displaying-only mode.
@return @c EINA_TRUE, if it's in edition mode, @c EINA_FALSE otherwise
This function retrieves whether the clock's time can be edited
or not by user interaction.
@see elm_clock_edit_set() for more details
@ingroup Clock */
See also @.edit.set for more details
]]
}
values {
edit: bool; /*@ @c EINA_TRUE to put it in edition, @c EINA_FALSE to
put it back to "displaying only" mode */
edit: bool; [[$true to put it in edition, $false to
put it back to "displaying only" mode]]
}
}
@property pause {
set {
/*@
Set whether the given clock widget should be paused or not.
[[Set whether the given clock widget should be paused or not.
This function pauses or starts the clock widget.
@see elm_clock_pause_get()
See also @.pause.get.
@ingroup Clock
@since 1.9 */
@since 1.9
]]
}
get {
/*@
Get whether the given clock widget is paused.
@return @c EINA_TRUE if it's paused @c EINA_FALSE otherwise
[[Get whether the given clock widget is paused.
This function gets whether the clock is paused or not.
@see elm_clock_pause_set()
See also @.pause.set.
@ingroup Clock
@since 1.9 */
@since 1.9]]
}
values {
paused: bool; /*@ @c EINA_TRUE to pause clock, @c EINA_FALSE otherwise */
paused: bool; [[$true to pause clock, $false otherwise]]
}
}
@property time {
set {
/*@
Set a clock widget's time, programmatically
[[Set a clock widget's time, programmatically
This function updates the time that is showed by the clock
widget.
Values @b must be set within the following ranges:
- 0 - 23, for hours
- 0 - 59, for minutes
- 0 - 59, for seconds,
Values must be set within 0-23 for hours and
0-59 for minutes and seconds, even if the clock
is not in "military" mode.
even if the clock is not in "military" mode.
@warning The behavior for values set out of those ranges is @b
Warning: The behavior for values set out of those ranges is
undefined.
@ingroup Clock */
]]
}
get {
/*@
Get a clock widget's time values
[[Get a clock widget's time values
This function gets the time set for @p obj, returning
This function gets the time set for $obj, returning
it on the variables passed as the arguments to function
@note Use @c NULL pointers on the time values you're not
Note: Use $null pointers on the time values you're not
interested in: they'll be ignored by the function.
@ingroup Clock */
]]
}
values {
hrs: int; /*@ The hours to set */
min: int; /*@ The minutes to set */
sec: int; /*@ The seconds to set */
hrs: int; [[The hours to set]]
min: int; [[The minutes to set]]
sec: int; [[The seconds to set]]
}
}
@property edit_mode {
set {
/*@
Set what digits of the given clock widget should be editable
[[Set what digits of the given clock widget should be editable
when in edition mode.
@see elm_clock_edit_mode_get()
@ingroup Clock */
See also @.edit_mode.get.
]]
}
get {
/*@
Get what digits of the given clock widget should be
[[Get what digits of the given clock widget should be
editable when in edition mode.
@return Bit mask indicating the digits to be editable
(values in #Elm_Clock_Edit_Mode).
@see elm_clock_edit_mode_set() for more details
@ingroup Clock */
See also @.edit_mode.set for more details.
]]
}
values {
digedit: Elm.Clock.Edit_Mode; /*@ Bit mask indicating the digits to be editable
(values in #Elm_Clock_Edit_Mode). */
digedit: Elm.Clock.Edit_Mode; [[Bit mask indicating the digits to be editable
(values in #Elm_Clock_Edit_Mode).]]
}
}
}