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

Type ProxyComboBox

      object --+    
               |    
  PropertyObject --+
                   |
      object --+   |
               |   |
ProxyWidgetMixin --+
                   |
      object --+   |
               |   |
        _GObject --+
                   |
                  ProxyComboBox

Known Subclasses:
ComboBox

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)
See kiwi.interfaces.IEasyCombo.prefill
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
  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 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)

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 Mon Jan 29 16:46:04 2007 http://epydoc.sf.net