summaryrefslogtreecommitdiff
path: root/src/lib/efl_mono/efl_mono_model_internal.eo
blob: a146ef71c8167f467c8a8d97306c48f3fa4e8c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
class @beta Efl.Mono_Model_Internal extends Efl.Loop_Consumer implements Efl.Model
{
  [[Internal @Efl.Model implementation for the root models in C# MVVM infrastructure.

    This represents the root model, containing @Efl.Mono_Model_Internal_Child elements. It is inherited from classes
    like the C#-only Efl.UserModel<T>, which the end user will actually instantiate.
  ]]
  methods {
    add_property {
      [[Adds a new property to the wrapped children models.

        When adding new children models, these children will have the properties that were added from this method.]]
      params {
        @in name: string; [[Name of the property being added.]]
        @in type: ptr(const(Eina.Value_Type)); [[Type of the property being added, as an @Eina.Value_Type.]]
      }
    }
  }
  implements {
    Efl.Object.constructor;
    Efl.Object.destructor;
    Efl.Model.properties { get; }
    Efl.Model.child_add;
    Efl.Model.children_count { get; }
    Efl.Model.children_slice_get;
    Efl.Model.property { get; set; }
  }
}