{return elm_entry_autosave_get(obj);}
EINA_DEPRECATED EAPI void
elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly)
-{Elm_CNP_Mode cnp_mode = ELM_CNP_MODE_MARKUP;if (textonly) cnp_mode = ELM_CNP_MODE_NO_IMAGE;elm_entry_cnp_mode_set(obj, cnp_mode);}
+{Elm_Cnp_Mode cnp_mode = ELM_CNP_MODE_MARKUP; if (textonly) cnp_mode = ELM_CNP_MODE_NO_IMAGE; elm_entry_cnp_mode_set(obj, cnp_mode);}
EINA_DEPRECATED EAPI Eina_Bool
elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj)
{return elm_entry_cnp_mode_get(obj) != ELM_CNP_MODE_MARKUP;}
Eina_Bool drag_selection_asked : 1;
Eina_Bool can_write : 1;
Eina_Bool autosave : 1;
- Elm_CNP_Mode cnp_mode : 2;
Eina_Bool usedown : 1;
Eina_Bool scroll : 1;
Eina_Bool h_bounce : 1;
Eina_Bool prediction_allow : 1;
Eina_Bool input_panel_return_key_disabled : 1;
Eina_Bool autoreturnkey : 1;
+ Elm_Cnp_Mode cnp_mode : 2;
};
struct _Elm_Entry_Context_Menu_Item
elm_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly)
{
ELM_CHECK_WIDTYPE(obj, widtype);
- Elm_CNP_Mode cnp_mode = ELM_CNP_MODE_MARKUP;
+ Elm_Cnp_Mode cnp_mode = ELM_CNP_MODE_MARKUP;
if (textonly)
cnp_mode = ELM_CNP_MODE_NO_IMAGE;
elm_entry_cnp_mode_set(obj, cnp_mode);
}
EAPI void
-elm_entry_cnp_mode_set(Evas_Object *obj, Elm_CNP_Mode cnp_mode)
+elm_entry_cnp_mode_set(Evas_Object *obj, Elm_Cnp_Mode cnp_mode)
{
Elm_Sel_Format format = ELM_SEL_FORMAT_MARKUP;
ELM_CHECK_WIDTYPE(obj, widtype);
#endif
}
-EAPI Elm_CNP_Mode
+EAPI Elm_Cnp_Mode
elm_entry_cnp_mode_get(const Evas_Object *obj)
{
ELM_CHECK_WIDTYPE(obj, widtype) ELM_CNP_MODE_MARKUP;
EAPI void *elm_entry_imf_context_get(Evas_Object *obj);
/**
- * @enum _Elm_CNP_Mode
- * @typedef Elm_CNP_Mode
+ * @enum _Elm_Cnp_Mode
+ * @typedef Elm_Cnp_Mode
* Enum of entry's copy & paste policy.
*
* @see elm_entry_cnp_mode_set()
* @see elm_entry_cnp_mode_get()
*/
-typedef enum _Elm_CNP_Mode {
- ELM_CNP_MODE_MARKUP = 0, /**< copy & paste text with markup tag */
- ELM_CNP_MODE_NO_IMAGE = 1, /**< copy & paste text without item(image) tag */
- ELM_CNP_MODE_PLAINTEXT = 2 /**< copy & paste text without markup tag */
-} Elm_CNP_Mode;
+typedef enum _Elm_Cnp_Mode {
+ ELM_CNP_MODE_MARKUP, /**< copy & paste text with markup tag */
+ ELM_CNP_MODE_NO_IMAGE, /**< copy & paste text without item(image) tag */
+ ELM_CNP_MODE_PLAINTEXT /**< copy & paste text without markup tag */
+} Elm_Cnp_Mode;
/**
* Control pasting of text and images for the widget.
* @note this only changes the behaviour of text.
*
* @param obj The entry object
- * @param mode One of #Elm_CNP_Mode: #ELM_CNP_MODE_MARKUP,
+ * @param mode One of #Elm_Cnp_Mode: #ELM_CNP_MODE_MARKUP,
* #ELM_CNP_MODE_NO_IMAGE, #ELM_CNP_MODE_PLAINTEXT.
*/
-EAPI void elm_entry_cnp_mode_set(Evas_Object *obj, Elm_CNP_Mode cnp_mode);
+EAPI void elm_entry_cnp_mode_set(Evas_Object *obj, Elm_Cnp_Mode cnp_mode);
/**
* Getting elm_entry text paste/drop mode.
* This gets the copy & paste mode of the entry.
*
* @param obj The entry object
- * @return mode One of #Elm_CNP_Mode: #ELM_CNP_MODE_MARKUP,
+ * @return mode One of #Elm_Cnp_Mode: #ELM_CNP_MODE_MARKUP,
* #ELM_CNP_MODE_NO_IMAGE, #ELM_CNP_MODE_PLAINTEXT.
*/
-EAPI Elm_CNP_Mode elm_entry_cnp_mode_get(const Evas_Object *obj);
+EAPI Elm_Cnp_Mode elm_entry_cnp_mode_get(const Evas_Object *obj);
/**