wxPython/wxGlade-0.9.1/codegen/__init__.py
def add_property_handler(self, property_name, handler, widget_name=None):
        """Sets a function to parse a portion of XML to get the value of the property property_name.
        If widget_name is not None, the function is called only if the property in inside a widget whose class is
        widget_name."""
        if not widget_name:
            self.global_property_writers[property_name] = handler
        else:
            try:
                self._property_writers[widget_name][property_name] = handler
            except KeyError:
                self._property_writers[widget_name] = {property_name: handler}
Sets a function to parse a portion of XML to get the value of the property property_name.
        If widget_name is not None, the function is called only if the property in inside a widget whose class is
        widget_name.
Sets a function to parse a portion of XML to get the value of the property property_name.
If widget_name is not None, the function is called only if the property in inside a widget whose class is
widget_name.
Sets a function to parse a portion of XML to get the value of the property property_name . If widget_name is not None the function is called only if the property in inside a widget whose class is widget_name .
def add_property_handler(self, property_name, handler, widget_name=None):
        if not widget_name:
            self.global_property_writers[property_name] = handler
        else:
            try:
                self._property_writers[widget_name][property_name] = handler
            except KeyError:
                self._property_writers[widget_name] = {property_name: handler}
def add_property_handler ( self , property_name , handler , widget_name = None ) : if not widget_name : self . global_property_writers [ property_name ] = handler else : try : self . _property_writers [ widget_name ] [ property_name ] = handler except KeyError : self . _property_writers [ widget_name ] = { property_name : handler }
Sets a function to parse a portion of XML to get the value of the property property_name.
Sets a function to parse a portion of XML to get the value of the property property_name .
"""Sets a function to parse a portion of XML to get the value of the property property_name.
        If widget_name is not None, the function is called only if the property in inside a widget whose class is
        widget_name."""
self
property_name
handler
widget_name