path: root/legacy/elementary/src/lib/elm_widget_entry.h
diff options
authorVyacheslav Reutskiy <>2015-04-01 16:10:37 +0100
committerTom Hacohen <>2015-04-01 16:11:18 +0100
commit4c041aee9a4d385bb108829b76fe77d9e1e445ff (patch)
treee5e3868a70f9442cfa72da48f9c5b960ef8ed20d /legacy/elementary/src/lib/elm_widget_entry.h
parent2573e7a9eafab2a85643085f1a2174c6349f68ae (diff)
Elm helper: add the posix regex validator.
Summary: Added to Entry new signal "validate", this signal called from entry every time when the text inputed to entry. The regex validation add as elm_helper. The styles of Entries scrollers are changed to allow highlightion that is needed by regex processing. For use regex with entry need register the regex helper as callback to event: ELM_ENTRY_EVENT_VALIDATE @feature Test Plan: See elementary_test "Entry Regex" test. Note: when the string matches to regex the highlighting (green) is reset on unfocusing. Reviewers: herdsman, raster, cedric, tasn Reviewed By: cedric, tasn Subscribers: seoz Differential Revision:
Diffstat (limited to '')
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/elementary/src/lib/elm_widget_entry.h b/legacy/elementary/src/lib/elm_widget_entry.h
index c29275b..4af06b9 100644
--- a/legacy/elementary/src/lib/elm_widget_entry.h
+++ b/legacy/elementary/src/lib/elm_widget_entry.h
@@ -72,6 +72,7 @@ struct _Elm_Entry_Data
72 void *input_panel_imdata; 72 void *input_panel_imdata;
73 int input_panel_imdata_len; 73 int input_panel_imdata_len;
74 int input_panel_layout_variation; 74 int input_panel_layout_variation;
75 int validators;
75 struct 76 struct
76 { 77 {
77 Evas_Object *hover_parent; /**< hover parent object. entry is a hover parent object by default */ 78 Evas_Object *hover_parent; /**< hover parent object. entry is a hover parent object by default */