'Determine list of names of key modifiers for this platform.
The names are used to build Tk bindings -- it doesn\'t matter if the
keyboard has these keys, it matters if Tk understands them. The
order is also important: key binding equality depends on it, so
config-keys.def must use the same ordering.'

def SetModifiersForPlatform(self):

    if (sys.platform == 'darwin'):
        self.modifiers = ['Shift', 'Control', 'Option', 'Command']
    else:
        self.modifiers = ['Control', 'Alt', 'Shift']
    self.modifier_label = {'Control': 'Ctrl'}
