def addoptions(root, cnf=None, **kw):
    if cnf is None:
        return root.tk.splitlist(root.tk.call('::wm_default::addoptions'))
    return root.tk.splitlist(
        apply(root.tk.call,
              ('::wm_default::addoptions',) + root._options(cnf,kw)))
2) Setting the Tk options database (::wm_default::addoptions).
dataset/ETHPy150Open francelabs/datafari/windows/python/tcl/tix8.4.3/pref/WmDefault.py/addoptions