ecore_x_selection_secondary_set(elm_win_xwindow_get(obj), "",1);
cnpwidgetdata = data;
elm_cbhm_helper_init(obj);
- elm_cbhm_send_raw_data("show");
+ if (elm_entry_cnp_textonly_get(obj))
+ elm_cbhm_send_raw_data("show0");
+ else
+ elm_cbhm_send_raw_data("show1");
// end for cbhm
}
ext_mod->selmode = wd->selmode;
ext_mod->cnpinit = _cnpinit;
ext_mod->context_menu = wd->context_menu;
+ ext_mod->textonly = wd->textonly;
}
/**
Eina_Bool have_selection: 1;\r
Eina_Bool selmode :1;\r
Eina_Bool context_menu : 1;\r
+ Eina_Bool textonly : 1;\r
};\r
\r
EAPI void elm_entry_extension_module_data_get(Evas_Object *obj,Elm_Entry_Extension_data *ext_mod);\r
ecore_x_selection_secondary_set(elm_win_xwindow_get(obj), "",1);
ext_mod->cnpinit(data,obj,event_info);
elm_cbhm_helper_init(obj);
- elm_cbhm_send_raw_data("show");
+ if (ext_mod->textonly)
+ elm_cbhm_send_raw_data("show0");
+ else
+ elm_cbhm_send_raw_data("show1");
evas_object_hide(obj);
// end for cbhm
}
ecore_x_selection_secondary_set(elm_win_xwindow_get(obj), "",1);
ext_mod->cnpinit(data,obj,event_info);
elm_cbhm_helper_init(obj);
- elm_cbhm_send_raw_data("show");
+ if (ext_mod->textonly)
+ elm_cbhm_send_raw_data("show0");
+ else
+ elm_cbhm_send_raw_data("show1");
evas_object_hide(ext_mod->popup);
// end for cbhm
}