58 lines
1.4 KiB
Plaintext
58 lines
1.4 KiB
Plaintext
import eina_types;
|
|
|
|
function EflIoFilter {
|
|
[[EflIoFilter function]]
|
|
params {
|
|
@in model: Eio.Model;
|
|
@in entry: ptr(Eina.File.Direct.Info);
|
|
}
|
|
return: int;
|
|
};
|
|
|
|
class Eio.Model (Efl.Object, Efl.Model)
|
|
{
|
|
[[Eio model class]]
|
|
|
|
methods {
|
|
children_filter_set {
|
|
[[Set children filter callback.
|
|
|
|
This function sets, along with user's private data userdata,
|
|
the Eio's Eio_Filter_Direct_Cb which is a mid-step before
|
|
receiving the real data. Once in filter callback we can decide,
|
|
by returning either EINA_FALSE, to abort the notification or
|
|
EINA_TRUE to keep it.
|
|
|
|
See also @Efl.Model.children_slice_get.
|
|
|
|
@since 1.11
|
|
]]
|
|
params {
|
|
filter: EflIoFilter; [[Filter callback]]
|
|
}
|
|
}
|
|
@property path {
|
|
[[ Define the root path of a model.
|
|
|
|
@since 1.11
|
|
]]
|
|
set { [[ Only possible during construction. ]] }
|
|
get { }
|
|
values {
|
|
path: string; [[ Root path of the model. ]]
|
|
}
|
|
}
|
|
}
|
|
implements {
|
|
Efl.Object.finalize;
|
|
Efl.Object.invalidate;
|
|
Efl.Object.destructor;
|
|
Efl.Model.properties { get; }
|
|
Efl.Model.property { set; get; }
|
|
Efl.Model.child_add;
|
|
Efl.Model.child_del;
|
|
Efl.Model.children_slice_get;
|
|
Efl.Model.children_count { get; }
|
|
}
|
|
}
|