Description

Keys

  • fieldtype - Type of the field. #EFL_UI_CLOCK_TYPE_YEAR etc.

Values

  • min - Reference to field's minimum value.
  • max - Reference to field's maximum value.

Getter

Get the field limits of a field.

Limits can be set to individual fields, independently, except for the AM/PM field. Any field can display the values only in between these minimum and maximum limits unless the corresponding time value is restricted from MinTime to MaxTime. That is, min/max field limits always work under the limitations of mintime/maxtime.

There is no provision to set the limits of AM/PM field.

Setter

Set a field to be visible or not.

Setting this API to true in itself doen't ensure that the field is visible. The field's format also must be present in the overall clock format. If a field's visibility is set to false then it won't appear even though its format is present. In summary, if this API is set to true and the corresponding field's format is present in clock format, the field is visible.

By default the field visibility is set to true.

Signature

@property field_limit {
    get {
        keys {
            fieldtype: Efl.Ui.Clock.Type;
        }
        values {
            min: int;
            max: int;
        }
    }
    set {
        keys {
            fieldtype: Efl.Ui.Clock.Type;
        }
        values {
            min: int;
            max: int;
        }
    }
}

C signature

void efl_ui_clock_field_limit_get(const Eo *obj, Efl_Ui_Clock_Type fieldtype, int *min, int *max);
void efl_ui_clock_field_limit_set(Eo *obj, Efl_Ui_Clock_Type fieldtype, int min, int max);

Implemented by

  • Efl.Ui.Clock.field_limit