forked from enlightenment/efl
Efl.Model_* (from Efl.Model.*)
Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
This commit is contained in:
parent
23c303f87b
commit
566a36dc99
|
@ -1,4 +1,4 @@
|
|||
class Efl.Model.Composite.Boolean (Efl.Object, Efl.Model, Efl.Ui.View)
|
||||
class Efl.Model_Composite_Boolean (Efl.Object, Efl.Model, Efl.Ui.View)
|
||||
{
|
||||
[[Efl model composite boolean class]]
|
||||
methods {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Efl.Model.Composite.Boolean.Children (Efl.Object, Efl.Model)
|
||||
class Efl.Model_Composite_Boolean_Children (Efl.Object, Efl.Model)
|
||||
{
|
||||
[[Efl model composite boolean children class]]
|
||||
implements {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Efl.Model.Composite.Selection (Efl.Model.Composite.Boolean)
|
||||
class Efl.Model_Composite_Selection (Efl.Model_Composite_Boolean)
|
||||
{
|
||||
[[Efl model composite selection class]]
|
||||
methods {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Efl.Model.Composite.Selection.Children (Efl.Object, Efl.Model)
|
||||
class Efl.Model_Composite_Selection_Children (Efl.Object, Efl.Model)
|
||||
{
|
||||
[[Efl model composite selection children class]]
|
||||
implements {
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
import eina_types;
|
||||
|
||||
class Efl.Model.Container (Efl.Object, Efl.Model)
|
||||
class Efl.Model_Container (Efl.Object, Efl.Model)
|
||||
{
|
||||
[[
|
||||
Class used to create data models from Eina containers.
|
||||
|
||||
Each container supplied represents a series of property values, each item
|
||||
being the property value for a child object (@Efl.Model.Container.Item).
|
||||
being the property value for a child object (@Efl.Model_Container_Item).
|
||||
|
||||
The data in the given containers are copied and stored internally.
|
||||
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
import eina_types;
|
||||
|
||||
class Efl.Model.Container.Item (Efl.Object, Efl.Model)
|
||||
class Efl.Model_Container_Item (Efl.Object, Efl.Model)
|
||||
{
|
||||
[[
|
||||
Used as a child of @Efl.Model.Container.
|
||||
Used as a child of @Efl.Model_Container.
|
||||
|
||||
Provides the @Efl.Model API for elements of @Efl.Model.Container.
|
||||
Provides the @Efl.Model API for elements of @Efl.Model_Container.
|
||||
Should not be used in another context, so do not manually create objects
|
||||
of this class.
|
||||
]]
|
||||
methods {
|
||||
define {
|
||||
[[Defines @Efl.Model.Container.Item internal data.]]
|
||||
[[Defines @Efl.Model_Container_Item internal data.]]
|
||||
params {
|
||||
parent_data: void_ptr; [[Pointer to the private data of the
|
||||
@Efl.Model.Container parent object.]]
|
||||
index: uint; [[Index of this item within the @Efl.Model.Container
|
||||
@Efl.Model_Container parent object.]]
|
||||
index: uint; [[Index of this item within the @Efl.Model_Container
|
||||
children.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import eina_types;
|
||||
|
||||
class Efl.Model.Item (Efl.Object, Efl.Model)
|
||||
class Efl.Model_Item (Efl.Object, Efl.Model)
|
||||
{
|
||||
[[
|
||||
Generic model that allows any property to be manually set.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
struct Efl.Model.Property_Event {
|
||||
struct Efl.Model_Property_Event {
|
||||
[[EFL model property event data structure]]
|
||||
changed_properties: array<string>; [[List of changed properties]]
|
||||
invalidated_properties: array<string>; [[Removed properties identified by name]]
|
||||
|
@ -144,7 +144,7 @@ interface Efl.Model ()
|
|||
}
|
||||
|
||||
events {
|
||||
properties,changed: Efl.Model.Property_Event; [[Event dispatched when
|
||||
properties,changed: Efl.Model_Property_Event; [[Event dispatched when
|
||||
properties list is
|
||||
available.]]
|
||||
child,added: Efl.Object; [[Event dispatched when new child is added.]]
|
||||
|
|
Loading…
Reference in New Issue