nsbutton
NSButton key equivalent
I can\'t make a key equivalent work on an NSButton that I have created programatically.Can anyone advise me of what I\'m doing wrong? The button works as intended when pressed, but the key equivalent[详细]
2023-02-11 19:37 分类:问答How do I hide a button when an IBAction is performed?
I am attempting to hide开发者_开发问答 a NSButton that performs miniaturize when a different NSButton on the interface is clicked. My attempts thus far have been unsuccessful, this is what I have trie[详细]
2023-02-11 14:31 分类:问答Selectable area for NSButton
So I am basically trying to make a list of selectable text items (just a list of text, no button bezels, backgrounds, etc.).I suppose that I could make this happen with an NSTableview, but trying to m[详细]
2023-02-09 21:59 分类:问答NSButton and Image Animation
Hello I am writing an mac os x application that contains several nsbuttons. Each nsbutton has its own image.[详细]
2023-02-08 02:59 分类:问答NSButton's images lose transparency on selection
I have edited some NSButtons in my Mac OS X application and set a custom image to them. The images are in png format with transparency. When I sele开发者_如何学Goct a button, the background of the ima[详细]
2023-02-07 05:52 分类:问答Cocoa forControlEvents:WHATGOESHERE
In Cocoa/Objective-C if I have created a button programmatically, what do I put in for my control event?[详细]
2023-02-04 11:33 分类:问答How to setKeyEquivalent to Enter/Return key on NSButton?
I\'ve tried [myButton setKeyEquivalent:@\"\\n\"]开发者_如何学Python but that didn\'t work. I feel like there should be some predefined constant for it that I\'m just missing.[详细]
2023-02-03 20:37 分类:问答how to code NSButton to look just like image
Using code (not the Interface builder) I need to create an NSButton that looks like an image. Specifically I开发者_Python百科 want to use NSImageNameStopProgressFreestandingTemplate and I need it not[详细]
2023-02-01 19:29 分类:问答Custom NSButton and NSButtonCell
I\'m trying to create a custom button look. From what I\'ve gathered, NSButtonCell does the drawing, so I should actually be overwriting that instead.[详细]
2023-01-29 09:50 分类:问答How to show a keyboard via press a NSButton?
I only know few ways to show a keyboard on iOS touch textfield,search bar,textview..... Is it can via touch a button to show keyboard ???[详细]
2023-01-29 04:13 分类:问答