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

Type ProxyComboBoxEntry

             object --+        
                      |        
               _GObject --+    
                          |    
          BaseComboBoxEntry --+
                              |
                 object --+   |
                          |   |
             PropertyObject --+
                              |
             object --+       |
                      |       |
       ProxyWidgetMixin --+   |
                          |   |
ValidatableProxyWidgetMixin --+
                              |
                             ProxyComboBoxEntry

Known Subclasses:
ComboBoxEntry

Method Summary
  append_item(self, label, data)
See kiwi.interfaces.IEasyCombo.append_item
  clear(self)
See kiwi.interfaces.IEasyCombo.clear
  get_model_items(self)
See kiwi.interfaces.IEasyCombo.get_model_strings
  get_model_strings(self)
See kiwi.interfaces.IEasyCombo.select_item_by_data
  get_selected(self)
See kiwi.interfaces.IEasyCombo.get_selected_data
  get_selected_data(self)
See kiwi.interfaces.IEasyCombo.get_selected_label
  get_selected_label(self)
See kiwi.interfaces.IEasyCombo.get_model_items
  prefill(self, itemdata, sort, clear_entry)
See kiwi.interfaces.IEasyCombo.prefill
  prop_set_list_editable(self, value)
Must matche the data-type property. read(self)
Get the content of the widget.
  select(self, data)
See kiwi.interfaces.IEasyCombo.select
  select_item_by_data(self, data)
See kiwi.interfaces.IEasyCombo.select_item_by_label
  select_item_by_label(self, label)
See kiwi.interfaces.IEasyCombo.select_item_by_position
  select_item_by_position(self, pos)
See kiwi.interfaces.IEasyCombo.select
  set_mode(self, mode)
  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 BaseComboBoxEntry
  do_grab_focus(self)
  do_mnemnoic_activate(self, group_cycling)
  get_background(self)
  get_icon_window(self)
  get_text_column(self)
  set_pixbuf(self, pixbuf)
  set_text_column(self, text_column)
  update_background(self, color)
    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_tooltip(self, text)
Implement in subclass
  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

append_item(self, label, data=None)

See kiwi.interfaces.IEasyCombo.append_item

clear(self)

See kiwi.interfaces.IEasyCombo.clear

get_model_items(self)

See kiwi.interfaces.IEasyCombo.get_model_strings

get_model_strings(self)

See kiwi.interfaces.IEasyCombo.select_item_by_data

get_selected(self)

See kiwi.interfaces.IEasyCombo.get_selected_data

get_selected_data(self)

See kiwi.interfaces.IEasyCombo.get_selected_label

get_selected_label(self)

See kiwi.interfaces.IEasyCombo.get_model_items

prefill(self, itemdata, sort=False, clear_entry=False)

See kiwi.interfaces.IEasyCombo.prefill

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)

select(self, data)

See kiwi.interfaces.IEasyCombo.select

select_item_by_data(self, data)

See kiwi.interfaces.IEasyCombo.select_item_by_label

select_item_by_label(self, label)

See kiwi.interfaces.IEasyCombo.select_item_by_position

select_item_by_position(self, pos)

See kiwi.interfaces.IEasyCombo.select

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 Fri Sep 15 11:53:22 2006 http://epydoc.sf.net