Package kiwi :: Package ui :: Package widgets :: Module entry :: Class ProxyDateEntry
[frames | no frames]

Type ProxyDateEntry

             object --+        
                      |        
               _GObject --+    
                          |    
                  DateEntry --+
                              |
                 object --+   |
                          |   |
             PropertyObject --+
                              |
             object --+       |
                      |       |
       ProxyWidgetMixin --+   |
                          |   |
ValidatableProxyWidgetMixin --+
                              |
                             ProxyDateEntry


Method Summary
  do_changed(self)
  get_background(self)
Implement in subclass
  prop_set_mandatory(self, value)
Must matche the data-type property. read(self)
Get the content of the widget.
  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_valid(self)
Changes the validation state to valid, which will remove icons and reset the background color
  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 DateEntry
  do_grab_focus(self)
  get_date(self)
Return the currently selected day
  set_date(self, date)
    Inherited from ValidatableProxyWidgetMixin
  get_icon_window(self)
Implement in subclass
  is_valid(self)
Return true if the widget is in validated state
  set_pixbuf(self, pixbuf)
Implement in subclass
  set_tooltip(self, text)
Implement in subclass
  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

get_background(self)

Implement in subclass
Overrides:
kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.get_background (inherited documentation)

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)

set_blank(self)

Changes the validation state to blank state, this only applies for mandatory widgets, draw an icon and set a tooltip
Overrides:
kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_blank (inherited documentation)

set_invalid(self, text=None, fade=True)

Changes the validation state to invalid.
Parameters:
text - text of tooltip of None
fade - if we should fade the background
Overrides:
kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_invalid (inherited documentation)

set_valid(self)

Changes the validation state to valid, which will remove icons and reset the background color
Overrides:
kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_valid (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 'datetime.date'>,)                                              

Generated by Epydoc 2.1 on Thu Oct 19 03:18:14 2006 http://epydoc.sf.net