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.
|
[[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 {
|
methods {
|
||||||
@property index {
|
@property index {
|
||||||
[[Position of this object in the parent model.
|
[[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
|
It does not model anything in particular and does not affect anything else
|
||||||
in the system.
|
in the system.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
implements {
|
implements {
|
||||||
Efl.Object.constructor;
|
Efl.Object.constructor;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
abstract Efl.Loop_Model extends Efl.Loop_Consumer implements Efl.Model
|
abstract Efl.Loop_Model extends Efl.Loop_Consumer implements Efl.Model
|
||||||
{
|
{
|
||||||
|
[[The Efl Loop Model class
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
|
]]
|
||||||
data: null;
|
data: null;
|
||||||
methods {
|
methods {
|
||||||
volatile_make {
|
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;
|
import efl_gfx_types;
|
||||||
|
|
||||||
const Efl.Gfx.Hint_Expand: double = 1.0;
|
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;
|
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;
|
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;
|
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;
|
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;
|
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
|
interface Efl.Gfx.Hint
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@ import eina_types;
|
||||||
|
|
||||||
enum Efl.Gfx.Image_Content_Hint
|
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).]]
|
none = 0, [[No hint on the content (default).]]
|
||||||
dynamic = 1, [[The content will change over time.]]
|
dynamic = 1, [[The content will change over time.]]
|
||||||
static = 2 [[The content won't 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
|
enum Efl.Gfx.Image_Scale_Hint
|
||||||
{
|
{
|
||||||
/* FIXME: Legacy is in Emile, where it does not belong. */
|
/* 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).]]
|
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.]]
|
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.]]
|
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
|
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.]]
|
none, [[Use the image's natural size.]]
|
||||||
fill, [[Scale the image so that it matches
|
fill, [[Scale the image so that it matches
|
||||||
the object's area exactly.
|
the object's area exactly.
|
||||||
|
@ -53,6 +53,8 @@ struct Efl.Gfx.Image_Stretch_Region
|
||||||
Used when scaling an image.
|
Used when scaling an image.
|
||||||
|
|
||||||
$offset + $length should be smaller than image size in that dimension.
|
$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.]]
|
offset: uint; [[First pixel of the stretchable region, starting at 0.]]
|
||||||
length: uint; [[Length of the stretchable region in pixels.]]
|
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,
|
These APIs provide the ability to manipulate how images will be rendered,
|
||||||
e.g., determining whether to allow upscaling and downscaling at render time,
|
e.g., determining whether to allow upscaling and downscaling at render time,
|
||||||
as well as functionality for detecting errors during the loading process.
|
as well as functionality for detecting errors during the loading process.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
|
|
||||||
methods {
|
methods {
|
||||||
|
|
|
@ -15,7 +15,10 @@ enum @beta Efl.Gfx.Image_Load_Controller_State
|
||||||
|
|
||||||
interface Efl.Gfx.Image_Load_Controller
|
interface Efl.Gfx.Image_Load_Controller
|
||||||
{
|
{
|
||||||
[[Common APIs for all loadable 2D images.]]
|
[[Common APIs for all loadable 2D images.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
|
]]
|
||||||
|
|
||||||
methods {
|
methods {
|
||||||
load_async_start {
|
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
|
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
|
than images and canvases. This enum is used to rotate images, videos and
|
||||||
the like.
|
the like.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
none = 0, [[Default, same as up, do not rotate.]]
|
none = 0, [[Default, same as up, do not rotate.]]
|
||||||
up = 0, [[Orient 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
|
Compare with @Efl.Ui.Layout_Orientable which works for layout objects and does
|
||||||
not include rotation.
|
not include rotation.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
c_prefix: efl_gfx;
|
c_prefix: efl_gfx;
|
||||||
methods {
|
methods {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const Efl.Gfx.Stack_Layer_Min: short = -32768; [[bottom-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]]
|
const Efl.Gfx.Stack_Layer_Max: short = 32767; [[top-most layer number @since 1.23]]
|
||||||
|
|
||||||
interface Efl.Gfx.Stack
|
interface Efl.Gfx.Stack
|
||||||
{
|
{
|
||||||
|
|
|
@ -157,7 +157,7 @@ enum @beta Efl.Gfx.Vg_Composite_Method
|
||||||
|
|
||||||
enum Efl.Gfx.Center_Fill_Mode
|
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]]
|
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]]
|
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]]
|
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
|
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_area: list<Eina.Rect>; [[A list of rectangles that were
|
||||||
updated in the canvas.]]
|
updated in the canvas.]]
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@ interface Efl.Pack_Layout
|
||||||
[[Low-level APIs for objects that can lay their children out.
|
[[Low-level APIs for objects that can lay their children out.
|
||||||
|
|
||||||
Used for containers like @Efl.Ui.Box and @Efl.Ui.Table.
|
Used for containers like @Efl.Ui.Box and @Efl.Ui.Table.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
c_prefix: efl_pack;
|
c_prefix: efl_pack;
|
||||||
methods {
|
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.
|
(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.
|
This means the sub-objects are internally organized in an ordered list.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
c_prefix: efl_pack;
|
c_prefix: efl_pack;
|
||||||
methods {
|
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
|
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.
|
the table using @Efl.Pack.pack and the container will chose where to put them.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
c_prefix: efl_pack;
|
c_prefix: efl_pack;
|
||||||
methods {
|
methods {
|
||||||
|
|
|
@ -6,6 +6,8 @@ interface Efl.Ui.Autorepeat {
|
||||||
event until the button is released. The time it takes until it starts
|
event until the button is released. The time it takes until it starts
|
||||||
emitting the event is given by @.autorepeat_initial_timeout, and the
|
emitting the event is given by @.autorepeat_initial_timeout, and the
|
||||||
time between each new emission by @.autorepeat_gap_timeout.
|
time between each new emission by @.autorepeat_gap_timeout.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property autorepeat_initial_timeout {
|
@property autorepeat_initial_timeout {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
struct Efl.Ui.Factory_Item_Created_Event {
|
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.]]
|
model: Efl.Model; [[The model already set on the new item.]]
|
||||||
item: Efl.Gfx.Entity; [[The item that was just created.]]
|
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.
|
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.
|
It is recommended to not create your own @Efl.Ui.Factory and use event handler as much as possible.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
create @protected {
|
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.
|
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.
|
the interface can help binding the factory to create object with model property data.
|
||||||
see @Efl.Model
|
see @Efl.Model
|
||||||
see @Efl.Ui.Factory]]
|
see @Efl.Ui.Factory
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
|
]]
|
||||||
methods {
|
methods {
|
||||||
factory_bind {
|
factory_bind {
|
||||||
[[bind the factory with the given key string. when the data is ready or changed,
|
[[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.
|
not to rotate images.
|
||||||
|
|
||||||
See also @Efl.Ui.Layout_Orientable.
|
See also @Efl.Ui.Layout_Orientable.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
default = 0, [[Default direction. Each widget may have a different default.]]
|
default = 0, [[Default direction. Each widget may have a different default.]]
|
||||||
horizontal = 1, [[Horizontal direction, along the X axis. Usually left-to-right,
|
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.
|
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.
|
Compare with @Efl.Gfx.Image_Orientable that works for images and includes rotation.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
c_prefix: efl_ui_layout;
|
c_prefix: efl_ui_layout;
|
||||||
methods {
|
methods {
|
||||||
|
|
|
@ -5,6 +5,8 @@ interface Efl.Ui.Range_Display
|
||||||
A value range contains a value restricted between specified minimum and maximum
|
A value range contains a value restricted between specified minimum and maximum
|
||||||
limits at all times.
|
limits at all times.
|
||||||
This can be used for progressbars, sliders or spinners, for example.
|
This can be used for progressbars, sliders or spinners, for example.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
c_prefix: efl_ui_range;
|
c_prefix: efl_ui_range;
|
||||||
methods {
|
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.
|
[[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.
|
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;
|
c_prefix: efl_ui_range;
|
||||||
methods {
|
methods {
|
||||||
|
|
|
@ -3,7 +3,10 @@ import efl_ui_layout_orientable;
|
||||||
|
|
||||||
interface Efl.Ui.Scrollable
|
interface Efl.Ui.Scrollable
|
||||||
{
|
{
|
||||||
[[Efl UI scrollable interface]]
|
[[Efl UI scrollable interface
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
|
]]
|
||||||
event_c_prefix: efl_ui;
|
event_c_prefix: efl_ui;
|
||||||
methods {
|
methods {
|
||||||
@property content_pos {
|
@property content_pos {
|
||||||
|
|
|
@ -2,7 +2,7 @@ import efl_ui_layout_orientable;
|
||||||
|
|
||||||
enum Efl.Ui.Scrollbar_Mode
|
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.]]
|
auto = 0, [[Visible if necessary.]]
|
||||||
on, [[Always visible.]]
|
on, [[Always visible.]]
|
||||||
off, [[Always invisible.]]
|
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
|
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
|
around the content. The size of the thumb relates to the size of the viewport compared to
|
||||||
the whole content.
|
the whole content.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property bar_mode {
|
@property bar_mode {
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
struct Efl.Model_Changed_Event {
|
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.]]
|
current: Efl.Model; [[The newly set model.]]
|
||||||
previous: Efl.Model; [[The previously set model.]]
|
previous: Efl.Model; [[The previously set model.]]
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Efl.Ui.View
|
interface Efl.Ui.View
|
||||||
{
|
{
|
||||||
[[Efl UI view interface]]
|
[[Efl UI view interface.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property model {
|
@property model {
|
||||||
[[Model that is/will be ]]
|
[[Model that is/will be ]]
|
||||||
|
|
|
@ -223,7 +223,7 @@ struct @beta Efl.Access.Event.Children_Changed.Data
|
||||||
child: Efl.Object; [[Child object]]
|
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]]
|
[[Accessibility Attribute]]
|
||||||
key: string; [[Attribute key]]
|
key: string; [[Attribute key]]
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
enum Efl.Ui.Alert_Popup_Button {
|
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".]]
|
positive = 0, [[Button having positive meaning. E.g. "Yes".]]
|
||||||
negative, [[Button having negative meaning. E.g. "No".]]
|
negative, [[Button having negative meaning. E.g. "No".]]
|
||||||
user [[Button having user-defined meaning. E.g. "More information".]]
|
user [[Button having user-defined meaning. E.g. "More information".]]
|
||||||
}
|
}
|
||||||
|
|
||||||
struct Efl.Ui.Alert_Popup_Button_Clicked_Event {
|
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.]]
|
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
|
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
|
functionality for easily creating button objects on the popup and passing information about
|
||||||
which button has been pressed to the button event callback.
|
which button has been pressed to the button event callback.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property button {
|
@property button {
|
||||||
|
|
|
@ -6,6 +6,8 @@ class Efl.Ui.Bg extends Efl.Ui.Layout_Base
|
||||||
for a window (unless it has transparency enabled) or for any container object. It
|
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
|
works just like an image, but has some properties useful for backgrounds, such as
|
||||||
setting it to tiled, centered, scaled or stretched.
|
setting it to tiled, centered, scaled or stretched.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
implements {
|
implements {
|
||||||
Efl.Object.constructor;
|
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
|
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.
|
the Box itself, or through the @Efl.Gfx.Hint interface on each of the children widgets.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property homogeneous {
|
@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
|
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.
|
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.
|
Adding or removing items in the middle re-arrange the rest of the items as expected.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
implements {
|
implements {
|
||||||
Efl.Pack_Layout.layout_update;
|
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.
|
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.
|
This can be useful to display transparent objects on top of each other, for example.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
data: null;
|
data: null;
|
||||||
implements {
|
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 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.
|
The events of @Efl.Input.Clickable can be used to listen to a click event from the user.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
implements {
|
implements {
|
||||||
class.constructor;
|
class.constructor;
|
||||||
|
|
|
@ -10,6 +10,8 @@ class Efl.Ui.Check extends Efl.Ui.Layout_Base
|
||||||
the value of a boolean between $false and $true. The boolean value of the check can be retrieved using the
|
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.
|
@Efl.Ui.Selectable.selected property.
|
||||||
Changes to @Efl.Ui.Selectable.selected can be listed to using the @[Efl.Ui.Selectable.selected,changed] event.
|
Changes to @Efl.Ui.Selectable.selected can be listed to using the @[Efl.Ui.Selectable.selected,changed] event.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
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
|
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.
|
policy, and the selection can be retrieved with @Efl.Ui.Multi_Selectable.selected_iterator_new.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
item_scroll {
|
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
|
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.
|
policy, and the selection can be retrieved with @Efl.Ui.Multi_Selectable_Async.selected_iterator_new.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property factory {
|
@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.
|
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
|
User can use the internal spinner to select year, month, day or user can input
|
||||||
value using internal entry.
|
value using internal entry.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property date_min {
|
@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.
|
@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.
|
Text-related changes are mirrored to the $text part for convenience.
|
||||||
Content-related changes are mirrored to the $icon part.
|
Content-related changes are mirrored to the $icon part.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
data: null;
|
data: null;
|
||||||
parts {
|
parts {
|
||||||
|
|
|
@ -4,6 +4,8 @@ function Efl.Ui.Format_Func
|
||||||
{
|
{
|
||||||
[[A function taking an @Eina.Value and producing its textual representation.
|
[[A function taking an @Eina.Value and producing its textual representation.
|
||||||
See @Efl.Ui.Format.format_func.
|
See @Efl.Ui.Format.format_func.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
params {
|
params {
|
||||||
@in str: strbuf; [[Output formatted string. Its contents will be overwritten by this method.]]
|
@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.
|
[[A value which should always be displayed as a specific text string.
|
||||||
See @Efl.Ui.Format.format_values.
|
See @Efl.Ui.Format.format_values.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
value: int; [[Input value.]]
|
value: int; [[Input value.]]
|
||||||
text: string; [[Text string to replace it.]]
|
text: string; [[Text string to replace it.]]
|
||||||
|
@ -23,7 +27,7 @@ struct Efl.Ui.Format_Value
|
||||||
|
|
||||||
enum Efl.Ui.Format_String_Type
|
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.
|
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.
|
Accepted formats are $s, $f, $F, $d, $u, $i, $o, $x and $X.
|
||||||
For example, "%1.2f meters", "%.0%%" or "%d items".
|
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
|
Widgets including this mixin offer their users different properties to control how
|
||||||
@Eina.Value's are converted to text.
|
@Eina.Value's are converted to text.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property format_func {
|
@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.
|
@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
|
Group headers are displayed at the top of the viewport if items belonging to the group
|
||||||
are visible in the viewport.
|
are visible in the viewport.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
data: null;
|
data: null;
|
||||||
implements {
|
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 $icon part is in the middle, the $extra part overlaps it on its upper-right corner.
|
||||||
The $text part is centered below the $icon.
|
The $text part is centered below the $icon.
|
||||||
Theming can change this arrangement.
|
Theming can change this arrangement.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
data: null;
|
data: null;
|
||||||
implements {
|
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
|
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.
|
streams. For example, when accessing Evas image caches.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
event_c_prefix: efl_ui_image;
|
event_c_prefix: efl_ui_image;
|
||||||
methods {
|
methods {
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
/* TODO: Define these structs in EO, or they are useless to bindings */
|
/* TODO: Define these structs in EO, or they are useless to bindings */
|
||||||
struct @extern Elm.Photocam.Error; [[Photocam error information.]]
|
struct @extern Elm.Photocam.Error; [[Photocam error information. @since 1.23]]
|
||||||
struct @extern Elm.Photocam.Progress; [[Photocam progress information.]]
|
struct @extern Elm.Photocam.Progress; [[Photocam progress information. @since 1.23]]
|
||||||
|
|
||||||
class Efl.Ui.Image_Zoomable extends Efl.Ui.Image implements Efl.Ui.Zoom
|
class Efl.Ui.Image_Zoomable extends Efl.Ui.Image implements Efl.Ui.Zoom
|
||||||
composites Efl.Ui.Scrollable, Efl.Ui.Scrollbar
|
composites Efl.Ui.Scrollable, Efl.Ui.Scrollbar
|
||||||
{
|
{
|
||||||
[[Elementary Image Zoomable class]]
|
[[Elementary Image Zoomable class
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property gesture_enabled {
|
@property gesture_enabled {
|
||||||
[[The gesture state for photocam.
|
[[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".
|
@[Efl.Ui.Selectable.selected,changed] (false) -> "efl,state,unselected".
|
||||||
|
|
||||||
Item grouping inside containers is handled through the @Efl.Ui.Group_Item class.
|
Item grouping inside containers is handled through the @Efl.Ui.Group_Item class.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property index {
|
@property index {
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
class Efl.Ui.Layout_Part extends Efl.Ui.Widget_Part
|
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;
|
data: null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
class Efl.Ui.Layout_Part_Bg extends Efl.Ui.Widget_Part_Bg
|
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;
|
data: null;
|
||||||
implements {
|
implements {
|
||||||
Efl.Object.finalize;
|
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
|
Cannot be deleted. This is only a representation of an internal object
|
||||||
of an EFL layout.
|
of an EFL layout.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
data: Efl_Ui_Layout_Box_Data;
|
data: Efl_Ui_Layout_Box_Data;
|
||||||
methods {
|
methods {
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
class Efl.Ui.Layout_Part_Content extends Efl.Ui.Layout_Part implements Efl.Content
|
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;
|
data: null;
|
||||||
implements {
|
implements {
|
||||||
Efl.Content.content { get; set; }
|
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
|
Cannot be deleted. This is only a representation of an internal object
|
||||||
of an EFL layout.
|
of an EFL layout.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
data: Efl_Ui_Layout_Table_Data;
|
data: Efl_Ui_Layout_Table_Data;
|
||||||
methods {
|
methods {
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
class Efl.Ui.Layout_Part_Text extends Efl.Ui.Layout_Part implements Efl.Text, Efl.Text_Markup,
|
class Efl.Ui.Layout_Part_Text extends Efl.Ui.Layout_Part implements Efl.Text, Efl.Text_Markup,
|
||||||
Efl.Ui.L10n
|
Efl.Ui.L10n
|
||||||
{
|
{
|
||||||
[[Elementary layout internal part class]]
|
[[Elementary layout internal part class
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
|
]]
|
||||||
data: null;
|
data: null;
|
||||||
implements {
|
implements {
|
||||||
Efl.Text.text { set; get; }
|
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.
|
@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
|
Group headers are displayed at the top or left side of the viewport if items belonging to the group
|
||||||
are visible in the viewport.
|
are visible in the viewport.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
data: null;
|
data: null;
|
||||||
implements {
|
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.
|
[[Default Item class to be used inside @Efl.Ui.List containers.
|
||||||
It displays the three parts in horizontal order: $icon, $text and $extra.
|
It displays the three parts in horizontal order: $icon, $text and $extra.
|
||||||
Theming can change this arrangement.
|
Theming can change this arrangement.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
data: null;
|
data: null;
|
||||||
implements {
|
implements {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
parse efl_gfx_hint;
|
parse efl_gfx_hint;
|
||||||
enum Efl.Ui.Popup_Align {
|
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.]]
|
none = 0, [[Popup not aligned.]]
|
||||||
center, [[Popup is aligned to the center of its anchor object.]]
|
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.]]
|
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.
|
property.
|
||||||
|
|
||||||
For a Popup with a more specialized purpose, see @Efl.Ui.Alert_Popup.
|
For a Popup with a more specialized purpose, see @Efl.Ui.Alert_Popup.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property align {
|
@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
|
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.
|
be used directly on the backwall object.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
data: null;
|
data: null;
|
||||||
methods {
|
methods {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import efl_ui;
|
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.]]
|
[[A structure containing the updated range of visible items in this position manger.]]
|
||||||
start_id : uint; [[The first item that is visible]]
|
start_id : uint; [[The first item that is visible]]
|
||||||
end_id : uint; [[The last 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
|
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.
|
use more convenient widgets like @Efl.Ui.Radio_Box.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property state_value {
|
@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.
|
[[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.
|
See the documentation of @Efl.Ui.Radio for an explanation of radio button grouping.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property selected_value {
|
@property selected_value {
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
class Efl.Ui.Radio_Group_Impl extends Efl.Object implements Efl.Ui.Radio_Group
|
class Efl.Ui.Radio_Group_Impl extends Efl.Object implements Efl.Ui.Radio_Group
|
||||||
{
|
{
|
||||||
[[Object with the default implementation for @Efl.Ui.Radio_Group.
|
[[Object with the default implementation for @Efl.Ui.Radio_Group.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
implements {
|
implements {
|
||||||
class.constructor;
|
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
|
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
|
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.
|
@Efl.Ui.Scroller (using @Efl.Content.content.set) would give it the ability to scroll.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
implements {
|
implements {
|
||||||
Efl.Object.constructor;
|
Efl.Object.constructor;
|
||||||
|
|
|
@ -3,6 +3,8 @@ interface Efl.Ui.Selectable {
|
||||||
|
|
||||||
An object implementing this interface can be selected.
|
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.
|
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;
|
event_c_prefix: efl_ui;
|
||||||
methods {
|
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.
|
The implementor is free to allow a specific number of selectables being selected or not.
|
||||||
This interface just covers always the latest selected selectable.
|
This interface just covers always the latest selected selectable.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
c_prefix: efl_ui_selectable;
|
c_prefix: efl_ui_selectable;
|
||||||
methods {
|
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.
|
changes are also available in that interface.
|
||||||
The visual representation of min and max can be swapped using @Efl.Ui.Layout_Orientable.orientation.
|
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.
|
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 {
|
implements {
|
||||||
Efl.Object.constructor;
|
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
|
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.
|
using arrow buttons. It's a basic type of widget for choosing and displaying values.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
implements {
|
implements {
|
||||||
Efl.Object.constructor;
|
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
|
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
|
numeric values using the arrow buttons or to edit values directly by clicking
|
||||||
over them and inputting new ones.
|
over them and inputting new ones.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property wraparound {
|
@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,
|
In this second case there is no need to define both the amount of columns and rows,
|
||||||
as the table will expand as needed.
|
as the table will expand as needed.
|
||||||
The default fill direction is @Efl.Ui.Layout_Orientation.horizontal.
|
The default fill direction is @Efl.Ui.Layout_Orientation.horizontal.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property homogeneous {
|
@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.
|
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
|
User can use the internal spinner to select hour, minute, AM/PM or user can input
|
||||||
value using internal entry.
|
value using internal entry.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property time {
|
@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.
|
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.
|
Or you can just instantiate it and manually define your property on it via callbacks.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
property_string_add {
|
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
|
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".
|
@Efl.Ui.Widget.style if it was connected with @Efl.Ui.Property_Bind.property_bind "$style".
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property item_class {
|
@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
|
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
|
is limited to exactly one function call only. Each widget class should
|
||||||
expose more specific types for their API-defined parts.
|
expose more specific types for their API-defined parts.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
data: Elm_Part_Data;
|
data: Elm_Part_Data;
|
||||||
implements {
|
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.
|
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.
|
All @Efl.Ui.Widget objects have this part, allowing the background of the widget to be customized.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
data: null;
|
data: null;
|
||||||
implements {
|
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
|
It is also possible to manually specify which @Efl.Gfx.Filter program to
|
||||||
use.
|
use.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
data: null;
|
data: null;
|
||||||
implements {
|
implements {
|
||||||
|
|
|
@ -12,8 +12,8 @@ enum @beta Elm.Code_Widget_Scroller_Policy
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FIXME: Those types make elm_code unusable from pure EO */
|
/* 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 @beta @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_Line; [[Elementary code line data structure]] /* Parts of the interface currently defined in code */
|
||||||
|
|
||||||
class @beta Elm.Code_Widget extends Efl.Ui.Layout
|
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]]
|
type @beta Elm_Interface_Scrollable_Min_Limit_Cb: __undefined_type; [[Elementary interface scrollable minimal limit callback type]]
|
||||||
|
|
||||||
/* FIXME: Rename the namespace of the types. */
|
/* FIXME: Rename the namespace of the types. */
|
||||||
enum Elm.Scroller.Policy
|
enum @beta Elm.Scroller.Policy
|
||||||
{
|
{
|
||||||
[[Type that controls when scrollbars should appear.
|
[[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.]]
|
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.
|
[[Type that controls how the content is scrolled.
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
struct Efl.Input.Clickable_Clicked {
|
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]]
|
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]]
|
button : uint; [[The Button that is pressed]]
|
||||||
}
|
}
|
||||||
|
|
||||||
mixin Efl.Input.Clickable
|
mixin Efl.Input.Clickable
|
||||||
{
|
{
|
||||||
[[Efl input clickable interface]]
|
[[Efl input clickable interface.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
|
]]
|
||||||
event_c_prefix: efl_input;
|
event_c_prefix: efl_input;
|
||||||
methods {
|
methods {
|
||||||
press @protected {
|
press @protected {
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
class Efl.Input.Hold extends Efl.Object implements Efl.Input.Event
|
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 {
|
methods {
|
||||||
@property input_hold {
|
@property input_hold {
|
||||||
[[Property to show if inputs are now on 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
|
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.
|
[[Represents a single key event from a keyboard or similar device.
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property pressed {
|
@property pressed {
|
||||||
|
|
|
@ -3,6 +3,8 @@ import efl_input_types;
|
||||||
class Efl.Input.Pointer extends Efl.Object implements Efl.Input.Event, Efl.Input.State
|
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, ...)
|
[[Event data carried over with any pointer event (mouse, touch, pen, ...)
|
||||||
|
|
||||||
|
@since 1.23
|
||||||
]]
|
]]
|
||||||
methods {
|
methods {
|
||||||
@property action {
|
@property action {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import evas_canvas3d_types;
|
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
|
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
|
class @beta Evas.Canvas3D.Texture extends Evas.Canvas3D.Object implements Efl.File
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue