forked from enlightenment/efl
eolian: fix eolian errors with EOLIAN_ENFORCE_SINCE=1
Summary: This is not the end of fixing eolian errors. I need to keep fixing more. Test Plan: 1. export EOLIAN_ENFORCE_SINCE=1 2. ninja Reviewers: q66, segfaultxavi, zmike, bu5hm4n, Jaehyun_Cho Reviewed By: segfaultxavi, Jaehyun_Cho Subscribers: Jaehyun_Cho, stefan_schmidt, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10370
This commit is contained in:
parent
1c9f5d4f63
commit
247331363a
|
@ -2,7 +2,10 @@ class Efl.Composite_Model extends Efl.Loop_Model implements Efl.Ui.View
|
|||
{
|
||||
[[Efl model for all composite class which provide a unified API to set source of data.
|
||||
|
||||
This class also provide an @Efl.Model.property "child.index" that match the value of @.index.]]
|
||||
This class also provide an @Efl.Model.property "child.index" that match the value of @.index.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property index {
|
||||
[[Position of this object in the parent model.
|
||||
|
|
|
@ -9,6 +9,8 @@ class Efl.Generic_Model extends Efl.Loop_Model
|
|||
|
||||
It does not model anything in particular and does not affect anything else
|
||||
in the system.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
implements {
|
||||
Efl.Object.constructor;
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
abstract Efl.Loop_Model extends Efl.Loop_Consumer implements Efl.Model
|
||||
{
|
||||
[[The Efl Loop Model class
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: null;
|
||||
methods {
|
||||
volatile_make {
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
type @extern GLshort: short; [[GLshort type]] /* FIXME: We should not expose this in the API but probably redefine it. */
|
||||
type @beta @extern GLshort: short; [[GLshort type]] /* FIXME: We should not expose this in the API but probably redefine it. */
|
||||
|
||||
|
|
|
@ -2,18 +2,18 @@ import eina_types;
|
|||
import efl_gfx_types;
|
||||
|
||||
const Efl.Gfx.Hint_Expand: double = 1.0;
|
||||
[[Use with @Efl.Gfx.Hint.hint_weight.]]
|
||||
[[Use with @Efl.Gfx.Hint.hint_weight. @since 1.23]]
|
||||
|
||||
const Efl.Gfx.Hint_Align_Left: double = 0.0;
|
||||
[[Use with @Efl.Gfx.Hint.hint_align.]]
|
||||
[[Use with @Efl.Gfx.Hint.hint_align. @since 1.23]]
|
||||
const Efl.Gfx.Hint_Align_Right: double = 1.0;
|
||||
[[Use with @Efl.Gfx.Hint.hint_align.]]
|
||||
[[Use with @Efl.Gfx.Hint.hint_align. @since 1.23]]
|
||||
const Efl.Gfx.Hint_Align_Top: double = 0.0;
|
||||
[[Use with @Efl.Gfx.Hint.hint_align.]]
|
||||
[[Use with @Efl.Gfx.Hint.hint_align. @since 1.23]]
|
||||
const Efl.Gfx.Hint_Align_Bottom: double = 1.0;
|
||||
[[Use with @Efl.Gfx.Hint.hint_align.]]
|
||||
[[Use with @Efl.Gfx.Hint.hint_align. @since 1.23]]
|
||||
const Efl.Gfx.Hint_Align_Center: double = 0.5;
|
||||
[[Use with @Efl.Gfx.Hint.hint_align.]]
|
||||
[[Use with @Efl.Gfx.Hint.hint_align. @since 1.23]]
|
||||
|
||||
interface Efl.Gfx.Hint
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@ import eina_types;
|
|||
|
||||
enum Efl.Gfx.Image_Content_Hint
|
||||
{
|
||||
[[How an image's data is to be treated by EFL, for optimization.]]
|
||||
[[How an image's data is to be treated by EFL, for optimization. @since 1.23]]
|
||||
none = 0, [[No hint on the content (default).]]
|
||||
dynamic = 1, [[The content will change over time.]]
|
||||
static = 2 [[The content won't change over time.]]
|
||||
|
@ -12,7 +12,7 @@ enum Efl.Gfx.Image_Content_Hint
|
|||
enum Efl.Gfx.Image_Scale_Hint
|
||||
{
|
||||
/* FIXME: Legacy is in Emile, where it does not belong. */
|
||||
[[How an image's data is to be treated by EFL, with regard to scaling cache.]]
|
||||
[[How an image's data is to be treated by EFL, with regard to scaling cache. @since 1.23]]
|
||||
none = 0, [[No hint on the scaling (default).]]
|
||||
dynamic = 1, [[Image will be re-scaled over time, thus turning scaling cache OFF for its data.]]
|
||||
static = 2 [[Image will not be re-scaled over time, thus turning scaling cache ON for its data.]]
|
||||
|
@ -20,7 +20,7 @@ enum Efl.Gfx.Image_Scale_Hint
|
|||
|
||||
enum Efl.Gfx.Image_Scale_Method
|
||||
{
|
||||
[[Enumeration that defines scaling methods to be used when rendering an image.]]
|
||||
[[Enumeration that defines scaling methods to be used when rendering an image. @since 1.23]]
|
||||
none, [[Use the image's natural size.]]
|
||||
fill, [[Scale the image so that it matches
|
||||
the object's area exactly.
|
||||
|
@ -50,9 +50,11 @@ enum Efl.Gfx.Image_Scale_Method
|
|||
struct Efl.Gfx.Image_Stretch_Region
|
||||
{
|
||||
[[This struct holds the description of a stretchable region in one dimension (vertical or horizontal).
|
||||
Used when scaling an image.
|
||||
Used when scaling an image.
|
||||
|
||||
$offset + $length should be smaller than image size in that dimension.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
offset: uint; [[First pixel of the stretchable region, starting at 0.]]
|
||||
length: uint; [[Length of the stretchable region in pixels.]]
|
||||
|
@ -65,6 +67,8 @@ interface Efl.Gfx.Image
|
|||
These APIs provide the ability to manipulate how images will be rendered,
|
||||
e.g., determining whether to allow upscaling and downscaling at render time,
|
||||
as well as functionality for detecting errors during the loading process.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
|
||||
methods {
|
||||
|
|
|
@ -15,7 +15,10 @@ enum @beta Efl.Gfx.Image_Load_Controller_State
|
|||
|
||||
interface Efl.Gfx.Image_Load_Controller
|
||||
{
|
||||
[[Common APIs for all loadable 2D images.]]
|
||||
[[Common APIs for all loadable 2D images.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
|
||||
methods {
|
||||
load_async_start {
|
||||
|
|
|
@ -13,6 +13,8 @@ enum Efl.Gfx.Image_Orientation
|
|||
Not to be confused with @Efl.Ui.Layout_Orientation which is meant for widgets, rather
|
||||
than images and canvases. This enum is used to rotate images, videos and
|
||||
the like.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
none = 0, [[Default, same as up, do not rotate.]]
|
||||
up = 0, [[Orient up, do not rotate.]]
|
||||
|
@ -33,6 +35,8 @@ interface Efl.Gfx.Image_Orientable
|
|||
|
||||
Compare with @Efl.Ui.Layout_Orientable which works for layout objects and does
|
||||
not include rotation.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
c_prefix: efl_gfx;
|
||||
methods {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const Efl.Gfx.Stack_Layer_Min: short = -32768; [[bottom-most layer number]]
|
||||
const Efl.Gfx.Stack_Layer_Max: short = 32767; [[top-most layer number]]
|
||||
const Efl.Gfx.Stack_Layer_Min: short = -32768; [[bottom-most layer number @since 1.23]]
|
||||
const Efl.Gfx.Stack_Layer_Max: short = 32767; [[top-most layer number @since 1.23]]
|
||||
|
||||
interface Efl.Gfx.Stack
|
||||
{
|
||||
|
|
|
@ -157,7 +157,7 @@ enum @beta Efl.Gfx.Vg_Composite_Method
|
|||
|
||||
enum Efl.Gfx.Center_Fill_Mode
|
||||
{
|
||||
[[How an image's center region (the complement to the border region) should be rendered by EFL]]
|
||||
[[How an image's center region (the complement to the border region) should be rendered by EFL @since 1.23]]
|
||||
none = 0, [[Image's center region is $not to be rendered]]
|
||||
default = 1, [[Image's center region is to be $blended with objects underneath it, if it has transparency. This is the default behavior for image objects]]
|
||||
solid = 2 [[Image's center region is to be made solid, even if it has transparency on it]]
|
||||
|
@ -175,7 +175,7 @@ enum Efl.Gfx.Change_Flag
|
|||
|
||||
struct Efl.Gfx.Event.Render_Post
|
||||
{
|
||||
[[Data sent along a "render,post" event, after a frame has been rendered.]]
|
||||
[[Data sent along a "render,post" event, after a frame has been rendered. @since 1.23]]
|
||||
updated_area: list<Eina.Rect>; [[A list of rectangles that were
|
||||
updated in the canvas.]]
|
||||
}
|
||||
|
|
|
@ -3,6 +3,8 @@ interface Efl.Pack_Layout
|
|||
[[Low-level APIs for objects that can lay their children out.
|
||||
|
||||
Used for containers like @Efl.Ui.Box and @Efl.Ui.Table.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
c_prefix: efl_pack;
|
||||
methods {
|
||||
|
|
|
@ -4,6 +4,8 @@ interface Efl.Pack_Linear extends Efl.Pack
|
|||
(sub-objects) which can be added and removed at runtime in a linear fashion.
|
||||
|
||||
This means the sub-objects are internally organized in an ordered list.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
c_prefix: efl_pack;
|
||||
methods {
|
||||
|
|
|
@ -4,6 +4,8 @@ interface Efl.Pack_Table extends Efl.Pack
|
|||
|
||||
Elements can be positioned on a specific row and column, or they can be simply added to
|
||||
the table using @Efl.Pack.pack and the container will chose where to put them.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
c_prefix: efl_pack;
|
||||
methods {
|
||||
|
|
|
@ -6,6 +6,8 @@ interface Efl.Ui.Autorepeat {
|
|||
event until the button is released. The time it takes until it starts
|
||||
emitting the event is given by @.autorepeat_initial_timeout, and the
|
||||
time between each new emission by @.autorepeat_gap_timeout.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property autorepeat_initial_timeout {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
struct Efl.Ui.Factory_Item_Created_Event {
|
||||
[[EFL UI Factory event structure provided when an item was just created.]]
|
||||
[[EFL UI Factory event structure provided when an item was just created. @since 1.23]]
|
||||
model: Efl.Model; [[The model already set on the new item.]]
|
||||
item: Efl.Gfx.Entity; [[The item that was just created.]]
|
||||
}
|
||||
|
@ -13,6 +13,8 @@ interface Efl.Ui.Factory extends Efl.Ui.Property_Bind, Efl.Ui.Factory_Bind
|
|||
Objects created this way should be removed using @.release.
|
||||
|
||||
It is recommended to not create your own @Efl.Ui.Factory and use event handler as much as possible.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
create @protected {
|
||||
|
|
|
@ -4,7 +4,10 @@ interface Efl.Ui.Factory_Bind
|
|||
view object can have @Efl.Model and need to set cotent with those model stored data.
|
||||
the interface can help binding the factory to create object with model property data.
|
||||
see @Efl.Model
|
||||
see @Efl.Ui.Factory]]
|
||||
see @Efl.Ui.Factory
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
factory_bind {
|
||||
[[bind the factory with the given key string. when the data is ready or changed,
|
||||
|
|
|
@ -13,6 +13,8 @@ enum Efl.Ui.Layout_Orientation
|
|||
not to rotate images.
|
||||
|
||||
See also @Efl.Ui.Layout_Orientable.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
default = 0, [[Default direction. Each widget may have a different default.]]
|
||||
horizontal = 1, [[Horizontal direction, along the X axis. Usually left-to-right,
|
||||
|
@ -32,6 +34,8 @@ interface Efl.Ui.Layout_Orientable
|
|||
boxes, which can arrange their elements in a horizontal or vertical fashion.
|
||||
|
||||
Compare with @Efl.Gfx.Image_Orientable that works for images and includes rotation.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
c_prefix: efl_ui_layout;
|
||||
methods {
|
||||
|
|
|
@ -5,6 +5,8 @@ interface Efl.Ui.Range_Display
|
|||
A value range contains a value restricted between specified minimum and maximum
|
||||
limits at all times.
|
||||
This can be used for progressbars, sliders or spinners, for example.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
c_prefix: efl_ui_range;
|
||||
methods {
|
||||
|
|
|
@ -3,6 +3,8 @@ interface Efl.Ui.Range_Interactive extends Efl.Ui.Range_Display
|
|||
[[Interface that extends the normal displaying properties with usage properties.
|
||||
|
||||
The properties defined here are used to manipulate the way a user interacts with a displayed range.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
c_prefix: efl_ui_range;
|
||||
methods {
|
||||
|
|
|
@ -3,7 +3,10 @@ import efl_ui_layout_orientable;
|
|||
|
||||
interface Efl.Ui.Scrollable
|
||||
{
|
||||
[[Efl UI scrollable interface]]
|
||||
[[Efl UI scrollable interface
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
event_c_prefix: efl_ui;
|
||||
methods {
|
||||
@property content_pos {
|
||||
|
|
|
@ -2,7 +2,7 @@ import efl_ui_layout_orientable;
|
|||
|
||||
enum Efl.Ui.Scrollbar_Mode
|
||||
{
|
||||
[[When should the scrollbar be shown.]]
|
||||
[[When should the scrollbar be shown. @since 1.23]]
|
||||
auto = 0, [[Visible if necessary.]]
|
||||
on, [[Always visible.]]
|
||||
off, [[Always invisible.]]
|
||||
|
@ -16,6 +16,8 @@ interface Efl.Ui.Scrollbar
|
|||
A scrollbar contains a draggable part (thumb) which allows the user to move the viewport
|
||||
around the content. The size of the thumb relates to the size of the viewport compared to
|
||||
the whole content.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property bar_mode {
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
struct Efl.Model_Changed_Event {
|
||||
[[Every time the model is changed on the object.]]
|
||||
[[Every time the model is changed on the object. @since 1.23]]
|
||||
current: Efl.Model; [[The newly set model.]]
|
||||
previous: Efl.Model; [[The previously set model.]]
|
||||
}
|
||||
|
||||
interface Efl.Ui.View
|
||||
{
|
||||
[[Efl UI view interface]]
|
||||
[[Efl UI view interface.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property model {
|
||||
[[Model that is/will be ]]
|
||||
|
|
|
@ -223,7 +223,7 @@ struct @beta Efl.Access.Event.Children_Changed.Data
|
|||
child: Efl.Object; [[Child object]]
|
||||
}
|
||||
|
||||
struct @free(efl_access_attribute_free) Efl.Access.Attribute
|
||||
struct @beta @free(efl_access_attribute_free) Efl.Access.Attribute
|
||||
{
|
||||
[[Accessibility Attribute]]
|
||||
key: string; [[Attribute key]]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
enum Efl.Ui.Alert_Popup_Button {
|
||||
[[Defines the type of the alert button.]]
|
||||
[[Defines the type of the alert button. @since 1.23]]
|
||||
positive = 0, [[Button having positive meaning. E.g. "Yes".]]
|
||||
negative, [[Button having negative meaning. E.g. "No".]]
|
||||
user [[Button having user-defined meaning. E.g. "More information".]]
|
||||
}
|
||||
|
||||
struct Efl.Ui.Alert_Popup_Button_Clicked_Event {
|
||||
[[Information for @[Efl.Ui.Alert_Popup.button,clicked] event.]]
|
||||
[[Information for @[Efl.Ui.Alert_Popup.button,clicked] event. @since 1.23]]
|
||||
button_type: Efl.Ui.Alert_Popup_Button; [[Clicked button type.]]
|
||||
}
|
||||
|
||||
|
@ -18,6 +18,8 @@ class Efl.Ui.Alert_Popup extends Efl.Ui.Popup
|
|||
An Alert_Popup is a popup which can be used when an application requires user interaction. It provides
|
||||
functionality for easily creating button objects on the popup and passing information about
|
||||
which button has been pressed to the button event callback.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property button {
|
||||
|
|
|
@ -3,9 +3,11 @@ class Efl.Ui.Bg extends Efl.Ui.Layout_Base
|
|||
composites Efl.Gfx.Image, Efl.Gfx.Image_Load_Controller
|
||||
{
|
||||
[[The bg (background) widget is used for setting (solid) background decorations
|
||||
for a window (unless it has transparency enabled) or for any container object. It
|
||||
works just like an image, but has some properties useful for backgrounds, such as
|
||||
setting it to tiled, centered, scaled or stretched.
|
||||
for a window (unless it has transparency enabled) or for any container object. It
|
||||
works just like an image, but has some properties useful for backgrounds, such as
|
||||
setting it to tiled, centered, scaled or stretched.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
implements {
|
||||
Efl.Object.constructor;
|
||||
|
|
|
@ -22,6 +22,8 @@ class Efl.Ui.Box extends Efl.Ui.Widget implements Efl.Pack_Linear, Efl.Pack_Layo
|
|||
|
||||
Precise layout can be further customized through the @Efl.Gfx.Arrangement interface on
|
||||
the Box itself, or through the @Efl.Gfx.Hint interface on each of the children widgets.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property homogeneous {
|
||||
|
|
|
@ -7,6 +7,8 @@ class Efl.Ui.Box_Flow extends Efl.Ui.Box
|
|||
This is useful if an application wants to e.g., present a group of items and wrap them onto
|
||||
subsequent lines when the number of items grows too large to fit on the screen.
|
||||
Adding or removing items in the middle re-arrange the rest of the items as expected.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
implements {
|
||||
Efl.Pack_Layout.layout_update;
|
||||
|
|
|
@ -6,6 +6,8 @@ class Efl.Ui.Box_Stack extends Efl.Ui.Box
|
|||
only the last item added through the @Efl.Pack interface will actually be visible.
|
||||
|
||||
This can be useful to display transparent objects on top of each other, for example.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: null;
|
||||
implements {
|
||||
|
|
|
@ -10,6 +10,8 @@ class Efl.Ui.Button extends Efl.Ui.Layout_Base implements Efl.Input.Clickable, E
|
|||
The icon can be set using @Efl.Content.content, the text can be set using @Efl.Text.text.
|
||||
|
||||
The events of @Efl.Input.Clickable can be used to listen to a click event from the user.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
implements {
|
||||
class.constructor;
|
||||
|
|
|
@ -4,12 +4,14 @@ class Efl.Ui.Check extends Efl.Ui.Layout_Base
|
|||
{
|
||||
[[Check widget.
|
||||
|
||||
The check widget allows for toggling a value between $true and $false.
|
||||
Check objects are a lot like @Efl.Ui.Radio objects in layout and functionality,
|
||||
except they do not work as a group, but independently, and only toggle
|
||||
the value of a boolean between $false and $true. The boolean value of the check can be retrieved using the
|
||||
@Efl.Ui.Selectable.selected property.
|
||||
Changes to @Efl.Ui.Selectable.selected can be listed to using the @[Efl.Ui.Selectable.selected,changed] event.
|
||||
The check widget allows for toggling a value between $true and $false.
|
||||
Check objects are a lot like @Efl.Ui.Radio objects in layout and functionality,
|
||||
except they do not work as a group, but independently, and only toggle
|
||||
the value of a boolean between $false and $true. The boolean value of the check can be retrieved using the
|
||||
@Efl.Ui.Selectable.selected property.
|
||||
Changes to @Efl.Ui.Selectable.selected can be listed to using the @[Efl.Ui.Selectable.selected,changed] event.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
}
|
||||
|
|
|
@ -25,6 +25,8 @@ class Efl.Ui.Collection extends Efl.Ui.Layout_Base implements
|
|||
|
||||
Items inside this widget can be selected according to the @Efl.Ui.Multi_Selectable.select_mode
|
||||
policy, and the selection can be retrieved with @Efl.Ui.Multi_Selectable.selected_iterator_new.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
item_scroll {
|
||||
|
|
|
@ -23,6 +23,8 @@ class Efl.Ui.Collection_View extends Efl.Ui.Layout_Base implements
|
|||
|
||||
Items inside this widget can be selected according to the @Efl.Ui.Multi_Selectable_Async.select_mode
|
||||
policy, and the selection can be retrieved with @Efl.Ui.Multi_Selectable_Async.selected_iterator_new.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property factory {
|
||||
|
|
|
@ -5,6 +5,8 @@ class Efl.Ui.Datepicker extends Efl.Ui.Layout_Base
|
|||
This is a widget which allows the user to pick a date using internal spinner.
|
||||
User can use the internal spinner to select year, month, day or user can input
|
||||
value using internal entry.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property date_min {
|
||||
|
|
|
@ -11,6 +11,8 @@ abstract Efl.Ui.Default_Item extends Efl.Ui.Item implements
|
|||
@Efl.Ui.List_Default_Item and @Efl.Ui.Grid_Default_Item which should normally be used.
|
||||
Text-related changes are mirrored to the $text part for convenience.
|
||||
Content-related changes are mirrored to the $icon part.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: null;
|
||||
parts {
|
||||
|
|
|
@ -4,6 +4,8 @@ function Efl.Ui.Format_Func
|
|||
{
|
||||
[[A function taking an @Eina.Value and producing its textual representation.
|
||||
See @Efl.Ui.Format.format_func.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
params {
|
||||
@in str: strbuf; [[Output formatted string. Its contents will be overwritten by this method.]]
|
||||
|
@ -16,6 +18,8 @@ struct Efl.Ui.Format_Value
|
|||
{
|
||||
[[A value which should always be displayed as a specific text string.
|
||||
See @Efl.Ui.Format.format_values.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
value: int; [[Input value.]]
|
||||
text: string; [[Text string to replace it.]]
|
||||
|
@ -23,7 +27,7 @@ struct Efl.Ui.Format_Value
|
|||
|
||||
enum Efl.Ui.Format_String_Type
|
||||
{
|
||||
[[Type of formatting string.]]
|
||||
[[Type of formatting string. @since 1.23]]
|
||||
simple, [[This is the simplest formatting mechanism, working pretty much like $printf.
|
||||
Accepted formats are $s, $f, $F, $d, $u, $i, $o, $x and $X.
|
||||
For example, "%1.2f meters", "%.0%%" or "%d items".
|
||||
|
@ -52,6 +56,8 @@ mixin Efl.Ui.Format requires Efl.Object
|
|||
|
||||
Widgets including this mixin offer their users different properties to control how
|
||||
@Eina.Value's are converted to text.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property format_func {
|
||||
|
|
|
@ -13,6 +13,8 @@ class Efl.Ui.Grid extends Efl.Ui.Collection
|
|||
@Efl.Ui.Grid supports grouping by using @Efl.Ui.Group_Item objects.
|
||||
Group headers are displayed at the top of the viewport if items belonging to the group
|
||||
are visible in the viewport.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: null;
|
||||
implements {
|
||||
|
|
|
@ -4,6 +4,8 @@ class Efl.Ui.Grid_Default_Item extends Efl.Ui.Default_Item
|
|||
The $icon part is in the middle, the $extra part overlaps it on its upper-right corner.
|
||||
The $text part is centered below the $icon.
|
||||
Theming can change this arrangement.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: null;
|
||||
implements {
|
||||
|
|
|
@ -27,6 +27,8 @@ class Efl.Ui.Image extends Efl.Ui.Widget implements Efl.Input.Clickable, Efl.Ui.
|
|||
|
||||
When loading images from a file, the @Efl.File.key property can be used to access different
|
||||
streams. For example, when accessing Evas image caches.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
event_c_prefix: efl_ui_image;
|
||||
methods {
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
/* TODO: Define these structs in EO, or they are useless to bindings */
|
||||
struct @extern Elm.Photocam.Error; [[Photocam error information.]]
|
||||
struct @extern Elm.Photocam.Progress; [[Photocam progress information.]]
|
||||
struct @extern Elm.Photocam.Error; [[Photocam error information. @since 1.23]]
|
||||
struct @extern Elm.Photocam.Progress; [[Photocam progress information. @since 1.23]]
|
||||
|
||||
class Efl.Ui.Image_Zoomable extends Efl.Ui.Image implements Efl.Ui.Zoom
|
||||
composites Efl.Ui.Scrollable, Efl.Ui.Scrollbar
|
||||
{
|
||||
[[Elementary Image Zoomable class]]
|
||||
[[Elementary Image Zoomable class
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property gesture_enabled {
|
||||
[[The gesture state for photocam.
|
||||
|
|
|
@ -20,6 +20,8 @@ abstract Efl.Ui.Item extends Efl.Ui.Layout_Base implements Efl.Ui.Selectable, Ef
|
|||
@[Efl.Ui.Selectable.selected,changed] (false) -> "efl,state,unselected".
|
||||
|
||||
Item grouping inside containers is handled through the @Efl.Ui.Group_Item class.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property index {
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
class Efl.Ui.Layout_Part extends Efl.Ui.Widget_Part
|
||||
{
|
||||
[[Elementary layout internal part class]]
|
||||
[[Elementary layout internal part class
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: null;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
class Efl.Ui.Layout_Part_Bg extends Efl.Ui.Widget_Part_Bg
|
||||
{
|
||||
[[Elementary layout internal part background class]]
|
||||
[[Elementary layout internal part background class
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: null;
|
||||
implements {
|
||||
Efl.Object.finalize;
|
||||
|
|
|
@ -5,6 +5,8 @@ class Efl.Ui.Layout_Part_Box extends Efl.Object implements Efl.Pack_Linear,
|
|||
|
||||
Cannot be deleted. This is only a representation of an internal object
|
||||
of an EFL layout.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: Efl_Ui_Layout_Box_Data;
|
||||
methods {
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
class Efl.Ui.Layout_Part_Content extends Efl.Ui.Layout_Part implements Efl.Content
|
||||
{
|
||||
[[Elementary layout internal part class]]
|
||||
[[Elementary layout internal part class
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: null;
|
||||
implements {
|
||||
Efl.Content.content { get; set; }
|
||||
|
|
|
@ -4,6 +4,8 @@ class Efl.Ui.Layout_Part_Table extends Efl.Object implements Efl.Pack_Table
|
|||
|
||||
Cannot be deleted. This is only a representation of an internal object
|
||||
of an EFL layout.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: Efl_Ui_Layout_Table_Data;
|
||||
methods {
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
class Efl.Ui.Layout_Part_Text extends Efl.Ui.Layout_Part implements Efl.Text, Efl.Text_Markup,
|
||||
Efl.Ui.L10n
|
||||
{
|
||||
[[Elementary layout internal part class]]
|
||||
[[Elementary layout internal part class
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: null;
|
||||
implements {
|
||||
Efl.Text.text { set; get; }
|
||||
|
|
|
@ -13,6 +13,8 @@ class Efl.Ui.List extends Efl.Ui.Collection
|
|||
@Efl.Ui.List supports grouping by using @Efl.Ui.Group_Item objects.
|
||||
Group headers are displayed at the top or left side of the viewport if items belonging to the group
|
||||
are visible in the viewport.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: null;
|
||||
implements {
|
||||
|
|
|
@ -4,6 +4,8 @@ class Efl.Ui.List_Default_Item extends Efl.Ui.Default_Item
|
|||
[[Default Item class to be used inside @Efl.Ui.List containers.
|
||||
It displays the three parts in horizontal order: $icon, $text and $extra.
|
||||
Theming can change this arrangement.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: null;
|
||||
implements {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
parse efl_gfx_hint;
|
||||
enum Efl.Ui.Popup_Align {
|
||||
[[This is the alignment method for positioning Popup widgets.]]
|
||||
[[This is the alignment method for positioning Popup widgets. @since 1.23]]
|
||||
none = 0, [[Popup not aligned.]]
|
||||
center, [[Popup is aligned to the center of its anchor object.]]
|
||||
left, [[Popup's left edge is aligned to the left side of its anchor object.]]
|
||||
|
@ -39,6 +39,8 @@ class Efl.Ui.Popup extends Efl.Ui.Layout_Base implements Efl.Content, Efl.Ui.Foc
|
|||
property.
|
||||
|
||||
For a Popup with a more specialized purpose, see @Efl.Ui.Alert_Popup.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property align {
|
||||
|
|
|
@ -11,6 +11,8 @@ class Efl.Ui.Popup_Part_Backwall extends Efl.Ui.Layout_Part implements Efl.File
|
|||
|
||||
To set an image to be used as a background for the Popup, the @Efl.File API can
|
||||
be used directly on the backwall object.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: null;
|
||||
methods {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import efl_ui;
|
||||
|
||||
struct Efl.Ui.Position_Manager.Range_Update {
|
||||
struct @beta Efl.Ui.Position_Manager.Range_Update {
|
||||
[[A structure containing the updated range of visible items in this position manger.]]
|
||||
start_id : uint; [[The first item that is visible]]
|
||||
end_id : uint; [[The last item that is visible]]
|
||||
|
|
|
@ -11,6 +11,8 @@ class Efl.Ui.Radio extends Efl.Ui.Check implements Efl.Access.Widget.Action
|
|||
|
||||
To handle button grouping, you can either use an @Efl.Ui.Radio_Group_Impl object or
|
||||
use more convenient widgets like @Efl.Ui.Radio_Box.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property state_value {
|
||||
|
|
|
@ -3,6 +3,8 @@ interface Efl.Ui.Radio_Group extends Efl.Ui.Single_Selectable
|
|||
[[Interface for manually handling a group of @Efl.Ui.Radio buttons.
|
||||
|
||||
See the documentation of @Efl.Ui.Radio for an explanation of radio button grouping.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property selected_value {
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
class Efl.Ui.Radio_Group_Impl extends Efl.Object implements Efl.Ui.Radio_Group
|
||||
{
|
||||
[[Object with the default implementation for @Efl.Ui.Radio_Group.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
implements {
|
||||
class.constructor;
|
||||
|
|
|
@ -17,6 +17,8 @@ class Efl.Ui.Scroller extends Efl.Ui.Layout_Base implements
|
|||
The @Efl.Ui.Scroller is a helper class that provides scrolling capabilities for widgets
|
||||
which don't have them. In the above example, simply putting the @Efl.Ui.Box inside a
|
||||
@Efl.Ui.Scroller (using @Efl.Content.content.set) would give it the ability to scroll.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
implements {
|
||||
Efl.Object.constructor;
|
||||
|
|
|
@ -3,6 +3,8 @@ interface Efl.Ui.Selectable {
|
|||
|
||||
An object implementing this interface can be selected.
|
||||
When the selected property of this object changes, the @[Efl.Ui.Selectable.selected,changed] event is emitted.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
event_c_prefix: efl_ui;
|
||||
methods {
|
||||
|
|
|
@ -3,6 +3,8 @@ interface Efl.Ui.Single_Selectable {
|
|||
|
||||
The implementor is free to allow a specific number of selectables being selected or not.
|
||||
This interface just covers always the latest selected selectable.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
c_prefix: efl_ui_selectable;
|
||||
methods {
|
||||
|
|
|
@ -9,6 +9,8 @@ class Efl.Ui.Slider extends Efl.Ui.Layout_Base implements Efl.Ui.Range_Interacti
|
|||
changes are also available in that interface.
|
||||
The visual representation of min and max can be swapped using @Efl.Ui.Layout_Orientable.orientation.
|
||||
Normally the minimum of @Efl.Ui.Range_Display.range_limits is shown on the left side, the max on the right side.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
implements {
|
||||
Efl.Object.constructor;
|
||||
|
|
|
@ -5,6 +5,8 @@ Efl.Ui.Format, Efl.Access.Value, Efl.Access.Widget.Action
|
|||
|
||||
This is a widget which allows the user to increase or decrease a numeric value
|
||||
using arrow buttons. It's a basic type of widget for choosing and displaying values.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
implements {
|
||||
Efl.Object.constructor;
|
||||
|
|
|
@ -7,6 +7,8 @@ class Efl.Ui.Spin_Button extends Efl.Ui.Spin
|
|||
This is a widget which allows the user to increase or decrease
|
||||
numeric values using the arrow buttons or to edit values directly by clicking
|
||||
over them and inputting new ones.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property wraparound {
|
||||
|
|
|
@ -13,6 +13,8 @@ class Efl.Ui.Table extends Efl.Ui.Widget implements Efl.Pack_Table, Efl.Pack_Lay
|
|||
In this second case there is no need to define both the amount of columns and rows,
|
||||
as the table will expand as needed.
|
||||
The default fill direction is @Efl.Ui.Layout_Orientation.horizontal.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property homogeneous {
|
||||
|
|
|
@ -5,6 +5,8 @@ class Efl.Ui.Timepicker extends Efl.Ui.Layout_Base
|
|||
This is a widget which allows the user to pick a time using internal spinner.
|
||||
User can use the internal spinner to select hour, minute, AM/PM or user can input
|
||||
value using internal entry.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property time {
|
||||
|
|
|
@ -24,6 +24,8 @@ class Efl.Ui.View_Model extends Efl.Composite_Model
|
|||
|
||||
There is two ways to use this class, you can either inherit from it and have a custom constructor for example.
|
||||
Or you can just instantiate it and manually define your property on it via callbacks.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
property_string_add {
|
||||
|
|
|
@ -4,6 +4,8 @@ class Efl.Ui.Widget_Factory extends Efl.Loop_Consumer implements Efl.Ui.Factory,
|
|||
|
||||
This factory is designed to build @Efl.Ui.Widget and optionally set their
|
||||
@Efl.Ui.Widget.style if it was connected with @Efl.Ui.Property_Bind.property_bind "$style".
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property item_class {
|
||||
|
|
|
@ -5,6 +5,8 @@ class Efl.Ui.Widget_Part extends Efl.Object implements Efl.Ui.Property_Bind
|
|||
Since objects of this type are returned by @Efl.Part.part_get, their lifetime
|
||||
is limited to exactly one function call only. Each widget class should
|
||||
expose more specific types for their API-defined parts.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: Elm_Part_Data;
|
||||
implements {
|
||||
|
|
|
@ -6,6 +6,8 @@ class Efl.Ui.Widget_Part_Bg extends Efl.Ui.Widget_Part implements Efl.File, Efl.
|
|||
This internal object is stacked below the @Efl.Ui.Widget.resize_object and co-located with the widget.
|
||||
|
||||
All @Efl.Ui.Widget objects have this part, allowing the background of the widget to be customized.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: null;
|
||||
implements {
|
||||
|
|
|
@ -19,6 +19,8 @@ class Efl.Ui.Widget_Part_Shadow extends Efl.Ui.Widget_Part implements Efl.Gfx.Co
|
|||
|
||||
It is also possible to manually specify which @Efl.Gfx.Filter program to
|
||||
use.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
data: null;
|
||||
implements {
|
||||
|
|
|
@ -12,8 +12,8 @@ enum @beta Elm.Code_Widget_Scroller_Policy
|
|||
}
|
||||
|
||||
/* FIXME: Those types make elm_code unusable from pure EO */
|
||||
struct @extern Elm.Code; [[Elementary code main data structure]] /* The main interface currently defined in code */
|
||||
struct @extern Elm.Code_Line; [[Elementary code line data structure]] /* Parts of the interface currently defined in code */
|
||||
struct @beta @extern Elm.Code; [[Elementary code main data structure]] /* The main interface currently defined in code */
|
||||
struct @beta @extern Elm.Code_Line; [[Elementary code line data structure]] /* Parts of the interface currently defined in code */
|
||||
|
||||
class @beta Elm.Code_Widget extends Efl.Ui.Layout
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@ type @beta Elm_Interface_Scrollable_Resize_Cb: __undefined_type; [[Elementary in
|
|||
type @beta Elm_Interface_Scrollable_Min_Limit_Cb: __undefined_type; [[Elementary interface scrollable minimal limit callback type]]
|
||||
|
||||
/* FIXME: Rename the namespace of the types. */
|
||||
enum Elm.Scroller.Policy
|
||||
enum @beta Elm.Scroller.Policy
|
||||
{
|
||||
[[Type that controls when scrollbars should appear.
|
||||
|
||||
|
@ -16,7 +16,7 @@ enum Elm.Scroller.Policy
|
|||
last [[Internal. Sentinel value to indicate last enum field during iteration.]]
|
||||
}
|
||||
|
||||
enum Elm.Scroller.Single_Direction
|
||||
enum @beta Elm.Scroller.Single_Direction
|
||||
{
|
||||
[[Type that controls how the content is scrolled.
|
||||
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
struct Efl.Input.Clickable_Clicked {
|
||||
[[A struct that expresses a click in elementary.]]
|
||||
[[A struct that expresses a click in elementary. @since 1.23]]
|
||||
repeated : uint; [[The amount of how often the clicked event was repeated in a certain amount of time]]
|
||||
button : uint; [[The Button that is pressed]]
|
||||
}
|
||||
|
||||
mixin Efl.Input.Clickable
|
||||
{
|
||||
[[Efl input clickable interface]]
|
||||
[[Efl input clickable interface.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
event_c_prefix: efl_input;
|
||||
methods {
|
||||
press @protected {
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
class Efl.Input.Hold extends Efl.Object implements Efl.Input.Event
|
||||
{
|
||||
[[Event data sent when inputs are put on hold or resumed.]]
|
||||
[[Event data sent when inputs are put on hold or resumed.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property input_hold {
|
||||
[[Property to show if inputs are now on hold.]]
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
class Efl.Input.Key extends Efl.Object implements Efl.Input.Event, Efl.Input.State
|
||||
{
|
||||
[[Represents a single key event from a keyboard or similar device.
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property pressed {
|
||||
|
|
|
@ -3,6 +3,8 @@ import efl_input_types;
|
|||
class Efl.Input.Pointer extends Efl.Object implements Efl.Input.Event, Efl.Input.State
|
||||
{
|
||||
[[Event data carried over with any pointer event (mouse, touch, pen, ...)
|
||||
|
||||
@since 1.23
|
||||
]]
|
||||
methods {
|
||||
@property action {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import evas_canvas3d_types;
|
||||
|
||||
struct @extern Eina.Inarray; [[Eina inarray data structure]]
|
||||
struct @beta @extern Eina.Inarray; [[Eina inarray data structure]]
|
||||
|
||||
class @beta Evas.Canvas3D.Mesh extends Evas.Canvas3D.Object implements Efl.File, Efl.File_Save
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
type @extern Evas_Colorspace: int; [[Evas colorspace type]] /* FIXME: Need to get emile migrated. */
|
||||
type @beta @extern Evas_Colorspace: int; [[Evas colorspace type]] /* FIXME: Need to get emile migrated. */
|
||||
|
||||
class @beta Evas.Canvas3D.Texture extends Evas.Canvas3D.Object implements Efl.File
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue