(self)
Create formatted string of modifiers plus the key.
Create formatted string of modifiers plus the key.
Create formatted string of modifiers plus the key .
def build_key_string(self):
        "Create formatted string of modifiers plus the key."
        keylist = modifiers = self.get_modifiers()
        final_key = self.list_keys_final.get('anchor')
        if final_key:
            final_key = translate_key(final_key, modifiers)
            keylist.append(final_key)
        self.key_string.set(f"<{'-'.join(keylist)}>")
def build_key_string ( self ) : keylist = modifiers = self . get_modifiers ( ) final_key = self . list_keys_final . get ( 'anchor' ) if final_key : final_key = translate_key ( final_key , modifiers ) keylist . append ( final_key ) self . key_string . set ( f"<{'-'.join(keylist)}>" )