Eo files: Replace all occurances of EINA_TRUE/FALSE to true/false.

This commit is contained in:
Tom Hacohen 2015-08-06 15:11:22 +01:00
parent 94eca6c747
commit bc8730acee
32 changed files with 290 additions and 290 deletions

View File

@ -154,7 +154,7 @@ class Elm.Datetime (Elm.Layout)
Minute: default value range is from 0 to 59.
@return @c EINA_TRUE if minimum value is accepted.
@return @c true if minimum value is accepted.
@see elm_datetime_value_min_get()
@ingroup Datetime */
@ -179,7 +179,7 @@ class Elm.Datetime (Elm.Layout)
Minute: default value range is from 0 to 59.
@return @c EINA_TRUE if minimum value is successfully returned.
@return @c true if minimum value is successfully returned.
@see elm_datetime_value_min_set()
@ingroup Datepicker */
@ -203,7 +203,7 @@ class Elm.Datetime (Elm.Layout)
Minute: default value range is from 0 to 59.
@return @c EINA_TRUE if current time is set successfully.
@return @c true if current time is set successfully.
@see elm_datetime_value_set()
@ingroup Datetime */
@ -228,7 +228,7 @@ class Elm.Datetime (Elm.Layout)
Minute: default value range is from 0 to 59.
@return @c EINA_TRUE if current time is returned successfully.
@return @c true if current time is returned successfully.
@see elm_datetime_value_set()
@ingroup Datetime */
@ -254,14 +254,14 @@ class Elm.Datetime (Elm.Layout)
params {
@in fieldtype: Elm.Datetime.Field_Type; /*@ Type of the field. #ELM_DATETIME_YEAR etc. */
@in visible: bool; /*@ @c EINA_TRUE field can be visible, @c EINA_FALSE otherwise. */
@in visible: bool; /*@ @c true field can be visible, @c false otherwise. */
}
}
field_visible_get @const {
/*@
@brief Get whether a field can be visible/not
@return bool @c EINA_TRUE, if field can be visible. @c EINA_FALSE otherwise.
@return bool @c true, if field can be visible. @c false otherwise.
@see elm_datetime_field_visible_set()
@ingroup Datetime */
@ -285,7 +285,7 @@ class Elm.Datetime (Elm.Layout)
Minute: default value range is from 0 to 59.
@return @c EINA_TRUE if maximum value is accepted.
@return @c true if maximum value is accepted.
@see elm_datetime_value_max_get()
@ingroup Datetime */
@ -310,7 +310,7 @@ class Elm.Datetime (Elm.Layout)
Minute: default value range is from 0 to 59.
@return @c EINA_TRUE if maximum value is returned successfully.
@return @c true if maximum value is returned successfully.
@see elm_datetime_value_max_set()
@ingroup Datetime */

View File

@ -170,7 +170,7 @@ class Elm.Diskselector (Elm.Widget, Elm_Interface_Scrollable,
* disk = elm_diskselector_add(win);
* ic = elm_icon_add(win);
* elm_image_file_set(ic, "path/to/image", NULL);
* elm_icon_resizable_set(ic, EINA_TRUE, EINA_TRUE);
* elm_icon_resizable_set(ic, true, true);
* elm_diskselector_item_append(disk, "label", ic, NULL, NULL);
* @endcode
*/

View File

@ -123,7 +123,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
@ingroup Entry */
}
values {
scroll: bool; /*@ EINA_TRUE if it is to be scrollable, EINA_FALSE otherwise */
scroll: bool; /*@ true if it is to be scrollable, false otherwise */
}
}
@property input_panel_show_on_demand {
@ -138,7 +138,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
/*@
Get the attribute to show the input panel in case of only an user's explicit Mouse Up event.
@return @c EINA_TRUE if the input panel will be shown in case of only Mouse up event.
@return @c true if the input panel will be shown in case of only Mouse up event.
@since 1.9
@ingroup Entry */
@ -302,7 +302,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
By default, entries are editable and when focused, any text input by the
user will be inserted at the current cursor position. But calling this
function with @p editable as EINA_FALSE will prevent the user from
function with @p editable as false will prevent the user from
inputting text into the entry.
The only way to change the text of a non-editable entry is to use
@ -323,7 +323,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
@ingroup Entry */
}
values {
editable: bool; /*@ If EINA_TRUE, user input will be inserted in the entry,
editable: bool; /*@ If true, user input will be inserted in the entry,
if not, the entry is read-only and no user input is allowed. */
}
}
@ -366,7 +366,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
edge, and instead they keep growing horizontally. Pressing the @c Enter
key will generate an @c "activate" event instead of adding a new line.
When @p single_line is @c EINA_FALSE, line wrapping takes effect again
When @p single_line is @c false, line wrapping takes effect again
and pressing enter will break the text into a different line
without generating any events.
@ -424,13 +424,13 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
/*@
Get whether the return key on the input panel should be disabled or not.
@return EINA_TRUE if it should be disabled
@return true if it should be disabled
@ingroup Entry */
}
values {
disabled: bool; /*@ The state to put in in: @c EINA_TRUE for
disabled, @c EINA_FALSE for enabled */
disabled: bool; /*@ The state to put in in: @c true for
disabled, @c false for enabled */
}
}
@property autosave {
@ -493,7 +493,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
/*@
Get whether the entry should allow to use the text prediction.
@return EINA_TRUE if it allows to use the text prediction, otherwise EINA_FALSE.
@return true if it allows to use the text prediction, otherwise false.
@ingroup Entry */
}
@ -577,7 +577,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
/*@
Get the attribute to show the input panel automatically.
@return EINA_TRUE if input panel will be appeared when the entry is clicked or has a focus, EINA_FALSE otherwise
@return true if input panel will be appeared when the entry is clicked or has a focus, false otherwise
@ingroup Entry */
}
@ -645,8 +645,8 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
@ingroup Entry */
}
values {
setting: bool; /*@ EINA_TRUE if the object should be displayed,
EINA_FALSE if not. */
setting: bool; /*@ true if the object should be displayed,
false if not. */
}
}
@property cursor_line_end {
@ -675,14 +675,14 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
/*@
Set whether the return key on the input panel is disabled automatically when entry has no text.
If @p enabled is EINA_TRUE, The return key on input panel is disabled when the entry has no text.
If @p enabled is true, The return key on input panel is disabled when the entry has no text.
The return key on the input panel is automatically enabled when the entry has text.
The default value is EINA_FALSE.
The default value is false.
@ingroup Entry */
}
values {
enabled: bool; /*@ If @p enabled is EINA_TRUE, the return key is automatically disabled when the entry has no text. */
enabled: bool; /*@ If @p enabled is true, the return key is automatically disabled when the entry has no text. */
}
}
@property end_visible {
@ -694,8 +694,8 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
@ingroup Entry */
}
values {
setting: bool; /*@ EINA_TRUE if the object should be displayed,
EINA_FALSE if not. */
setting: bool; /*@ true if the object should be displayed,
false if not. */
}
}
@property cursor_begin {
@ -763,7 +763,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
or for example in the case of scrolled entry where you want to show the
cursor.
@return EINA_TRUE upon success, EINA_FALSE upon failure
@return true upon success, false upon failure
@ingroup Entry */
return: bool;
@ -802,8 +802,8 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
This function returns whether any format node exists at the current
cursor position.
@return EINA_TRUE if the current cursor position contains a format node,
EINA_FALSE otherwise.
@return true if the current cursor position contains a format node,
false otherwise.
@see elm_entry_cursor_is_visible_format_get()
@ -851,7 +851,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
/*@
Get if the current cursor position holds a visible format node.
@return EINA_TRUE if the current cursor is a visible format, EINA_FALSE
@return true if the current cursor is a visible format, false
if it's an invisible one or no format exists.
@see elm_entry_cursor_is_format_get()
@ -864,7 +864,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
/*@
This moves the cursor one place to the left within the entry.
@return EINA_TRUE upon success, EINA_FALSE upon failure
@return true upon success, false upon failure
@ingroup Entry */
@ -899,7 +899,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
Show the input panel (virtual keyboard) based on the input panel property of entry such as layout, autocapital types, and so on.
Note that input panel is shown or hidden automatically according to the focus state of entry widget.
This API can be used in the case of manually controlling by using elm_entry_input_panel_enabled_set(en, EINA_FALSE).
This API can be used in the case of manually controlling by using elm_entry_input_panel_enabled_set(en, false).
@ingroup Entry */
@ -948,7 +948,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
/*@
This moves the cursor one line down within the entry.
@return EINA_TRUE upon success, EINA_FALSE upon failure
@return true upon success, false upon failure
@ingroup Entry */
@ -1023,7 +1023,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
/*@
This moves the cursor one line up within the entry.
@return EINA_TRUE upon success, EINA_FALSE upon failure
@return true upon success, false upon failure
@ingroup Entry */
@ -1089,7 +1089,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
/*@
This moves the cursor one place to the right within the entry.
@return EINA_TRUE upon success, EINA_FALSE upon failure
@return true upon success, false upon failure
@ingroup Entry */
@ -1107,7 +1107,7 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
Hide the input panel (virtual keyboard).
Note that input panel is shown or hidden automatically according to the focus state of entry widget.
This API can be used in the case of manually controlling by using elm_entry_input_panel_enabled_set(en, EINA_FALSE)
This API can be used in the case of manually controlling by using elm_entry_input_panel_enabled_set(en, false)
@ingroup Entry */
@ -1140,9 +1140,9 @@ class Elm.Entry (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interface,
Empty means no text at all. If there are any markup tags, like an item
tag for which no provider finds anything, and no text is displayed, this
function still returns EINA_FALSE.
function still returns false.
@return @c EINA_TRUE if the entry text is empty or @p entry is NULL, @c EINA_FALSE otherwise.
@return @c true if the entry text is empty or @p entry is NULL, @c false otherwise.
@ingroup Entry */
return: bool(true);

View File

@ -80,7 +80,7 @@ class Elm.Flip (Elm.Container)
/*@
@brief Get flip front visibility state
@return EINA_TRUE if front front is showing, EINA_FALSE if the back is
@return true if front front is showing, false if the back is
showing.
@ingroup Flip */
@ -268,7 +268,7 @@ class Elm.Flip (Elm.Container)
@ingroup Flip */
params {
@in front: bool; /*@ if @c EINA_TRUE, makes front visible, otherwise makes back. */
@in front: bool; /*@ if @c true, makes front visible, otherwise makes back. */
@in mode: Elm.Flip.Mode; /*@ The mode type */
}
}

View File

@ -59,7 +59,7 @@ class Elm.Gengrid (Elm.Layout, Elm_Interface_Scrollable,
/*@
Get how the items grid's filled within a given gengrid widget
@return @c EINA_TRUE, if filled is on, @c EINA_FALSE if it's
@return @c true, if filled is on, @c false if it's
off
@note Use @c NULL pointers on the alignment values you're not
@ -108,16 +108,16 @@ class Elm.Gengrid (Elm.Layout, Elm_Interface_Scrollable,
Get whether multi-selection is enabled or disabled for a given
gengrid widget
@return @c EINA_TRUE, if multi-selection is enabled, @c
EINA_FALSE otherwise
@return @c true, if multi-selection is enabled, @c
false otherwise
@see elm_gengrid_multi_select_set() for more details
@ingroup Gengrid */
}
values {
multi: bool; /*@ @c EINA_TRUE, to enable multi-selection,
@c EINA_FALSE to disable it. */
multi: bool; /*@ @c true, to enable multi-selection,
@c false to disable it. */
}
}
@property group_item_size {
@ -210,7 +210,7 @@ class Elm.Gengrid (Elm.Layout, Elm_Interface_Scrollable,
Get whether a given gengrid widget is or not able have items
@b reordered
@return @c EINA_TRUE, if reordering is on, @c EINA_FALSE if it's
@return @c true, if reordering is on, @c false if it's
off
@see elm_gengrid_reorder_mode_set() for more details
@ -218,8 +218,8 @@ class Elm.Gengrid (Elm.Layout, Elm_Interface_Scrollable,
@ingroup Gengrid */
}
values {
reorder_mode: bool; /*@ Use @c EINA_TRUE to turn reordering on,
@c EINA_FALSE to turn it off */
reorder_mode: bool; /*@ Use @c true to turn reordering on,
@c false to turn it off */
}
}
@property highlight_mode {
@ -304,14 +304,14 @@ class Elm.Gengrid (Elm.Layout, Elm_Interface_Scrollable,
Set the direction in which a given gengrid widget will expand while
placing its items.
When in "horizontal mode" (@c EINA_TRUE), items will be placed in @b columns,
When in "horizontal mode" (@c true), items will be placed in @b columns,
from top to bottom and, when the space for a column is filled, another one is
started on the right, thus expanding the grid horizontally. When in
"vertical mode" (@c EINA_FALSE), though, items will be placed in @b rows,
"vertical mode" (@c false), though, items will be placed in @b rows,
from left to right and, when the space for a row is filled, another one is
started below, thus expanding the grid vertically.
@note By default, gengrid is in vertical mode, @c EINA_FALSE.
@note By default, gengrid is in vertical mode, @c false.
@see elm_gengrid_horizontal_get()
@ -322,16 +322,16 @@ class Elm.Gengrid (Elm.Layout, Elm_Interface_Scrollable,
Get for what direction a given gengrid widget will expand while
placing its items.
@return @c EINA_TRUE, if @p obj is set to expand horizontally,
@c EINA_FALSE if it's set to expand vertically.
@return @c true, if @p obj is set to expand horizontally,
@c false if it's set to expand vertically.
@see elm_gengrid_horizontal_set() for more details
@ingroup Gengrid */
}
values {
horizontal: bool; /*@ @c EINA_TRUE to make the gengrid expand horizontally,
@c EINA_FALSE to expand vertically. */
horizontal: bool; /*@ @c true to make the gengrid expand horizontally,
@c false to expand vertically. */
}
}
@property page_size {
@ -450,7 +450,7 @@ class Elm.Gengrid (Elm.Layout, Elm_Interface_Scrollable,
/*@
Get a value whether mouse wheel is enabled or not.
@return @c EINA_TRUE means gengrid wheel is disabled. @c EINA_FALSE indicates
@return @c true means gengrid wheel is disabled. @c false indicates
it is enabled.
Mouse wheel can be used for the user to scroll up and down the gengrid.
@ -460,7 +460,7 @@ class Elm.Gengrid (Elm.Layout, Elm_Interface_Scrollable,
@ingroup Gengrid */
}
values {
disabled: bool; /*@ Use @c EINA_TRUE to disable mouse wheel or @c EINA_FALSE
disabled: bool; /*@ Use @c true to disable mouse wheel or @c false
to enable it. */
}
}

View File

@ -68,7 +68,7 @@ class Elm.Gengrid_Item(Elm.Widget_Item)
/*@
Get whether a given gengrid item is selected or not
This API returns EINA_TRUE for all the items selected in multi-select mode as well.
This API returns true for all the items selected in multi-select mode as well.
@see elm_gengrid_item_selected_set() for more details
@ -81,7 +81,7 @@ class Elm.Gengrid_Item(Elm.Widget_Item)
This sets the selected state of an item. If multi-selection is
not enabled on the containing gengrid and @p selected is @c
EINA_TRUE, any other previously selected items will get
true, any other previously selected items will get
unselected in favor of this new one.
@see elm_gengrid_item_selected_get()
@ -90,7 +90,7 @@ class Elm.Gengrid_Item(Elm.Widget_Item)
*/
}
values {
selected: bool; /*@ the selected state (@c EINA_TRUE selected, @c EINA_FALSE not selected) */
selected: bool; /*@ the selected state (@c true selected, @c false not selected) */
}
}
@property item_class {

View File

@ -31,7 +31,7 @@ class Elm.Genlist (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interfac
Get whether the homogeneous mode is enabled.
@return Assume the items within the genlist are of the same height
and width (EINA_TRUE = on, EINA_FALSE = off)
and width (true = on, false = off)
@see elm_genlist_homogeneous_set()
@ -39,8 +39,8 @@ class Elm.Genlist (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interfac
}
values {
homogeneous: bool; /*@ Assume the items within the genlist are of the
same height and width (EINA_TRUE = on, EINA_FALSE = off). Default is @c
EINA_FALSE. */
same height and width (true = on, false = off). Default is @c
false. */
}
}
@property select_mode {
@ -94,13 +94,13 @@ class Elm.Genlist (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interfac
Get whether focus upon item's selection mode is enabled.
@return The tree effect status
(EINA_TRUE = enabled, EINA_FALSE = disabled)
(true = enabled, false = disabled)
@ingroup Genlist */
}
values {
enabled: bool; /*@ The tree effect status
(EINA_TRUE = enabled, EINA_FALSE = disabled) */
(true = enabled, false = disabled) */
}
}
@property longpress_timeout {
@ -139,7 +139,7 @@ class Elm.Genlist (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interfac
/*@
Enable or disable multi-selection in the genlist
This enables (@c EINA_TRUE) or disables (@c EINA_FALSE) multi-selection in
This enables (@c true) or disables (@c false) multi-selection in
the list. This allows more than 1 item to be selected. To retrieve the list
of selected items, use elm_genlist_selected_items_get().
@ -153,7 +153,7 @@ class Elm.Genlist (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interfac
Get if multi-selection in genlist is enabled or disabled.
@return Multi-select enabled/disabled
(@c EINA_TRUE = enabled/@c EINA_FALSE = disabled). Default is @c EINA_FALSE.
(@c true = enabled/@c false = disabled). Default is @c false.
@see elm_genlist_multi_select_set()
@ -179,13 +179,13 @@ class Elm.Genlist (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interfac
Get the reorder mode
@return The reorder mode
(EINA_TRUE = on, EINA_FALSE = off)
(true = on, false = off)
@ingroup Genlist */
}
values {
reorder_mode: bool; /*@ The reorder mode
(EINA_TRUE = on, EINA_FALSE = off) */
(true = on, false = off) */
}
}
@property decorate_mode {
@ -202,13 +202,13 @@ class Elm.Genlist (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interfac
Get Genlist decorate mode
@return The decorate mode status
(EINA_TRUE = decorate mode, EINA_FALSE = normal mode
(true = decorate mode, false = normal mode
@ingroup Genlist */
}
values {
decorated: bool; /*@ The decorate mode status
(EINA_TRUE = decorate mode, EINA_FALSE = normal mode */
(true = decorate mode, false = normal mode */
}
}
@property multi_select_mode {
@ -293,13 +293,13 @@ class Elm.Genlist (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interfac
Get Genlist tree effect
@return The tree effect status
(EINA_TRUE = enabled, EINA_FALSE = disabled
(true = enabled, false = disabled
@ingroup Genlist */
}
values {
enabled: bool; /*@ The tree effect status
(EINA_TRUE = enabled, EINA_FALSE = disabled */
(true = enabled, false = disabled */
}
}
@property highlight_mode {
@ -320,15 +320,15 @@ class Elm.Genlist (Elm.Layout, Elm_Interface_Scrollable, Evas.Clickable_Interfac
/*@
Get whether the genlist items' should be highlighted when item selected.
@return @c EINA_TRUE means items can be highlighted. @c EINA_FALSE indicates
they can't. If @p obj is @c NULL, @c EINA_FALSE is returned.
@return @c true means items can be highlighted. @c false indicates
they can't. If @p obj is @c NULL, @c false is returned.
@see elm_genlist_highlight_mode_set() for details.
@ingroup Genlist */
}
values {
highlight: bool; /*@ @c EINA_TRUE to enable highlighting or @c EINA_FALSE to
highlight: bool; /*@ @c true to enable highlighting or @c false to
disable it. */
}
}

View File

@ -111,7 +111,7 @@ class Elm.Genlist_Item(Elm.Widget_Item)
/*@
Get whether a given genlist item is selected or not
@return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
@return @c true, if it's selected, @c false otherwise
@see elm_genlist_item_selected_set() for more details
@ -122,11 +122,11 @@ class Elm.Genlist_Item(Elm.Widget_Item)
/*@
Set whether a given genlist item is selected or not
Use @c EINA_TRUE, to make it selected, @c EINA_FALSE to make it unselected
Use @c true, to make it selected, @c false to make it unselected
This sets the selected state of an item. If multi selection is
not enabled on the containing genlist and @p selected is @c
EINA_TRUE, any other previously selected items will get
true, any other previously selected items will get
unselected in favor of this new one.
@see elm_genlist_item_selected_get()
@ -135,7 +135,7 @@ class Elm.Genlist_Item(Elm.Widget_Item)
*/
}
values {
selected: bool; /*@ the selected state (@c EINA_TRUE selected, @c EINA_FALSE not selected) */
selected: bool; /*@ the selected state (@c true selected, @c false not selected) */
}
}
@property expanded {
@ -171,7 +171,7 @@ class Elm.Genlist_Item(Elm.Widget_Item)
*/
}
values {
expanded: bool; /*@ The expanded state (@c EINA_TRUE expanded, @c EINA_FALSE not expanded). */
expanded: bool; /*@ The expanded state (@c true expanded, @c false not expanded). */
}
}
@property expanded_depth {
@ -238,7 +238,7 @@ class Elm.Genlist_Item(Elm.Widget_Item)
Get the flip state of a given genlist item.
This function returns the flip state of a given genlist item.
If the parameter is invalid, it returns @c EINA_FALSE.
If the parameter is invalid, it returns @c false.
@see elm_genlist_item_flip_set()
@ -249,7 +249,7 @@ class Elm.Genlist_Item(Elm.Widget_Item)
/*@
Set the flip state of a given genlist item.
(@c EINA_TRUE = on, @c EINA_FALSE = off)
(@c true = on, @c false = off)
This function sets the flip state of a given genlist item.
Flip mode overrides current item object.

View File

@ -126,7 +126,7 @@ class Elm.Gesture_Layer (Elm.Widget)
chooses. This will be object @a obj will listen all mouse and key
events from, to report the gestures made upon it back.
@return @c EINA_TRUE, on success, @c EINA_FALSE otherwise.
@return @c true, on success, @c false otherwise.
@ingroup Elm_Gesture_Layer
*/

View File

@ -21,13 +21,13 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
@return Editability.
A return value of EINA_TRUE means the image is a valid drag target
A return value of true means the image is a valid drag target
for drag and drop, and can be cut or pasted too.
@ingroup Image */
}
values {
set: bool; /*@ Turn on or off editability. Default is @c EINA_FALSE. */
set: bool; /*@ Turn on or off editability. Default is @c false. */
}
}
@property resize_down {
@ -97,15 +97,15 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
/*@
Get the smooth effect for an image.
@return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
@return @c true if smooth scaling is enabled, @c false otherwise.
@see elm_image_smooth_set()
@ingroup Image */
}
values {
smooth: bool; /*@ @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
otherwise. Default is @c EINA_TRUE. */
smooth: bool; /*@ @c true if smooth scaling should be used, @c false
otherwise. Default is @c true. */
}
}
@property no_scale {
@ -128,15 +128,15 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
/*@
Get whether scaling is disabled on the object.
@return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
@return @c true if scaling is disabled, @c false otherwise
@see elm_image_no_scale_set()
@ingroup Image */
}
values {
no_scale: bool; /*@ @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
otherwise. Default is @c EINA_FALSE. */
no_scale: bool; /*@ @c true if the object is not scalable, @c false
otherwise. Default is @c false. */
}
}
@property scale {
@ -218,14 +218,14 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
/*@
Get if the object retains the original aspect ratio.
@return @c EINA_TRUE if the object keeps the original aspect, @c EINA_FALSE
@return @c true if the object keeps the original aspect, @c false
otherwise.
@ingroup Image */
}
values {
fixed: bool; /*@ @c EINA_TRUE if the image should retain the aspect,
@c EINA_FALSE otherwise. */
fixed: bool; /*@ @c true if the image should retain the aspect,
@c false otherwise. */
}
}
@property orient {
@ -264,11 +264,11 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
When the image should keep its aspect ratio even if resized to another
aspect ratio, there are two possibilities to resize it: keep the entire
image inside the limits of height and width of the object (@p fill_outside
is @c EINA_FALSE) or let the extra width or height go outside of the object,
and the image will fill the entire object (@p fill_outside is @c EINA_TRUE).
is @c false) or let the extra width or height go outside of the object,
and the image will fill the entire object (@p fill_outside is @c true).
@note This option will have no effect if
elm_image_aspect_fixed_set() is set to @c EINA_FALSE.
elm_image_aspect_fixed_set() is set to @c false.
@see elm_image_fill_inside_get()
@see elm_image_fill_inside_set()
@ -281,7 +281,7 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
/*@
Get if the object is filled outside
@return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
@return @c true if the object is filled outside, @c false otherwise.
@see elm_image_fill_inside_get()
@see elm_image_fill_inside_set()
@ -290,8 +290,8 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
@ingroup Image */
}
values {
fill_outside: bool; /*@ @c EINA_TRUE if the object is filled outside,
@c EINA_FALSE otherwise. Default is @c EINA_FALSE. */
fill_outside: bool; /*@ @c true if the object is filled outside,
@c false otherwise. Default is @c false. */
}
}
@property resizable {
@ -300,7 +300,7 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
Set if the object is (up/down) resizable.
This function limits the image resize ability. If @p size_up is set to
@c EINA_FALSE, the object can't have its height or width resized to a value
@c false, the object can't have its height or width resized to a value
higher than the original image size. Same is valid for @p size_down.
@see elm_image_resizable_get()
@ -317,9 +317,9 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
}
values {
up: bool; /*@ A bool to set if the object is resizable up. Default is
@c EINA_TRUE. */
@c true. */
down: bool; /*@ A bool to set if the object is resizable down. Default
is @c EINA_TRUE. */
is @c true. */
}
}
@property preload_disabled {
@ -330,7 +330,7 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
@ingroup Image */
}
values {
disabled: bool; /*@ If EINA_TRUE, preloading will be disabled */
disabled: bool; /*@ If true, preloading will be disabled */
}
}
@property mmap {
@ -338,7 +338,7 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
/*@
Set the file that will be used as the image's source.
@return (@c EINA_TRUE = success, @c EINA_FALSE = error)
@return (@c true = success, @c false = error)
@see elm_image_file_set()
@ -377,7 +377,7 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image, Evas.Clickable_Interface,
"correct" loader first, before trying a range of other possible
loaders until one succeeds.
@return (@c EINA_TRUE = success, @c EINA_FALSE = error)
@return (@c true = success, @c false = error)
@since 1.7

View File

@ -15,14 +15,14 @@ class Elm.Index (Elm.Layout, Evas.Clickable_Interface, Evas.Selectable_Interface
/*@
Get whether auto hiding feature is enabled or not for a given index widget.
@return @c EINA_TRUE, if auto hiding is disabled, @c EINA_FALSE otherwise
@return @c true, if auto hiding is disabled, @c false otherwise
@see elm_index_autohide_disabled_set() for more details
@ingroup Index */
}
values {
disabled: bool; /*@ @c EINA_TRUE to disable auto hiding, @c EINA_FALSE to enable */
disabled: bool; /*@ @c true to disable auto hiding, @c false to enable */
}
}
@property omit_enabled {
@ -40,7 +40,7 @@ class Elm.Index (Elm.Layout, Evas.Clickable_Interface, Evas.Selectable_Interface
/*@
Get whether omit feature is enabled or not for a given index widget.
@return @c EINA_TRUE, if omit feature is enabled, @c EINA_FALSE otherwise
@return @c true, if omit feature is enabled, @c false otherwise
@see elm_index_omit_enabled_set()
@ -49,7 +49,7 @@ class Elm.Index (Elm.Layout, Evas.Clickable_Interface, Evas.Selectable_Interface
@ingroup Index */
}
values {
enabled: bool; /*@ @c EINA_TRUE to enable omit feature, @c EINA_FALSE to disable */
enabled: bool; /*@ @c true to enable omit feature, @c false to disable */
}
}
@property priority {
@ -99,16 +99,16 @@ class Elm.Index (Elm.Layout, Evas.Clickable_Interface, Evas.Selectable_Interface
/*@
Get a value whether horizontal mode is enabled or not.
@return @c EINA_TRUE means horizontal mode selection is enabled.
@c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
@c EINA_FALSE is returned.
@return @c true means horizontal mode selection is enabled.
@c false indicates it's disabled. If @p obj is @c NULL,
@c false is returned.
@see elm_index_horizontal_set() for details.
@ingroup Index */
}
values {
horizontal: bool; /*@ @c EINA_TRUE to enable horizontal or @c EINA_FALSE to
horizontal: bool; /*@ @c true to enable horizontal or @c false to
disable it, i.e., to enable vertical mode. it's an area one @ref Fingers
"finger" wide on the bottom side of the index widget's container. */
}
@ -153,14 +153,14 @@ class Elm.Index (Elm.Layout, Evas.Clickable_Interface, Evas.Selectable_Interface
/*@
Get the value of indicator's disabled status.
@return EINA_TRUE if the indicator is disabled.
@return true if the indicator is disabled.
@see elm_index_indicator_disabled_set()
@ingroup Index */
}
values {
disabled: bool; /*@ @c EINA_TRUE to disable it, @c EINA_FALSE to enable it */
disabled: bool; /*@ @c true to disable it, @c false to enable it */
}
}
@property item_level {

View File

@ -53,7 +53,7 @@ interface Elm_Interface_Atspi_Text ()
/*@ Gets offset position of caret (cursor) */
}
set {
return: bool; /*@ EINA_TRUE if caret was successfully moved,
return: bool; /*@ true if caret was successfully moved,
EINA_FASLE otherwise. */
}
values {

View File

@ -8,8 +8,8 @@ interface Elm_Interface_Atspi_Value ()
/*@ Gets value displayed by a accessible widget. */
}
set {
return: bool; /*@ EINA_TRUE if setting widgets value has
successed, EINA_FALSE otherwise. */
return: bool; /*@ true if setting widgets value has
successed, false otherwise. */
}
values {
value: double; /*@ Value of widget casted to floating point number. */

View File

@ -8,8 +8,8 @@ class Elm.Layout (Elm.Container, Efl.File)
/*@
Set accessibility to all texblock(text) parts in the layout object
@return @c EINA_TRUE on success or @c EINA_FALSE on failure. If @p obj is not
a proper layout object, @c EINA_FALSE is returned.
@return @c true on success or @c false on failure. If @p obj is not
a proper layout object, @c false is returned.
@since 1.7
@ -20,9 +20,9 @@ class Elm.Layout (Elm.Container, Efl.File)
/*@
Get accessibility state of texblock(text) parts in the layout object
@return @c EINA_TRUE, if all textblock(text) parts in the layout can be accessible
@return @c true, if all textblock(text) parts in the layout can be accessible
@c EINA_FALSET if those cannot be accessible. If @p obj is not a proper layout
object, @c EINA_FALSE is returned.
object, @c false is returned.
@see elm_layout_edje_object_access_set()
@ -32,7 +32,7 @@ class Elm.Layout (Elm.Container, Efl.File)
}
values {
can_access: bool; /*@ makes all textblock(text) parts in the layout @p obj possible
to have accessibility. @c EINA_TRUE means textblock(text) parts can be accessible */
to have accessibility. @c true means textblock(text) parts can be accessible */
}
}
@property theme {
@ -106,7 +106,7 @@ class Elm.Layout (Elm.Container, Efl.File)
/*@
Remove all children of the given part box.
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
The objects will be removed from the box part and their lifetime will
not be handled by the layout anymore. This is equivalent to
@ -120,7 +120,7 @@ class Elm.Layout (Elm.Container, Efl.File)
return: bool;
params {
@in part: const(char)*; /*@ The box part name to remove child. */
@in clear: bool; /*@ If EINA_TRUE, then all objects will be deleted as
@in clear: bool; /*@ If true, then all objects will be deleted as
well, otherwise they will just be removed and will be
dangling on the canvas. */
}
@ -134,7 +134,7 @@ class Elm.Layout (Elm.Container, Efl.File)
cursor with elm_layout_part_cursor_set(). By default it will only
look for cursors provided by the engine.
@return EINA_TRUE on success or EINA_FALSE on failure, that may be
@return true on success or false on failure, that may be
part not exists or it did not had a cursor set.
@ingroup Layout */
@ -142,8 +142,8 @@ class Elm.Layout (Elm.Container, Efl.File)
return: bool;
params {
@in part_name: const(char)*; /*@ a part from loaded edje group. */
@in engine_only: bool; /*@ if cursors should be just provided by the engine (EINA_TRUE)
or should also search on widget's theme as well (EINA_FALSE) */
@in engine_only: bool; /*@ if cursors should be just provided by the engine (true)
or should also search on widget's theme as well (false) */
}
}
part_cursor_engine_only_get @const {
@ -261,7 +261,7 @@ class Elm.Layout (Elm.Container, Efl.File)
/*@
Sets a specific cursor style for an edje part.
@return EINA_TRUE on success or EINA_FALSE on failure, that may be
@return true on success or false on failure, that may be
part not exists or it did not had a cursor set.
@ingroup Layout */
@ -289,7 +289,7 @@ class Elm.Layout (Elm.Container, Efl.File)
/*@
Set the text of the given part
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
@ingroup Layout */
@ -335,7 +335,7 @@ class Elm.Layout (Elm.Container, Efl.File)
/*@
Sets a specific cursor for an edje part.
@return EINA_TRUE on success or EINA_FALSE on failure, that may be
@return true on success or false on failure, that may be
part not exists or it has "mouse_events: 0".
@ingroup Layout */
@ -362,7 +362,7 @@ class Elm.Layout (Elm.Container, Efl.File)
/*@
Insert child to layout box part before a reference object.
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
Once the object is inserted, it will become child of the layout. Its
lifetime will be bound to the layout, whenever the layout dies the child
@ -387,7 +387,7 @@ class Elm.Layout (Elm.Container, Efl.File)
/*@
Insert child to layout box part at a given position.
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
Once the object is inserted, it will become child of the layout. Its
lifetime will be bound to the layout, whenever the layout dies the child
@ -447,7 +447,7 @@ class Elm.Layout (Elm.Container, Efl.File)
/*@
Append child to layout box part.
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
Once the object is appended, it will become child of the layout. Its
lifetime will be bound to the layout, whenever the layout dies the child
@ -509,7 +509,7 @@ class Elm.Layout (Elm.Container, Efl.File)
/*@
Prepend child to layout box part.
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
Once the object is prepended, it will become child of the layout. Its
lifetime will be bound to the layout, whenever the layout dies the child
@ -549,7 +549,7 @@ class Elm.Layout (Elm.Container, Efl.File)
/*@
Insert child to layout table part.
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
Once the object is inserted, it will become child of the table. Its
lifetime will be bound to the layout, and whenever the layout dies the
@ -587,7 +587,7 @@ class Elm.Layout (Elm.Container, Efl.File)
/*@
Unsets a cursor previously set with elm_layout_part_cursor_set().
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
@ingroup Layout */
@ -601,7 +601,7 @@ class Elm.Layout (Elm.Container, Efl.File)
/*@
Remove all the child objects of the given part table.
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
The objects will be removed from the table part and their lifetime will
not be handled by the layout anymore. This is equivalent to
@ -615,7 +615,7 @@ class Elm.Layout (Elm.Container, Efl.File)
return: bool;
params {
@in part: const(char)*; /*@ The table part name to remove child. */
@in clear: bool; /*@ If EINA_TRUE, then all objects will be deleted as
@in clear: bool; /*@ If true, then all objects will be deleted as
well, otherwise they will just be removed and will be
dangling on the canvas. */
}

View File

@ -62,16 +62,16 @@ class Elm.List (Elm.Layout, Elm_Interface_Scrollable,
/*@
Get a value whether horizontal mode is enabled or not.
@return @c EINA_TRUE means horizontal mode selection is enabled.
@c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
@c EINA_FALSE is returned.
@return @c true means horizontal mode selection is enabled.
@c false indicates it's disabled. If @p obj is @c NULL,
@c false is returned.
@see elm_list_horizontal_set() for details.
@ingroup List */
}
values {
horizontal: bool; /*@ @c EINA_TRUE to enable horizontal or @c EINA_FALSE to
horizontal: bool; /*@ @c true to enable horizontal or @c false to
disable it, i.e., to enable vertical mode. */
}
}
@ -126,13 +126,13 @@ class Elm.List (Elm.Layout, Elm_Interface_Scrollable,
Get whether focus upon item's selection mode is enabled.
@return The tree effect status
(EINA_TRUE = enabled, EINA_FALSE = disabled)
(true = enabled, false = disabled)
@ingroup List */
}
values {
enabled: bool; /*@ The tree effect status
(EINA_TRUE = enabled, EINA_FALSE = disabled) */
(true = enabled, false = disabled) */
}
}
@property multi_select {
@ -156,14 +156,14 @@ class Elm.List (Elm.Layout, Elm_Interface_Scrollable,
@see elm_list_multi_select_set() for details.
@return @c EINA_TRUE means multiple items selection is enabled.
@c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
@c EINA_FALSE is returned.
@return @c true means multiple items selection is enabled.
@c false indicates it's disabled. If @p obj is @c NULL,
@c false is returned.
@ingroup List */
}
values {
multi: bool; /*@ @c EINA_TRUE to enable multi selection or @c EINA_FALSE to
multi: bool; /*@ @c true to enable multi selection or @c false to
disable it. */
}
}
@ -483,7 +483,7 @@ class Elm.List (Elm.Layout, Elm_Interface_Scrollable,
li = elm_list_add(win);
ic = elm_icon_add(win);
elm_image_file_set(ic, "path/to/image", NULL);
elm_icon_resizable_set(ic, EINA_TRUE, EINA_TRUE);
elm_icon_resizable_set(ic, true, true);
elm_list_item_append(li, "label", ic, NULL, NULL, NULL);
elm_list_go(li);
evas_object_show(li);

View File

@ -49,7 +49,7 @@ class Elm.Map (Elm.Widget, Elm_Interface_Scrollable,
/*@
Pause or unpause the map.
This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
This sets the paused state to on (@c true) or off (@c false)
for map.
The default is off.
@ -65,7 +65,7 @@ class Elm.Map (Elm.Widget, Elm_Interface_Scrollable,
/*@
Get a value whether map is paused or not.
@return @c EINA_TRUE means map is pause. @c EINA_FALSE indicates
@return @c true means map is pause. @c false indicates
it is not.
This gets the current paused state for the map object.
@ -75,7 +75,7 @@ class Elm.Map (Elm.Widget, Elm_Interface_Scrollable,
@ingroup Map */
}
values {
paused: bool; /*@ Use @c EINA_TRUE to pause the map @p obj or @c EINA_FALSE
paused: bool; /*@ Use @c true to pause the map @p obj or @c false
to unpause it. */
}
}
@ -96,7 +96,7 @@ class Elm.Map (Elm.Widget, Elm_Interface_Scrollable,
/*@
Get a value whether mouse wheel is enabled or not.
@return @c EINA_TRUE means map is disabled. @c EINA_FALSE indicates
@return @c true means map is disabled. @c false indicates
it is enabled.
Mouse wheel can be used for the user to zoom in or zoom out the map.
@ -106,7 +106,7 @@ class Elm.Map (Elm.Widget, Elm_Interface_Scrollable,
@ingroup Map */
}
values {
disabled: bool; /*@ Use @c EINA_TRUE to disable mouse wheel or @c EINA_FALSE
disabled: bool; /*@ Use @c true to disable mouse wheel or @c false
to enable it. */
}
}

View File

@ -15,14 +15,14 @@ class Elm.Multibuttonentry (Elm.Layout)
/*@
Get whether the multibuttonentry is editable or not.
@return @c EINA_TRUE if the multibuttonentry is editable by the user. @c EINA_FALSE if not.
@return @c true if the multibuttonentry is editable by the user. @c false if not.
@ingroup Multibuttonentry
@since 1.7 */
}
values {
editable: bool; /*@ If @c EINA_TRUE, user can add/delete item in multibuttonentry, if not, the multibuttonentry is non-editable. */
editable: bool; /*@ If @c true, user can add/delete item in multibuttonentry, if not, the multibuttonentry is non-editable. */
}
}
@property expanded {
@ -40,14 +40,14 @@ class Elm.Multibuttonentry (Elm.Layout)
In expanded state, the complete entry will be displayed.
Otherwise, only single line of the entry will be displayed.
@return @c EINA_TRUE if the widget is in expanded state. @c EINA_FALSE if not.
@return @c true if the widget is in expanded state. @c false if not.
@ingroup Multibuttonentry */
}
values {
expanded: bool; /*@ the value of expanded state.
Set this to @c EINA_TRUE for expanded state.
Set this to EINA_FALSE for single line state. */
Set this to @c true for expanded state.
Set this to false for single line state. */
}
}
@property format_function {

View File

@ -7,7 +7,7 @@ class Elm.Naviframe (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
/*@
@brief Set the event enabled when pushing/popping items
If @p enabled is @c EINA_TRUE, the contents of the naviframe item will
If @p enabled is @c true, the contents of the naviframe item will
receives events from mouse and keyboard during view changing such as
item push/pop.
@ -23,14 +23,14 @@ class Elm.Naviframe (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
/*@
@brief Get the value of event enabled status.
@return @c EINA_TRUE, when event is enabled
@return @c true, when event is enabled
@see elm_naviframe_event_enabled_set()
@ingroup Naviframe */
}
values {
enabled: bool; /*@ Events are received when enabled is @c EINA_TRUE, and
enabled: bool; /*@ Events are received when enabled is @c true, and
ignored otherwise. */
}
}
@ -47,14 +47,14 @@ class Elm.Naviframe (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
/*@
@brief Get a value whether preserve mode is enabled or not.
@return If @c EINA_TRUE, preserve mode is enabled
@return If @c true, preserve mode is enabled
@see also elm_naviframe_content_preserve_on_pop_set()
@ingroup Naviframe */
}
values {
preserve: bool; /*@ Enable the preserve mode if @c EINA_TRUE, disable otherwise */
preserve: bool; /*@ Enable the preserve mode if @c true, disable otherwise */
}
}
@property prev_btn_auto_pushed {
@ -71,7 +71,7 @@ class Elm.Naviframe (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
@brief Get a value whether prev button(back button) will be auto pushed or
not.
@return If @c EINA_TRUE, prev button will be auto pushed.
@return If @c true, prev button will be auto pushed.
@see also elm_naviframe_item_push()
elm_naviframe_prev_btn_auto_pushed_set()
@ -79,7 +79,7 @@ class Elm.Naviframe (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
@ingroup Naviframe */
}
values {
auto_pushed: bool; /*@ If @c EINA_TRUE, the previous button(back button) will
auto_pushed: bool; /*@ If @c true, the previous button(back button) will
be created internally when you pass the @c NULL to the prev_btn
parameter in elm_naviframe_item_push */
}

View File

@ -61,20 +61,20 @@ class Elm.Popup (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
@ingroup Popup
@see elm_popup_allow_events_get()
@note The default value is EINA_FALSE. */
@note The default value is false. */
}
get {
/*@
@brief Returns value indicating whether allow event is enabled or not
@return @c EINA_FALSE if Blocked event area is present else @c EINA_TRUE
@return @c false if Blocked event area is present else @c true
@ingroup Popup
@see elm_popup_allow_events_set()
@note By default the Blocked event area is present */
}
values {
allow: bool; /*@ @c EINA_TRUE Events are passed to lower objects, else not */
allow: bool; /*@ @c true Events are passed to lower objects, else not */
}
}
@property content_text_wrap_type {

View File

@ -7,7 +7,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
/*@
Set user data for a given prefs widget
@return @c EINA_TRUE, on success, @c EINA_FALSE otherwise
@return @c true, on success, @c false otherwise
Once a prefs widget is created, after elm_prefs_file_set() is
issued on it, all of its UI elements will get default values, when
@ -58,7 +58,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
the user data file, if set) automatically on every UI element
changes.
If @a autosave is @c EINA_TRUE, every call to
If @a autosave is @c true, every call to
elm_prefs_item_value_set(), every
Elm_Prefs_Data_Event_Type.ELM_PREFS_DATA_EVENT_ITEM_CHANGED event
coming for its prefs data and every UI element direct value
@ -76,15 +76,15 @@ class Elm.Prefs (Elm.Widget, Efl.File)
Get whether a given prefs widget is saving its values back
automatically on changes.
@return @c EINA_TRUE if @a prefs is saving automatically,
@c EINA_FALSE otherwise.
@return @c true if @a prefs is saving automatically,
@c false otherwise.
@see elm_prefs_autosave_set(), for more details
@since 1.8 */
}
values {
autosave: bool; /*@ @c EINA_TRUE to save automatically, @c EINA_FALSE
autosave: bool; /*@ @c true to save automatically, @c false
otherwise. */
}
}
@ -108,7 +108,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
/*@
Set the value on a given prefs widget's item.
@return @c EINA_TRUE, on success, @c EINA_FALSE otherwise
@return @c true, on success, @c false otherwise
This will change the value of item named @a name programatically.
@ -129,7 +129,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
/*@
Get the value of a given prefs widget's item.
@return @c EINA_TRUE, on success, @c EINA_FALSE otherwise
@return @c true, on success, @c false otherwise
This will retrieve the value of item named @a name.
@ -180,7 +180,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
params {
@in name: const(char)*; /*@ The name of the item (as declared in the prefs
collection) to act on */
@in disabled: bool; /*@ @c EINA_TRUE, to make it disabled, @c EINA_FALSE
@in disabled: bool; /*@ @c true, to make it disabled, @c false
otherwise */
}
}
@ -189,7 +189,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
Get whether the widget bound to a given prefs widget's item is
disabled or not.
@return @c EINA_TRUE, if it is disabled, @c EINA_FALSE
@return @c true, if it is disabled, @c false
otherwise
@see elm_prefs_item_disabled_set()
@ -205,7 +205,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
/*@
"Swallows" an object into a SWALLOW item of a prefs widget.
@return @c EINA_TRUE, on success, @c EINA_FALSE otherwise
@return @c true, on success, @c false otherwise
@see elm_prefs_item_swallow() for more details
@ -234,7 +234,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
params {
@in name: const(char)*; /*@ The name of the item (as declared in the prefs
collection) to act on */
@in editable: bool; /*@ @c EINA_TRUE, to make it editable, @c EINA_FALSE
@in editable: bool; /*@ @c true, to make it editable, @c false
otherwise */
}
}
@ -243,7 +243,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
Get whether the widget bound to a given prefs widget's item is
editable or not.
@return @c EINA_TRUE, if it is editable, @c EINA_FALSE
@return @c true, if it is editable, @c false
otherwise
@see elm_prefs_item_editable_set() for more details
@ -287,7 +287,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
params {
@in name: const(char)*; /*@ The name of the item (as declared in the prefs
collection) to change visibility of */
@in visible: bool; /*@ @c EINA_TRUE, to make it visible, @c EINA_FALSE
@in visible: bool; /*@ @c true, to make it visible, @c false
otherwise */
}
}
@ -296,7 +296,7 @@ class Elm.Prefs (Elm.Widget, Efl.File)
Get whether the widget bound to a given prefs widget's item is
visible or not.
@return @c EINA_TRUE, if it is visible, @c EINA_FALSE
@return @c true, if it is visible, @c false
otherwise
@see elm_prefs_item_visible_set() for more details

View File

@ -65,14 +65,14 @@ class Elm.Progressbar (Elm.Layout)
Get whether a given progress bar widget is at "pulsing mode" or
not.
@return @c EINA_TRUE, if @p obj is in pulsing mode, @c EINA_FALSE
@return @c true, if @p obj is in pulsing mode, @c false
if it's in the default one (and on errors)
@ingroup Progressbar */
}
values {
pulse: bool; /*@ @c EINA_TRUE to put @p obj in pulsing mode,
@c EINA_FALSE to put it back to its default one */
pulse: bool; /*@ @c true to put @p obj in pulsing mode,
@c false to put it back to its default one */
}
}
@property value {
@ -125,16 +125,16 @@ class Elm.Progressbar (Elm.Layout)
Get whether a given progress bar widget's displaying values are
inverted or not
@return @c EINA_TRUE, if @p obj has inverted values,
@c EINA_FALSE otherwise (and on errors)
@return @c true, if @p obj has inverted values,
@c false otherwise (and on errors)
@see elm_progressbar_inverted_set() for more details
@ingroup Progressbar */
}
values {
inverted: bool; /*@ Use @c EINA_TRUE to make @p obj inverted,
@c EINA_FALSE to bring it back to default, non-inverted values. */
inverted: bool; /*@ Use @c true to make @p obj inverted,
@c false to bring it back to default, non-inverted values. */
}
}
@property horizontal {
@ -153,16 +153,16 @@ class Elm.Progressbar (Elm.Layout)
/*@
Get the orientation of a given progress bar widget
@return @c EINA_TRUE, if @p obj is set to be @b horizontal,
@c EINA_FALSE if it's @b vertical (and on errors)
@return @c true, if @p obj is set to be @b horizontal,
@c false if it's @b vertical (and on errors)
@see elm_progressbar_horizontal_set() for more details
@ingroup Progressbar */
}
values {
horizontal: bool; /*@ Use @c EINA_TRUE to make @p obj to be
@b horizontal, @c EINA_FALSE to make it @b vertical */
horizontal: bool; /*@ Use @c true to make @p obj to be
@b horizontal, @c false to make it @b vertical */
}
}
@property unit_format {
@ -266,8 +266,8 @@ class Elm.Progressbar (Elm.Layout)
@ingroup Progressbar */
params {
@in state: bool; /*@ @c EINA_TRUE, to @b start the pulsing animation,
@c EINA_FALSE to @b stop it */
@in state: bool; /*@ @c true, to @b start the pulsing animation,
@c false to @b stop it */
}
}
}

View File

@ -144,7 +144,7 @@ class Elm.Segment_Control (Elm.Layout)
sc = elm_segment_control_add(win);
ic = elm_icon_add(win);
elm_image_file_set(ic, "path/to/image", NULL);
elm_icon_resizable_set(ic, EINA_TRUE, EINA_TRUE);
elm_icon_resizable_set(ic, true, true);
elm_segment_control_item_add(sc, ic, "label");
evas_object_show(sc);
@endcode

View File

@ -21,16 +21,16 @@ class Elm.Slider (Elm.Layout, Elm_Interface_Atspi_Value,
/*@
Get the orientation of a given slider widget
@return @c EINA_TRUE, if @p obj is set to be @b horizontal,
@c EINA_FALSE if it's @b vertical (and on errors).
@return @c true, if @p obj is set to be @b horizontal,
@c false if it's @b vertical (and on errors).
@see elm_slider_horizontal_set() for more details.
@ingroup Slider */
}
values {
horizontal: bool; /*@ Use @c EINA_TRUE to make @p obj to be
@b horizontal, @c EINA_FALSE to make it @b vertical. */
horizontal: bool; /*@ Use @c true to make @p obj to be
@b horizontal, @c false to make it @b vertical. */
}
}
@property value {
@ -128,16 +128,16 @@ class Elm.Slider (Elm.Layout, Elm_Interface_Atspi_Value,
Get whether a given slider widget's displaying values are
inverted or not.
@return @c EINA_TRUE, if @p obj has inverted values,
@c EINA_FALSE otherwise (and on errors).
@return @c true, if @p obj has inverted values,
@c false otherwise (and on errors).
@see elm_slider_inverted_set() for more details.
@ingroup Slider */
}
values {
inverted: bool; /*@ Use @c EINA_TRUE to make @p obj inverted,
@c EINA_FALSE to bring it back to default, non-inverted values. */
inverted: bool; /*@ Use @c true to make @p obj inverted,
@c false to bring it back to default, non-inverted values. */
}
}
@property indicator_show {
@ -156,15 +156,15 @@ class Elm.Slider (Elm.Layout, Elm_Interface_Atspi_Value,
/*@
Get whether a given slider widget's enlarging indicator or not.
@return @c EINA_TRUE, if @p obj is enlarging indicator, or
@c EINA_FALSE otherwise (and on errors).
@return @c true, if @p obj is enlarging indicator, or
@c false otherwise (and on errors).
@see elm_slider_indicator_show_set() for details.
@ingroup Slider */
}
values {
show: bool; /*@ @c EINA_TRUE will make it enlarge, @c EINA_FALSE will
show: bool; /*@ @c true will make it enlarge, @c false will
let the knob always at default size. */
}
}
@ -255,13 +255,13 @@ class Elm.Slider (Elm.Layout, Elm_Interface_Atspi_Value,
/*@
Get whether the indicator of the slider is set or not
@return @c EINA_TRUE, if indicator is set
@c EINA_FALSE otherwise.
@return @c true, if indicator is set
@c false otherwise.
@ingroup Slider */
}
values {
flag: bool; /*@ @ EINA_TRUE sets the indicator visible */
flag: bool; /*@ @ true sets the indicator visible */
}
}
@property span_size {

View File

@ -135,16 +135,16 @@ class Elm.Slideshow (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
Get if, after a slideshow is started, for a given slideshow
widget, its items are to be displayed cyclically or not.
@return @c EINA_TRUE, if the items in @p obj will be cycled
through or @c EINA_FALSE, otherwise
@return @c true, if the items in @p obj will be cycled
through or @c false, otherwise
@see elm_slideshow_loop_set() for more details
@ingroup Slideshow */
}
values {
loop: bool; /*@ Use @c EINA_TRUE to make it cycle through items or
@c EINA_FALSE for it to stop at the end of @p obj's internal
loop: bool; /*@ Use @c true to make it cycle through items or
@c false for it to stop at the end of @p obj's internal
list of items */
}
}

View File

@ -107,15 +107,15 @@ class Elm.Spinner (Elm.Layout, Elm_Interface_Atspi_Value, Elm_Interface_Atspi_Wi
Get whether the spinner should wrap when it reaches its
minimum or maximum value.
@return @c EINA_TRUE means wrap is enabled. @c EINA_FALSE indicates
it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
@return @c true means wrap is enabled. @c false indicates
it's disabled. If @p obj is @c NULL, @c false is returned.
@see elm_spinner_wrap_set() for details.
@ingroup Spinner */
}
values {
wrap: bool; /*@ @c EINA_TRUE to enable wrap or @c EINA_FALSE to
wrap: bool; /*@ @c true to enable wrap or @c false to
disable it. */
}
}
@ -210,15 +210,15 @@ class Elm.Spinner (Elm.Layout, Elm_Interface_Atspi_Value, Elm_Interface_Atspi_Wi
/*@
Get whether the spinner can be directly edited by the user or not.
@return @c EINA_TRUE means edition is enabled. @c EINA_FALSE indicates
it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
@return @c true means edition is enabled. @c false indicates
it's disabled. If @p obj is @c NULL, @c false is returned.
@see elm_spinner_editable_set() for details.
@ingroup Spinner */
}
values {
editable: bool; /*@ @c EINA_TRUE to allow users to edit it or @c EINA_FALSE to
editable: bool; /*@ @c true to allow users to edit it or @c false to
don't allow users to edit it directly. */
}
}

View File

@ -15,13 +15,13 @@ class Elm.Table (Elm.Widget)
@brief Get the current table homogeneous mode.
@return A boolean to indicating if the layout is homogeneous in the table
(EINA_TRUE = homogeneous, EINA_FALSE = no homogeneous)
(true = homogeneous, false = no homogeneous)
@ingroup Table */
}
values {
homogeneous: bool; /*@ A boolean to set if the layout is homogeneous in the
table (EINA_TRUE = homogeneous, EINA_FALSE = no homogeneous) */
table (true = homogeneous, false = no homogeneous) */
}
}
@property padding {

View File

@ -44,7 +44,7 @@ class Elm.Toolbar (Elm.Widget, Elm_Interface_Scrollable,
Get whether the homogeneous mode is enabled.
@return Assume the items within the toolbar are of the same height
and width (EINA_TRUE = on, EINA_FALSE = off).
and width (true = on, false = off).
@see elm_toolbar_homogeneous_set()
@ -52,7 +52,7 @@ class Elm.Toolbar (Elm.Widget, Elm_Interface_Scrollable,
}
values {
homogeneous: bool; /*@ Assume the items within the toolbar are of the
same size (EINA_TRUE = on, EINA_FALSE = off). Default is @c EINA_FALSE. */
same size (true = on, false = off). Default is @c false. */
}
}
@property align {
@ -155,12 +155,12 @@ class Elm.Toolbar (Elm.Widget, Elm_Interface_Scrollable,
get {
/*@
Get a toolbar's orientation
@return If @c EINA_TRUE, the toolbar is horizontal
@return If @c true, the toolbar is horizontal
By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
@ingroup Toolbar */
}
values {
horizontal: bool; /*@ If @c EINA_TRUE, the toolbar is horizontal */
horizontal: bool; /*@ If @c true, the toolbar is horizontal */
}
}
@property icon_order_lookup {

View File

@ -81,8 +81,8 @@ class Elm.Toolbar_Item(Elm.Widget_Item)
/*@
Get whether the @p item is selected or not.
@return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
@return @c true means item is selected. @c false indicates
it's not. If @p obj is @c NULL, @c false is returned.
@see elm_toolbar_selected_item_set() for details.
@see elm_toolbar_item_selected_get()
@ -95,7 +95,7 @@ class Elm.Toolbar_Item(Elm.Widget_Item)
Set the selected state of an item.
This sets the selected state of the given item @p it.
@c EINA_TRUE for selected, @c EINA_FALSE for not selected.
@c true for selected, @c false for not selected.
If a new item is selected the previously selected will be unselected.
Previously selected item can be get with function
@ -180,8 +180,8 @@ class Elm.Toolbar_Item(Elm.Widget_Item)
/*@
Get a value whether item is a separator or not.
@return @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
indicates it's not. If @p it is @c NULL, @c EINA_FALSE is returned.
@return @c true means item @p it is a separator. @c false
indicates it's not. If @p it is @c NULL, @c false is returned.
@see elm_toolbar_item_separator_set() for details.
@ -192,8 +192,8 @@ class Elm.Toolbar_Item(Elm.Widget_Item)
/*@
Set or unset item as a separator.
@param separator @c EINA_TRUE to set item @p item as separator or
@c EINA_FALSE to unset, i.e., item will be used as a regular item.
@param separator @c true to set item @p item as separator or
@c false to unset, i.e., item will be used as a regular item.
Items aren't set as separator by default.
@ -245,7 +245,7 @@ class Elm.Toolbar_Item(Elm.Widget_Item)
Set @p state as the current state of @p it.
@param state The state to use.
@return @c EINA_TRUE on success or @c EINA_FALSE on failure.
@return @c true on success or @c false on failure.
If @p state is @c NULL, it won't select any state and the default item's
icon and label will be used. It's the same behaviour than
@ -282,7 +282,7 @@ class Elm.Toolbar_Item(Elm.Widget_Item)
@in format: const (char) *; /*@ Optional format of @p img to pass to the image loader */
@in key: const (char) *; /*@ Optional key of @p img to pass to the image loader (eg. if @p img is an edje file) */
}
return: bool; /*@ (@c EINA_TRUE = success, @c EINA_FALSE = error) */
return: bool; /*@ (@c true = success, @c false = error) */
}
icon_file_set {
/*@
@ -297,7 +297,7 @@ class Elm.Toolbar_Item(Elm.Widget_Item)
@in file: const (char) *; /*@ The file that contains the image */
@in key: const (char) *; /*@ Optional key of @p img to pass to the image loader (eg. if @p img is an edje file) */
}
return: bool; /*@ (@c EINA_TRUE = success, @c EINA_FALSE = error) */
return: bool; /*@ (@c true = success, @c false = error) */
}
state_add {
/*@
@ -333,7 +333,7 @@ class Elm.Toolbar_Item(Elm.Widget_Item)
params {
@in state: Elm_Toolbar_Item_State *; /*@ The state to be deleted. */
}
return: bool; /*@ @c EINA_TRUE on success or @c EINA_FALSE on failure. */
return: bool; /*@ @c true on success or @c false on failure. */
}
state_next {
/*@
@ -406,7 +406,7 @@ class Elm.Toolbar_Item(Elm.Widget_Item)
@code
tb = elm_toolbar_add(win)
item = elm_toolbar_item_append(tb, "refresh", "Menu", NULL, NULL);
elm_toolbar_item_menu_set(item, EINA_TRUE);
elm_toolbar_item_menu_set(item, true);
elm_toolbar_menu_parent_set(tb, win);
menu = elm_toolbar_item_menu_get(item);
elm_menu_item_add(menu, NULL, "edit-cut", "Cut", NULL, NULL);
@ -419,7 +419,7 @@ class Elm.Toolbar_Item(Elm.Widget_Item)
@ingroup Toolbar
*/
params {
@in menu: bool; /*@ If @c EINA_TRUE, @p item will opens a menu when selected. */
@in menu: bool; /*@ If @c true, @p item will opens a menu when selected. */
}
}
}

View File

@ -10,7 +10,7 @@ class Elm.Web (Elm.Widget)
If enabled, marks set with elm_web_text_matches_mark() will be
highlighted.
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
@ingroup Web */
return: bool;
@ -19,7 +19,7 @@ class Elm.Web (Elm.Widget)
/*@
Get whether highlighting marks is enabled
@return @c EINA_TRUE is marks are set to be highlighted, @c EINA_FALSE
@return @c true is marks are set to be highlighted, @c false
otherwise
@ingroup Web */
@ -55,7 +55,7 @@ class Elm.Web (Elm.Widget)
It must be a full URL, with resource included, in the form
http://www.enlightenment.org or file:///tmp/something.html
@return @c EINA_TRUE if the URL could be set, @c EINA_FALSE if an error occurred.
@return @c true if the URL could be set, @c false if an error occurred.
@ingroup Web */
return: bool;
@ -117,12 +117,12 @@ class Elm.Web (Elm.Widget)
/*@
Get whether Inwin mode is set for the current object
@return @c EINA_TRUE if Inwin mode is set, @c EINA_FALSE otherwise
@return @c true if Inwin mode is set, @c false otherwise
@ingroup Web */
}
values {
value: bool; /*@ @c EINA_TRUE to use Inwin, @c EINA_FALSE to use a normal window */
value: bool; /*@ @c true to use Inwin, @c false to use a normal window */
}
}
@property tab_propagate {
@ -142,7 +142,7 @@ class Elm.Web (Elm.Widget)
/*@
Get the status of the tab propagation
@return @c EINA_TRUE if tab propagation is enabled, @c EINA_FALSE otherwise
@return @c true if tab propagation is enabled, @c false otherwise
@see elm_web_tab_propagate_set()
@ -163,7 +163,7 @@ class Elm.Web (Elm.Widget)
/*@
Get whether browsing history is enabled for the given object
@return @c EINA_TRUE if history is enabled, @c EINA_FALSE otherwise
@return @c true if history is enabled, @c false otherwise
@ingroup Web */
}
@ -360,7 +360,7 @@ class Elm.Web (Elm.Widget)
/*@
Queries whether it's possible to go forward in history
@return @c EINA_TRUE if it's possible to forward in history, @c EINA_FALSE
@return @c true if it's possible to forward in history, @c false
otherwise
@ingroup Web */
@ -392,7 +392,7 @@ class Elm.Web (Elm.Widget)
/*@
Queries whether it's possible to go back in history
@return @c EINA_TRUE if it's possible to back in history, @c EINA_FALSE
@return @c true if it's possible to back in history, @c false
otherwise
@ingroup Web */
@ -451,7 +451,7 @@ class Elm.Web (Elm.Widget)
The @p steps value can be a negative integer to back in history, or a
positive to move forward.
@return @c EINA_TRUE on success, @c EINA_FALSE on error or if not enough
@return @c true on success, @c false on error or if not enough
history exists to jump the given number of steps
@see elm_web_history_enabled_set()
@ -471,7 +471,7 @@ class Elm.Web (Elm.Widget)
This is equivalent to calling elm_web_object_navigate(obj, -1);
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
@see elm_web_history_enabled_set()
@see elm_web_back_possible()
@ -486,7 +486,7 @@ class Elm.Web (Elm.Widget)
/*@
Loads the specified @a html string as the content of the web object
@return @c EINA_TRUE if it the HTML was successfully loaded, @c EINA_FALSE otherwise
@return @c true if it the HTML was successfully loaded, @c false otherwise
External objects such as stylesheets or images referenced in the HTML
document are located relative to @a base_url.
@ -509,7 +509,7 @@ class Elm.Web (Elm.Widget)
/*@
Searches the given string in a document.
@return @c EINA_TRUE if the given string was found, @c EINA_FALSE if not
@return @c true if the given string was found, @c false if not
or failure
@ingroup Web */
@ -530,7 +530,7 @@ class Elm.Web (Elm.Widget)
will later emit an "popup,willdelete" signal to notify the user that
any memory and objects related to this popup can be freed.
@return @c EINA_TRUE if the menu was successfully destroyed, or @c EINA_FALSE
@return @c true if the menu was successfully destroyed, or @c false
if there was no menu to destroy
@ingroup Web */
@ -556,7 +556,7 @@ class Elm.Web (Elm.Widget)
This is equivalent to calling elm_web_object_navigate(obj, 1);
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
@see elm_web_history_enabled_set()
@see elm_web_forward_possible_get()
@ -605,9 +605,9 @@ class Elm.Web (Elm.Widget)
Cancels the loading of the current page in the web object. This will
cause a "load,error" signal to be emitted, with the is_cancellation
flag set to @c EINA_TRUE.
flag set to @c true.
@return @c EINA_TRUE if the cancel was successful, @c EINA_FALSE otherwise
@return @c true if the cancel was successful, @c false otherwise
@ingroup Web */
@ -620,8 +620,8 @@ class Elm.Web (Elm.Widget)
The @p steps value can be a negative integer to back in history, or a
positive to move forward.
@return @c EINA_TRUE if enough history exists to perform the given jump,
@c EINA_FALSE otherwise
@return @c true if enough history exists to perform the given jump,
@c false otherwise
@ingroup Web */
@ -634,7 +634,7 @@ class Elm.Web (Elm.Widget)
/*@
Requests a reload of the current document, avoiding any existing caches
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
@ingroup Web */
@ -644,7 +644,7 @@ class Elm.Web (Elm.Widget)
/*@
Clears all marked matches in the document
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
@ingroup Web */
@ -654,7 +654,7 @@ class Elm.Web (Elm.Widget)
/*@
Requests a reload of the current document in the object
@return @c EINA_TRUE on success, @c EINA_FALSE otherwise
@return @c true on success, @c false otherwise
@ingroup Web */

View File

@ -554,7 +554,7 @@ abstract Elm.Widget (Evas.Object_Smart, Elm_Interface_Atspi_Accessible, Elm_Inte
}
on_focus {
/*@ 'Virtual' function handling focus in/out events on the widget.
return EINA_TRUE if this widget can handle focus, EINA_FALSE otherwise */
return true if this widget can handle focus, false otherwise */
return: bool;
}
on_focus_region {

View File

@ -21,10 +21,10 @@ class Elm.Widget_Item(Eo.Base, Elm_Interface_Atspi_Accessible,
This function allows a tooltip to expand beyond its parent window's canvas.
It will instead be limited only by the size of the display.
*/
return: bool; /*@ @c EINA_FALSE on failure, @c EINA_TRUE on success */
return: bool; /*@ @c false on failure, @c true on success */
}
values {
disable: bool; /*@ If @c EINA_TRUE, size restrictions are disabled */
disable: bool; /*@ If @c true, size restrictions are disabled */
}
}
@property tooltip_style {
@ -136,8 +136,8 @@ class Elm.Widget_Item(Eo.Base, Elm_Interface_Atspi_Accessible,
searched in its theme, also, or is only relying on the rendering
engine.
@return @c EINA_TRUE, if cursors are being looked for only on
those provided by the rendering engine, @c EINA_FALSE if they
@return @c true, if cursors are being looked for only on
those provided by the rendering engine, @c false if they
are being searched on the widget's theme, as well.
@see elm_object_item_cursor_engine_only_set(), for more details
@ -161,8 +161,8 @@ class Elm.Widget_Item(Eo.Base, Elm_Interface_Atspi_Accessible,
*/
}
values {
engine_only: bool; /*@ Use @c EINA_TRUE to have cursors looked for only
on those provided by the rendering engine, @c EINA_FALSE
engine_only: bool; /*@ Use @c true to have cursors looked for only
on those provided by the rendering engine, @c false
to have them searched on the widget's theme, as well. */
}
}
@ -315,7 +315,7 @@ class Elm.Widget_Item(Eo.Base, Elm_Interface_Atspi_Accessible,
*/
}
values {
disable: bool; /*@ @c EINA_TRUE, if the widget item is disabled, @c EINA_FALSE if it's enabled (or on errors) */
disable: bool; /*@ @c true, if the widget item is disabled, @c false if it's enabled (or on errors) */
}
}
access_order_get {
@ -570,7 +570,7 @@ class Elm.Widget_Item(Eo.Base, Elm_Interface_Atspi_Accessible,
params {
part: const (char) *; /*@ The part name of the translatable text */
domain: const (char) *; /*@ The translation domain to use */
translatable: bool; /*@ @c EINA_TRUE, the part text will be translated internally. @c EINA_FALSE, otherwise. */
translatable: bool; /*@ @c true, the part text will be translated internally. @c false, otherwise. */
}
}
track {

View File

@ -191,7 +191,7 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
When the @p autodel parameter is set, the window will be automatically
destroyed when this event occurs, after the signal is emitted.
If @p autodel is @c EINA_FALSE, then the window will not be destroyed
If @p autodel is @c false, then the window will not be destroyed
and is up to the program to do so when it's required.
@ingroup Win */
@ -240,7 +240,7 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
/*@
Set the override state of a window.
A window with @p override set to EINA_TRUE will not be managed by the
A window with @p override set to true will not be managed by the
Window Manager. This means that no decorations of any kind will be shown
for it, moving and resizing must be handled by the application, as well
as the window visibility.
@ -529,12 +529,12 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
Get the constraints on the maximum width and height of a window relative to the width and height of its screen
When this function returns true, @p obj will never resize larger than the screen.
@return EINA_TRUE to restrict the window's maximum size, EINA_FALSE to disable restriction
@return true to restrict the window's maximum size, false to disable restriction
@ingroup Win */
}
values {
constrain: bool; /*@ EINA_TRUE to restrict the window's maximum size, EINA_FALSE to disable restriction */
constrain: bool; /*@ true to restrict the window's maximum size, false to disable restriction */
}
}
@property available_profiles {
@ -553,7 +553,7 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
/*@
Get the array of available profiles of a window.
@return EINA_TRUE if available profiles exist, EINA_FALSE otherwise
@return true if available profiles exist, false otherwise
@ingroup Win
@since 1.8 */
@ -578,7 +578,7 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
/*@
Get the enabled value of the focus highlight for this window
@return EINA_TRUE if enabled, EINA_FALSE otherwise
@return true if enabled, false otherwise
@ingroup Win */
}
@ -614,7 +614,7 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
/*@
Set the alpha channel state of a window.
If @p alpha is EINA_TRUE, the alpha channel of the canvas will be enabled
If @p alpha is true, the alpha channel of the canvas will be enabled
possibly making parts of the window completely or partially transparent.
This is also subject to the underlying system supporting it, like for
example, running under a compositing manager. If no compositing is
@ -633,13 +633,13 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
/*@
Get the alpha channel state of a window.
@return EINA_TRUE if the window alpha channel is enabled, EINA_FALSE
@return true if the window alpha channel is enabled, false
otherwise
@ingroup Win */
}
values {
alpha: bool; /*@ EINA_TRUE if the window alpha channel is enabled, EINA_FALSE otherwise */
alpha: bool; /*@ true if the window alpha channel is enabled, false otherwise */
}
}
@property urgent {
@ -808,7 +808,7 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
/*@
Get the animate value of the focus highlight for this window
@return EINA_TRUE if animation is enabled, EINA_FALSE otherwise
@return true if animation is enabled, false otherwise
@ingroup Win */
}
@ -984,7 +984,7 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
Shaped windows, when supported, will render the parts of the window that
has no content, transparent.
If @p shaped is EINA_FALSE, then it is strongly advised to have some
If @p shaped is false, then it is strongly advised to have some
background object or cover the entire window in any other way, or the
parts of the canvas that have no data will show framebuffer artifacts.
@ -1048,7 +1048,7 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
This function is used to get the state of manual rotation done mode.
@return @c EINA_TRUE manual rotationn done mode, @c EINA_FALSE otherwise.
@return @c true manual rotationn done mode, @c false otherwise.
@see elm_win_wm_rotation_manual_rotation_done_set()
@see elm_win_wm_rotation_manual_rotation_done()
@ -1058,7 +1058,7 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
legacy: elm_win_wm_rotation_manual_rotation_done_get;
}
values {
set: bool; /*@ EINA_TRUE means to set manual rotation done mode EINA_FALSE otherwise. */
set: bool; /*@ true means to set manual rotation done mode false otherwise. */
}
}
@property indicator_mode {
@ -1182,7 +1182,7 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
@ingroup Win */
}
values {
skip: bool; /*@ The skip flag state (EINA_TRUE if it is to be skipped) */
skip: bool; /*@ The skip flag state (true if it is to be skipped) */
}
}
@property screen_position {
@ -1205,7 +1205,7 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
The window manager rotation allows the WM to controls the rotation of application windows.
It is designed to support synchronized rotation for the multiple application windows at same time.
@return @c EINA_TRUE if the window manager rotation is supported, @c EINA_FALSE otherwise.
@return @c true if the window manager rotation is supported, @c false otherwise.
@see elm_win_wm_rotation_supported_get()
@see elm_win_wm_rotation_preferred_rotation_set()
@ -1236,7 +1236,7 @@ class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
get {
/*@
Determine whether a window has focus
@return EINA_TRUE if the window exists and has focus, else EINA_FALSE
@return true if the window exists and has focus, else false
@ingroup Win */
return: bool;