Tizen Native API  6.5
Edje Text Entry

Functions that deal with text entries.

In Edje it's possible to use a text part as a entry so the user is able to make inputs of text. To do so, the text part must be set with a input panel that will work as a virtual keyboard.

Some of effects can be applied to the entered text and also plenty actions can be performed after any input.

Use the functions of this section to handle the user input of text.

Functions

void edje_password_show_last_set (Eina_Bool password_show_last)
 Shows last character in password mode.
void edje_password_show_last_timeout_set (double password_show_last_timeout)
 Sets the timeout value in last show password mode.

Typedefs

typedef struct
_Edje_Entry_Change_Info 
Edje_Entry_Change_Info
typedef enum _Edje_Text_Filter_Type Edje_Text_Filter_Type
typedef void(* Edje_Text_Filter_Cb )(void *data, Evas_Object *obj, const char *part, Edje_Text_Filter_Type type, char **text)
 Callback prototype for Edje_Text_Filter.
typedef void(* Edje_Markup_Filter_Cb )(void *data, Evas_Object *obj, const char *part, char **text)
 Callback prototype for Edje_Text_Filter.
typedef Evas_Object *(* Edje_Item_Provider_Cb )(void *data, Evas_Object *obj, const char *part, const char *item)
 Callback prototype for Edje_Item_Provider.

Typedef Documentation

typedef struct _Edje_Entry_Change_Info Edje_Entry_Change_Info
Since (EFL) :
1.1.0

Callback prototype for Edje_Item_Provider.

Parameters:
datasome data provided by user
objThe Evas_Object to filter.
partEdje part name
itemItem of container
Returns:
Must be an Evas_Object.

Callback prototype for Edje_Text_Filter.

Parameters:
objThe Evas_Object to filter.
partEdje part name.
textThe text of the filter.

Callback prototype for Edje_Text_Filter.

Parameters:
objThe Evas_Object to filter.
typeThe filter type.
textThe text of the filter.

All Edje text filters type values.


Enumeration Type Documentation

anonymous enum
Enumerator:
EDJE_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_NORMAL 

The plain normal layout

Since (EFL) :
1.12
EDJE_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_FILENAME 

Filename layout. Symbols such as '/' should be disabled.

Since (EFL) :
1.12
EDJE_INPUT_PANEL_LAYOUT_NORMAL_VARIATION_PERSON_NAME 

The name of a person.

Since (EFL) :
1.12
anonymous enum
Enumerator:
EDJE_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_NORMAL 

The plain normal number layout

Since (EFL) :
1.8
EDJE_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED 

The number layout to allow a positive or negative sign at the start

Since (EFL) :
1.8
EDJE_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_DECIMAL 

The number layout to allow decimal point to provide fractional value

Since (EFL) :
1.8
EDJE_INPUT_PANEL_LAYOUT_NUMBERONLY_VARIATION_SIGNED_AND_DECIMAL 

The number layout to allow decimal point and negative sign

Since (EFL) :
1.8
anonymous enum
Enumerator:
EDJE_INPUT_PANEL_LAYOUT_PASSWORD_VARIATION_NORMAL 

The normal password layout

Since (EFL) :
1.12
EDJE_INPUT_PANEL_LAYOUT_PASSWORD_VARIATION_NUMBERONLY 

The password layout to allow only number

Since (EFL) :
1.12
Enumerator:
EDJE_TEXT_FILTER_TEXT 

Text type filter

EDJE_TEXT_FILTER_FORMAT 

Format type filter

EDJE_TEXT_FILTER_MARKUP 

Markup type filter


Function Documentation

void edje_password_show_last_set ( Eina_Bool  password_show_last)

Shows last character in password mode.

Parameters:
password_show_lastIf TRUE enable last character show in password mode.

This function enables last input to be visible when in password mode for few seconds or until the next input is entered.

The time out value is obtained by edje_password_show_last_timeout_set function.

See also:
edje_password_show_last_timeout_set().
Since :
3.0
void edje_password_show_last_timeout_set ( double  password_show_last_timeout)

Sets the timeout value in last show password mode.

Parameters:
password_show_last_timeoutThe timeout value.

This functions sets the time out value for which the last input entered in password mode will be visible. If the time out value is less than zero, the last input entered in password mode will be always visible.

This value can be used only when last show mode is set in password mode.

See also:
edje_password_show_last_set().
Since :
3.0