edje_object_part_text_input_panel_layout_set
(sd->entry_edje, "elm.text", sd->input_panel_layout);
+ edje_object_part_text_input_panel_layout_variation_set
+ (sd->entry_edje, "elm.text", sd->input_panel_layout_variation);
edje_object_part_text_autocapital_type_set
(sd->entry_edje, "elm.text", sd->autocapital_type);
edje_object_part_text_prediction_allow_set
}
EAPI void
+elm_entry_input_panel_layout_variation_set(Evas_Object *obj,
+ int variation)
+{
+ ELM_ENTRY_CHECK(obj);
+ ELM_ENTRY_DATA_GET(obj, sd);
+
+ sd->input_panel_layout_variation = variation;
+
+ edje_object_part_text_input_panel_layout_variation_set
+ (sd->entry_edje, "elm.text", variation);
+}
+
+EAPI int
+elm_entry_input_panel_layout_variation_get(const Evas_Object *obj)
+{
+ ELM_ENTRY_CHECK(obj) 0;
+ ELM_ENTRY_DATA_GET(obj, sd);
+
+ return sd->input_panel_layout_variation;
+}
+
+EAPI void
elm_entry_autocapital_type_set(Evas_Object *obj,
Elm_Autocapital_Type autocapital_type)
{
ELM_INPUT_PANEL_LAYOUT_PASSWORD /**< Like normal, but no auto-correct, no auto-capitalization etc. */
} Elm_Input_Panel_Layout; /**< Type of input panel (virtual keyboard) to use - this is a hint and may not provide exactly what is desired. */
+enum
+{
+ ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_NORMAL,
+ ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED,
+ ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_DECIMAL,
+ ELM_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED_AND_DECIMAL
+};
+
/**
* @typedef Elm_Input_Panel_Lang
*
EAPI Elm_Input_Panel_Layout elm_entry_input_panel_layout_get(const Evas_Object *obj);
/**
+ * Set the input panel layout variation of the entry
+ *
+ * @param obj The entry object
+ * @param variation layout variation type
+ *
+ * @ingroup Entry
+ * @since 1.8
+ */
+EAPI void elm_entry_input_panel_layout_variation_set(Evas_Object *obj, int variation);
+
+/**
+ * Get the input panel layout variation of the entry
+ *
+ * @param obj The entry object
+ * @return layout variation type
+ *
+ * @see elm_entry_input_panel_layout_variation_set
+ *
+ * @ingroup Entry
+ * @since 1.8
+ */
+EAPI int elm_entry_input_panel_layout_variation_get(const Evas_Object *obj);
+
+
+/**
* Set the autocapitalization type on the immodule.
*
* @param obj The entry object
Elm_Input_Panel_Return_Key_Type input_panel_return_key_type;
void *input_panel_imdata;
int input_panel_imdata_len;
+ int input_panel_layout_variation;
struct
{
Evas_Object *hover_parent;