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

Type CustomProperty

object --+    
         |    
  PropType --+
             |
            CustomProperty

Known Subclasses:
BoolOnlyDataType, DataType, DataValueProperty, DateOnlyDataType, ModelProperty

Method Summary
  add_change_notify(self, function)
  notify(self)
    Inherited from PropType
  get(self)
  get_default(self, gobj)
  get_object(self)
  get_object_name(self)
  get_project(self)
  is_translatable(self)
Is the property translatable? By default we're using a class variable, but in some cases we want to be able to check the instance state and check if we want translatation, eg GtkButton::label, in those cases, just override this method
  load(self)
  save(self)
Marshal the property into a string Return None if it already contains the default value
  set(self, value)

Property Summary
    Inherited from PropType
  object
  value

Class Variable Summary
bool readable = True
bool writable = True
    Inherited from PropType
NoneType base_type = None                                                                  
NoneType child = None                                                                  
bool custom = False
NoneType default = None                                                                  
NoneType description = None                                                                  
bool editable = True
NoneType editor = None                                                                  
bool enabled = True
NoneType get = None                                                                  
bool has_custom_default = False
NoneType label = None                                                                  
NoneType name = None                                                                  
NoneType owner_name = None                                                                  
FakeModule owner_type = <Fake gobject.TYPE_INVALID>
bool persistent = True
int priority = 100                                                                   
NoneType set = None                                                                  
bool translatable = False
NoneType type = None                                                                  
NoneType value = None                                                                  

Property Details

value

Get Method:
unknown-1093133340(...)
Set Method:
unknown-1093133396(...)

Class Variable Details

readable

Type:
bool
Value:
True                                                                   

writable

Type:
bool
Value:
True                                                                   

Generated by Epydoc 2.1 on Fri Mar 23 15:56:53 2007 http://epydoc.sf.net