(t, attr, val, round_float=True)
Set the attribute <attr> to <val> of the XML node connected with text box dict <t>.
Set the attribute <attr> to <val> of the XML node connected with text box dict <t>.
Set the attribute <attr > to <val > of the XML node connected with text box dict <t > .
def update_text_xmlnode(t, attr, val, round_float=True):
    """
    Set the attribute <attr> to <val> of the XML node connected with text box dict <t>.
    """
    if round_float:
        val = int(round(val))
    t['xmlnode'].attrib[attr] = str(val)
def update_text_xmlnode ( t , attr , val , round_float = True ) : if round_float : val = int ( round ( val ) ) t [ 'xmlnode' ] . attrib [ attr ] = str ( val )