| Home | Trees | Index | Help |  | 
|---|
| Package gazpacho :: Module properties :: Class PropType | 
 | 
object --+
         |
        PropType
CustomProperty,
    StringType| Method Summary | |
|---|---|
| add_change_notify(self,
          function) | |
| get_default(self,
          gobj) | |
| get_object(self) | |
| get_object_name(self) | |
| get_project(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) | |
| Marshal the property into a string Return None if it already contains the default value | |
| Property Summary | |
|---|---|
| object | |
| Class Variable Summary | |
|---|---|
| type | __metaclass__=gazpacho.properties.PropMeta | 
| NoneType | base_type= None | 
| NoneType | child= None | 
| bool | custom=False                                            | 
| type | custom_editor=gazpacho.properties.PropertyCustomEditor | 
| 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 | readable= None | 
| NoneType | set= None | 
| bool | translatable=False                                      | 
| NoneType | type= None | 
| NoneType | value= None | 
| NoneType | writable= None | 
| Method Details | 
|---|
| 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 | 
| save(self)Marshal the property into a string Return None if it already contains the default value | 
| Property Details | 
|---|
| object
 | 
| Class Variable Details | 
|---|
| base_type
 | 
| child
 | 
| custom
 | 
| default
 | 
| description
 | 
| editable
 | 
| editor
 | 
| enabled
 | 
| get
 | 
| has_custom_default
 | 
| label
 | 
| name
 | 
| owner_name
 | 
| owner_type
 | 
| persistent
 | 
| priority
 | 
| readable
 | 
| set
 | 
| translatable
 | 
| type
 | 
| value
 | 
| writable
 | 
| Home | Trees | Index | Help |  | 
|---|
| Generated by Epydoc 2.1 on Fri Mar 23 15:56:55 2007 | http://epydoc.sf.net |