Package kiwi :: Package ui :: Package widgets :: Module textview :: Class ProxyTextView
[frames | no frames]

Type ProxyTextView

                 object --+    
                          |    
             PropertyObject --+
                              |
             object --+       |
                      |       |
       ProxyWidgetMixin --+   |
                          |   |
ValidatableProxyWidgetMixin --+
                              |
                 object --+   |
                          |   |
                   _GObject --+
                              |
                             ProxyTextView

Known Subclasses:
TextView

Method Summary
Must matche the data-type property. read(self)
Get the content of the widget.
  update(self, data)
    Inherited from PropertyObject
  do_get_property(self, pspec)
  do_set_property(self, pspec, value)
  get_attribute_names(self)
  is_default_value(self, attr, value)
    Inherited from ValidatableProxyWidgetMixin
  get_background(self)
Implement in subclass
  get_icon_window(self)
Implement in subclass
  is_valid(self)
Return true if the widget is in validated state
  set_blank(self)
Changes the validation state to blank state, this only applies for mandatory widgets, draw an icon and set a tooltip
  set_invalid(self, text, fade)
Changes the validation state to invalid.
  set_pixbuf(self, pixbuf)
Implement in subclass
  set_tooltip(self, text)
Implement in subclass
  set_valid(self)
Changes the validation state to valid, which will remove icons and reset the background color
  update_background(self, color)
Implement in subclass
  validate(self, force)
Checks if the data is valid.
    Inherited from ProxyWidgetMixin
  prop_set_data_type(self, data_type)
Set the data type for the widget
  set_data_format(self, format)

Class Variable Summary
tuple allowed_data_types: A list of types which we are allowed to use in this class.

Instance Method Details

read(self)

Get the content of the widget. The type of the return value
Returns:
None if the user input a invalid value
           (type=Must matche the data-type property.)
Overrides:
kiwi.ui.proxywidget.ProxyWidgetMixin.read (inherited documentation)

Class Variable Details

allowed_data_types

A list of types which we are allowed to use in this class.
Type:
tuple
Value:
(<type 'basestring'>,
 <type 'datetime.date'>,
 <type 'int'>,
 <type 'float'>,
 <type 'long'>,
 <class 'decimal.Decimal'>)                                            

Generated by Epydoc 2.1 on Fri Mar 23 15:56:54 2007 http://epydoc.sf.net