PAGEANT Authentication agent for Putty, PSCP, PSFTP, and Plink. PLINK Command Line interface to putty back ends. PUTTYGEN Utility to generate RSA and DSA keys. PSFTP general file transfer sessions much like FTP. To display a key equivalent on a button, set the image and alternate image to nil, set the key equivalent, and then set the image position.Īnd then theres the keyEquivalentModifier to make the button react only when a special key is pressed at the same time. PSCP Command-line utility to copy files securely. However, the key equivalent isnt displayed if the image position is set to NSNoImage, NSImageOnly, or NSImageOverlaps that is, the button must display both its title and its image (which is the key equivalent in this case), and they must not overlap. If you set a key equivalent instead of an image, the buttons interior is redrawn. You could also make the button show the key, it seems: Still the wish for buttons reacting to more than Return and ESC arises from time to timeĭeclare Sub setKeyEquivalent lib "AppKit" selector "setKeyEquivalent:" (handle as integer, key as cfstringRef) While Apple lets you set them they don’t necessarily encourage their use in any of the HI guidelines
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |