Home | Trees | Index | Help |
|
---|
Package kiwi :: Package ui :: Package widgets :: Module entry :: Class ProxyEntry |
|
object
--+ |PropertyObject
--+ |object
--+ | | |_GObject
--+ |KiwiEntry
--+ |object
--+ | | |ProxyWidgetMixin
--+ | | |ValidatableProxyWidgetMixin
--+ | ProxyEntry
Entry
The Kiwi Entry widget has many special features that extend the basic gtk entry.
First of all, as every Kiwi Widget, it implements the Proxy protocol. As the users types the entry can interact with the application model automatically. Kiwi Entry also implements interesting UI additions. If the input data does not match the data type of the entry the background nicely fades to a light red color. As the background changes an information icon appears. When the user passes the mouse over the information icon a tooltip is displayed informing the user how to correctly fill the entry. When dealing with date and float data-type the information on how to fill these entries is displayed according to the current locale.Method Summary | |
---|---|
do_changed(self)
| |
Set the data type for the widget | |
Must matche the data-type property. |
Get the content of the widget. |
set_completion_strings(*args,
**kwargs)
| |
| |
Sets the text of the entry | |
update(self,
data)
| |
Inherited from KiwiEntry | |
| |
| |
| |
| |
| |
| |
string |
Gets the empty mask between start and end |
list of strings |
Get the fields assosiated with the entry. |
| |
| |
| |
| |
Return the mask | |
| |
| |
| |
| |
| |
See kiwi.interfaces.IEasyCombo.prefill | |
| |
| |
| |
| |
Enable exact entry completion. | |
Sets the mask of the Entry. | |
| |
| |
| |
Inherited from PropertyObject | |
| |
| |
| |
| |
Inherited from ValidatableProxyWidgetMixin | |
Return true if the widget is in validated state | |
Changes the validation state to blank state, this only applies for mandatory widgets, draw an icon and set a tooltip | |
Changes the validation state to invalid. | |
Changes the validation state to valid, which will remove icons and reset the background color | |
Checks if the data is valid. | |
Inherited from ProxyWidgetMixin | |
|
Class Variable Summary | |
---|---|
tuple |
allowed_data_types : A list of types which we are allowed to use in this class. |
Instance Method Details |
---|
prop_set_data_type(self, data_type)Set the data type for the widget
|
read(self)Get the content of the widget. The type of the return value
|
set_mask_for_data_type(self, data_type)
|
set_text(self, text)Sets the text of the entry
|
Class Variable Details |
---|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Sep 15 11:53:22 2006 | http://epydoc.sf.net |