known subclasses: kiwi.ui.widgets.entry.ProxyEntry
The KiwiEntry is a Entry subclass with the following additions:
Function | __init__ | Undocumented |
Function | do_size_allocate 0 | Undocumented |
Function | do_size_allocate | Undocumented |
Function | do_expose_event | Undocumented |
Function | do_realize | Undocumented |
Function | do_unrealize | Undocumented |
Function | prop_set_exact_completion | Undocumented |
Function | prop_set_completion | Undocumented |
Function | prop_set_mask | Undocumented |
Function | set_text | Undocumented |
Function | set_mask | Sets the mask of the Entry. |
Function | get_mask | Get the mask. |
Function | get_field_text | Undocumented |
Function | get_fields | Get the fields assosiated with the entry. |
Function | get_empty_mask | Gets the empty mask between start and end |
Function | get_field_pos | Get the position at the specified field. |
Function | _get_field_ideal_pos | Undocumented |
Function | get_field | Undocumented |
Function | set_field | Undocumented |
Function | get_field_length | Undocumented |
Function | _shift_text | Shift the text, to the right or left, n positions. Note that this |
Function | _get_next_non_static_char_pos | Get next non-static char position, skiping some chars, if necessary. |
Function | _get_field_at_pos | Return the field index at position pos. |
Function | set_exact_completion | Enable exact entry completion. |
Function | is_empty | Undocumented |
Function | _really_delete_text | Undocumented |
Function | _really_insert_text | Undocumented |
Function | _insert_mask | Undocumented |
Function | _confirms_to_mask | Undocumented |
Function | _update_current_object | Undocumented |
Function | _get_text_from_object | Undocumented |
Function | _get_completion | Undocumented |
Function | get_completion | Undocumented |
Function | set_completion | Undocumented |
Function | _completion_exact_match_func | Undocumented |
Function | _completion_normal_match_func | Undocumented |
Function | _on_completion__match_selected | Undocumented |
Function | _appers_later | Check if a char appers later on the mask. If it does, return |
Function | _can_insert_at_pos | Check if a chararcter can be inserted at some position |
Function | _insert_at_pos | Inserts the character at the give position in text. Note that the |
Function | _on_insert_text | Undocumented |
Function | _on_delete_text | Undocumented |
Function | _after_grab_focus | Undocumented |
Function | _on_focus | Undocumented |
Function | _on_notify_selection_bound | Undocumented |
Function | _handle_position_change | Undocumented |
Function | _on_changed | Undocumented |
Function | _on_focus_out_event | Undocumented |
Function | _on_move_cursor | Undocumented |
Function | set_tooltip | Undocumented |
Function | set_pixbuf | Undocumented |
Function | update_background | Undocumented |
Function | get_background | Undocumented |
Function | get_icon_window | Undocumented |
Function | prefill | |
Function | get_iter_by_data | Undocumented |
Function | get_iter_by_label | Undocumented |
Function | get_selected_by_iter | Undocumented |
Function | get_selected_label | Undocumented |
Function | get_selected_data | Undocumented |
Function | get_iter_from_obj | Undocumented |
Function | get_mode | Undocumented |
Sets the mask of the Entry. Supported format characters are:
This is similar to MaskedTextBox: http://msdn2.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.mask(VS.80).aspx
Example mask for a ISO-8601 date >>> entry.set_mask('0000-00-00')
Get the mask.
Get the fields assosiated with the entry. A field is dynamic content separated by static. For example, the format string 000-000 has two fields separated by a dash. if a field is empty it'll return an empty string otherwise it'll include the content
Gets the empty mask between start and end
Get the position at the specified field.
Shift the text, to the right or left, n positions. Note that this does not change the entry text. It returns the shifted text.
Get next non-static char position, skiping some chars, if necessary.
Return the field index at position pos.
Enable exact entry completion. Exact means it needs to start with the value typed and the case needs to be correct.
Check if a char appers later on the mask. If it does, return the field it appers at. returns False otherwise.
Check if a chararcter can be inserted at some position
Inserts the character at the give position in text. Note that the insertion won't be applied to the entry, but to the text provided.