forked from enlightenment/efl
elm entry: Move the declaration of Elm_Cnp_Mode to elm_entry.eo
Move the enumeration Elm_Cnp_Mode to elm_entry.eo to make it more accessible for binding generation. Also rename it to Elm.Cnp_Mode.
This commit is contained in:
parent
8a5d0a38f2
commit
45e9a15bd4
|
@ -96,6 +96,20 @@ enum Elm.Input.Hints
|
|||
@since 1.12]]
|
||||
}
|
||||
|
||||
|
||||
enum Elm.Cnp_Mode
|
||||
{
|
||||
[[
|
||||
Enum of entry's copy & paste policy.
|
||||
|
||||
See also @Elm.Entry.cnp_mode.set,
|
||||
@Elm.Entry.cnp_mode.get.
|
||||
]]
|
||||
markup, [[ copy & paste text with markup tag ]]
|
||||
no_image, [[ copy & paste text without item(image) tag ]]
|
||||
plaintext, [[ copy & paste text without markup tag ]]
|
||||
}
|
||||
|
||||
class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interface,
|
||||
Elm.Interface_Atspi_Text, Elm.Interface_Atspi_Editable_Text, Efl.File,
|
||||
Evas.Selectable_Interface, Evas.Scrollable_Interface)
|
||||
|
@ -172,7 +186,7 @@ class Elm.Entry (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interface,
|
|||
]]
|
||||
}
|
||||
values {
|
||||
cnp_mode: Elm_Cnp_Mode; [[One of #Elm_Cnp_Mode: #ELM_CNP_MODE_MARKUP, #ELM_CNP_MODE_NO_IMAGE, #ELM_CNP_MODE_PLAINTEXT.]]
|
||||
cnp_mode: Elm.Cnp_Mode; [[One of #Elm_Cnp_Mode: #ELM_CNP_MODE_MARKUP, #ELM_CNP_MODE_NO_IMAGE, #ELM_CNP_MODE_PLAINTEXT.]]
|
||||
}
|
||||
}
|
||||
@property file_text_format {
|
||||
|
|
|
@ -227,18 +227,6 @@ struct _Elm_Entry_Filter_Accept_Set
|
|||
*/
|
||||
EAPI void elm_entry_filter_accept_set(void *data, Evas_Object *entry, char **text);
|
||||
|
||||
/**
|
||||
* Enum of entry's copy & paste policy.
|
||||
*
|
||||
* @see elm_entry_cnp_mode_set()
|
||||
* @see elm_entry_cnp_mode_get()
|
||||
*/
|
||||
typedef enum {
|
||||
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;
|
||||
|
||||
/**
|
||||
* Get the text of the contextual menu item of entry.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue