Package kiwi :: Package ui :: Package widgets :: Module combo :: Class ProxyComboEntry
[frames | no frames]

Type ProxyComboEntry

             object --+        
                      |        
               _GObject --+    
                          |    
                 ComboEntry --+
                              |
                 object --+   |
                          |   |
                 ComboMixin --+
                              |
                 object --+   |
                          |   |
             PropertyObject --+
                              |
             object --+       |
                      |       |
       ProxyWidgetMixin --+   |
                          |   |
ValidatableProxyWidgetMixin --+
                              |
                             ProxyComboEntry


Method Summary
  clear(self)
Removes all items from list and erases entry
  prefill(self, data, sort)
  prop_set_list_editable(self, value)
Must matche the data-type property. read(self)
Get the content of the widget.
  set_tooltip(self, text)
Implement in subclass
  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 ComboEntry
  clicked(self)
  do_grab_focus(self)
gtk.TreeIter get_active_iter(self)
Return the selected iter
  get_background(self)
  get_icon_window(self)
gtk.TreeModel get_model(self)
Return our model
  get_selected(self)
Return selected text or item or None if nothing is selected
  get_selected_label(self)
Return the label of the currently selected item
  get_text(self)
Return current text
  popdown(self)
Hide the popup window
  popup(self)
Show the popup window
  select(self, obj)
  select_item_by_data(self, data)
  select_item_by_label(self, text)
  set_active_iter(self, iter)
  set_label_text(self, text)
  set_model(self, model)
Set the tree model to model
  set_pixbuf(self, pixbuf)
  set_text(self, text)
  update_background(self, color)
    Inherited from ComboMixin
  append_item(self, label, data)
Adds a single item to the Combo.
  get_model_items(self)
  get_model_strings(self)
  get_selected_data(self)
  select_item_by_position(self, pos)
  set_mode(self, mode)
    Inherited from ValidatableProxyWidgetMixin
  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_valid(self)
Changes the validation state to valid, which will remove icons and reset the background color
  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

clear(self)

Removes all items from list and erases entry
Overrides:
kiwi.ui.combomixin.ComboMixin.clear

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_tooltip(self, text)

Implement in subclass
Overrides:
kiwi.ui.proxywidget.ValidatableProxyWidgetMixin.set_tooltip (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 'object'>,
 <type 'int'>,
 <type 'float'>,
 <type 'long'>,
 <class 'decimal.Decimal'>)                                            

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