'Set configuration options for all subwidgets (and self).'

def config_all(self, option, value):

    if (option == ''):
        return
    elif (not isinstance(option, StringType)):
        option = repr(option)
    if (not isinstance(value, StringType)):
        value = repr(value)
    names = self._subwidget_names()
    for name in names:
        self.tk.call(name, 'configure', ('-' + option), value)
