Tizen Native API  5.5
Helper

The validation helper feature.

Functions

Elm_Validator_Regexpelm_validator_regexp_new (const char *pattern, const char *signal)
 Create a new regex validator. General designed for validate inputed entry text.
void elm_validator_regexp_free (Elm_Validator_Regexp *validator)
 Delete the existing regex validator.
Elm_Regexp_Status elm_validator_regexp_status_get (Elm_Validator_Regexp *validator)
 Get the validation status.

Typedefs

typedef struct
_Elm_Validate_Content 
Elm_Validate_Content
typedef struct
_Elm_Validator_Regexp 
Elm_Validator_Regexp

Typedef Documentation

typedef struct _Elm_Validate_Content Elm_Validate_Content

Data for the elm_validator_regexp_helper()

typedef struct _Elm_Validator_Regexp Elm_Validator_Regexp

The Regexp validator data.


Enumeration Type Documentation

Enumeration that defines the regex error codes.

Since (EFL) :
1.14
Enumerator:
ELM_REG_NOERROR 

Regex maches to the Entrys text.

ELM_REG_NOMATCH 

Failed to match.

ELM_REG_BADPAT 

Invalid regular expression.


Function Documentation

Delete the existing regex validator.

Parameters:
validatorThe given validator
See also:
elm_validator_regexp_new()
Since (EFL) :
1.14
Elm_Validator_Regexp* elm_validator_regexp_new ( const char *  pattern,
const char *  signal 
)

Create a new regex validator. General designed for validate inputed entry text.

Parameters:
patternThe regex pattern
signalThe part of signal name, which will be emitted to style
Returns:
The regex validator
See also:
elm_validator_regexp_free()
elm_validator_regexp_status_get()
elm_validator_regexp_helper()
Since (EFL) :
1.14

Get the validation status.

Parameters:
Thegiven validator
Note:
All return value see here: http://www.gnu.org/software/libc/manual/html_node/Regular-Expressions.html
Since (EFL) :
1.14