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

Type StringType

object --+    
         |    
  PropType --+
             |
            StringType

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

Method Summary
    Inherited from PropType
  add_change_notify(self, function)
  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

Property Summary
    Inherited from PropType
  object

Class Variable Summary
str default = ''
bool has_i18n_context = True
str i18n_comment = ''
bool multiline = False
bool translatable = True
    Inherited from PropType
NoneType base_type = None                                                                  
NoneType child = None                                                                  
bool custom = False
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                                                                  
NoneType type = None                                                                  
NoneType value = None                                                                  
NoneType writable = None                                                                  

Class Variable Details

default

Type:
str
Value:
''                                                                     

has_i18n_context

Type:
bool
Value:
True                                                                   

i18n_comment

Type:
str
Value:
''                                                                     

multiline

Type:
bool
Value:
False                                                                  

translatable

Type:
bool
Value:
True                                                                   

Generated by Epydoc 2.1 on Mon Jan 29 16:46:04 2007 http://epydoc.sf.net