1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 A widget which allows a user to enter a telephone number
7 <!-- ##### SECTION Long_Description ##### -->
9 A Single Line Editor widget which allows user to enter a telephone number. There are two modes to choose from (corce/free format). Coerce format has three fields which are placed horizontally. Fields are country code, area code and number. When nothing is inputted to the fields assisting text is displayed in a field. Tapping on the field highlights the field and allows user to input numbers.
13 The widget is used where a user should enter a phone number. Free format should be used wherever possible as it enables the user to enter the phone number in the format she likes in addition to entering DTMF strings as a part of the phone number. The format can not be changed at runtime.
20 hildon_telephone_editor_new( HILDON_TELEPHONE_EDITOR_FORMAT_COERCE );
25 <!-- ##### SECTION See_Also ##### -->
30 <!-- ##### MACRO HILDON_TELEPHONE_EDITOR_TYPE ##### -->
37 <!-- ##### ENUM HildonTelephoneEditorFormat ##### -->
42 @HILDON_TELEPHONE_EDITOR_FORMAT_FREE:
43 @HILDON_TELEPHONE_EDITOR_FORMAT_COERCE:
44 @HILDON_TELEPHONE_EDITOR_FORMAT_COERCE_COUNTRY:
45 @HILDON_TELEPHONE_EDITOR_FORMAT_COERCE_AREA:
47 <!-- ##### STRUCT HildonTelephoneEditor ##### -->
53 <!-- ##### FUNCTION hildon_telephone_editor_new ##### -->
62 <!-- ##### FUNCTION hildon_telephone_editor_set_editable ##### -->
73 <!-- ##### FUNCTION hildon_telephone_editor_set_show_plus ##### -->
82 <!-- ##### FUNCTION hildon_telephone_editor_get_show_plus ##### -->
91 <!-- ##### FUNCTION hildon_telephone_editor_set_show_border ##### -->
100 <!-- ##### FUNCTION hildon_telephone_editor_get_show_border ##### -->
109 <!-- ##### FUNCTION hildon_telephone_editor_set_widths ##### -->
120 <!-- ##### FUNCTION hildon_telephone_editor_get_country ##### -->
129 <!-- ##### FUNCTION hildon_telephone_editor_set_country ##### -->
138 <!-- ##### FUNCTION hildon_telephone_editor_get_area ##### -->
147 <!-- ##### FUNCTION hildon_telephone_editor_set_area ##### -->
156 <!-- ##### FUNCTION hildon_telephone_editor_get_number ##### -->
165 <!-- ##### FUNCTION hildon_telephone_editor_set_number ##### -->
174 <!-- ##### ARG HildonTelephoneEditor:set-area ##### -->
179 <!-- ##### ARG HildonTelephoneEditor:set-country ##### -->
184 <!-- ##### ARG HildonTelephoneEditor:set-format ##### -->
189 <!-- ##### ARG HildonTelephoneEditor:set-number ##### -->