efl/src/lib/elementary/efl_ui_model_average.eo

19 lines
773 B
Plaintext

class Efl.Ui.Model_Average extends Efl.Ui.Model_Exact
{
[[Class to be used to store object item size for List/Grid View.
This model provide the same feature as @Efl.Ui.Model_Exact except for the
@Efl.Model.property "$total.width" and "$total.height" which reflect an
estimated value of the total size by using the currently know size from its
children as an average size for all its children. As more children fill
"$self.width" and "$self.height", this model will figure out a more precise
answer. Once all children size is known, the result will be exact and the same
as @Efl.Ui.Model_Exact.
This model only supporting vertical list at this point.]]
implements {
Efl.Object.constructor;
Efl.Model.property { set; get; }
}
}