Package gazpacho :: Module properties :: Class PropertyCustomEditor
[frames | no frames]

Type PropertyCustomEditor

object --+
         |
        PropertyCustomEditor

Known Subclasses:
DataTypeAdaptor

Base class for editors for custom properties

The create method is called the first time a widget with this property is shown in the editor. Then, every time an instance of this type of widget is selected the 'update' method is called with the proper information to manipulate the widget.

Because of that this should not store any information about the state of the widget that is being edited.
Method Summary
  get_editor_widget(self)
Return the gtk widget that implements this editor
  update(self, context, widget, proxy)
Called when a widget with this property is selected

Class Variable Summary
bool wide_editor = False

Method Details

get_editor_widget(self)

Return the gtk widget that implements this editor

update(self, context, widget, proxy)

Called when a widget with this property is selected
Parameters:
context - gazpacho context to get the current app and project
widget - the widget we are editing
proxy - an object that should be used to update the widget. This is what allows the undo/redo mechanism actually works

Class Variable Details

wide_editor

Type:
bool
Value:
False                                                                  

Generated by Epydoc 2.1 on Mon Oct 9 12:40:59 2006 http://epydoc.sf.net