'Query or modify the configuration options of the Tix application
context. If no option is specified, returns a dictionary all of the
available options.  If option is specified with no value, then the
command returns a list describing the one named option (this list
will be identical to the corresponding sublist of the value
returned if no option is specified).  If one or more option-value
pairs are specified, then the command modifies the given option(s)
to have the given value(s); in this case the command returns an
empty string. Option may be any of the configuration options.'

def tix_configure(self, cnf=None, **kw):

    if kw:
        cnf = _cnfmerge((cnf, kw))
    elif cnf:
        cnf = _cnfmerge(cnf)
    if (cnf is None):
        cnf = {}
        for x in self.tk.split(self.tk.call('tix', 'configure')):
            cnf[x[0][1:]] = ((x[0][1:],) + x[1:])
        return cnf
    else:
        if isinstance(cnf, StringType):
            x = self.tk.split(self.tk.call('tix', 'configure', ('-' + cnf)))
            return ((x[0][1:],) + x[1:])
        return self.tk.call((('tix', 'configure') + self._options(cnf)))
