wxPython/wxGlade-0.9.1/clipboard.py
def dump_widget(widget):
    "build the XML string and pickle it together with the layout properties"
    xml_unicode = []
    widget.node.write(xml_unicode, 0)
    flag = option = span = border = None
    flag = widget.properties.get("flag")
    if flag is not None: flag = flag.get_string_value()
    proportion = getattr(widget, "proportion", 0)
    span = getattr(widget, "span", (1,1))
    border  = getattr(widget, "border", 0)
    return widget2clipboard( proportion, span, flag, border, "".join(xml_unicode) )
build the XML string and pickle it together with the layout properties
build the XML string and pickle it together with the layout properties
build the XML string and pickle it together with the layout properties
def dump_widget(widget):
    xml_unicode = []
    widget.node.write(xml_unicode, 0)
    flag = option = span = border = None
    flag = widget.properties.get("flag")
    if flag is not None: flag = flag.get_string_value()
    proportion = getattr(widget, "proportion", 0)
    span = getattr(widget, "span", (1,1))
    border  = getattr(widget, "border", 0)
    return widget2clipboard( proportion, span, flag, border, "".join(xml_unicode) )
def dump_widget ( widget ) : xml_unicode = [ ] widget . node . write ( xml_unicode , 0 ) flag = option = span = border = None flag = widget . properties . get ( "flag" ) if flag is not None : flag = flag . get_string_value ( ) proportion = getattr ( widget , "proportion" , 0 ) span = getattr ( widget , "span" , ( 1 , 1 ) ) border = getattr ( widget , "border" , 0 ) return widget2clipboard ( proportion , span , flag , border , "" . join ( xml_unicode ) )
build the XML string and pickle it together with the layout properties
build the XML string and pickle it together with the layout properties
"build the XML string and pickle it together with the layout properties"
widget