wxPython/wxGlade-0.9.1/xml_parse.py
def add_property(self, name, val):
        """adds a property to this widget. This method is not called if there
        was a custom handler for this property, and its char_data method returned False"""
        if name == 'pos':  # sanity check, this shouldn't happen...
            self._logger.debug('add_property(name=pos)')
            return
        try:
            prop = self.obj.properties[name]
        except KeyError:
            # unknown property for this object; issue a warning and ignore the property
            if config.debugging: raise
            self._logger.error( _("WARNING: Property '%s' not supported by this object ('%s') "), name, self.obj )
            return
        prop.load(val, activate=True)
        #self.obj.properties_changed([name])
        self._properties_added.append(name)
adds a property to this widget. This method is not called if there
        was a custom handler for this property, and its char_data method returned False
adds a property to this widget. This method is not called if there
was a custom handler for this property, and its char_data method returned False
adds a property to this widget . This method is not called if there was a custom handler for this property and its char_data method returned False
def add_property(self, name, val):
        if name == 'pos':  
            self._logger.debug('add_property(name=pos)')
            return
        try:
            prop = self.obj.properties[name]
        except KeyError:
            if config.debugging: raise
            self._logger.error( _("WARNING: Property '%s' not supported by this object ('%s') "), name, self.obj )
            return
        prop.load(val, activate=True)
        self._properties_added.append(name)
def add_property ( self , name , val ) : if name == 'pos' : self . _logger . debug ( 'add_property(name=pos)' ) return try : prop = self . obj . properties [ name ] except KeyError : if config . debugging : raise self . _logger . error ( _ ( "WARNING: Property '%s' not supported by this object ('%s') " ) , name , self . obj ) return prop . load ( val , activate = True ) self . _properties_added . append ( name )
adds a property to this widget.
adds a property to this widget .
"""adds a property to this widget. This method is not called if there
        was a custom handler for this property, and its char_data method returned False""" # sanity check, this shouldn't happen... # unknown property for this object; issue a warning and ignore the property #self.obj.properties_changed([name])
self
name
val