nsstatusitem
Drag and Drop with NSStatusItem
I\'m trying to write an application that allows the user to drag files from the Finder and drop them onto an NSStatusItem.So far, I\'ve created a custom开发者_如何转开发 view that implements the drag[详细]
2023-02-24 11:32 分类:问答Removing NSStatusItem view
One I set a view for NSStatusItem by setView:, how can i remove it later on if I want to? Is t开发者_如何转开发his even possible? Thanks.To remove it, just call:[详细]
2023-02-15 08:39 分类:问答Cocoa - Capturing NSStatusItem mouse hover event
How do I开发者_JS百科 execute a function when a user\'s mouse hovers over my NSStatusItem?If you assign a custom NSView to your NSStatusItem\'s view property, you can override the NSResponder methods[详细]
2023-02-13 03:53 分类:问答Communicate with NSView from another class
I have an NSView thats used as a status item and I need to run this on/in it: thingOne = NO; [self setNeedsDisplay:YES];[详细]
2023-02-12 01:19 分类:问答Can an NSStatusItem be shrunk to fit?
I have a variable length开发者_开发百科 NSStatusItem which I\'d like to stay visible whenever possible, even if that means showing only some of the content, but when my item is wide enough to run into[详细]
2023-02-10 01:51 分类:问答Cocoa - Custom appearance of NSStatusItem in menu bar
It is easy to set the title and length of an NSStatusItem. Is is possible to change the appearance of the NSStatusItem开发者_Python百科 entirely, and replace it with a custom view?[详细]
2023-02-09 09:15 分类:问答Fuzzy text in NSStatusItem
I\'m displaying a statusItem at launch like this: theItem = [[[NSStatusBar systemStatusBar] statusItemWithLength:NSVariableStatusItemLength] retain];[详细]
2023-02-07 07:00 分类:问答Cocoa: Right Click NSStatusItem
I am a .Net developer who need to port a small project into Mac, so I know next to nothing about Objective C. In fact the code below was just a bunch of grasping at straws and shooting in the dark.[详细]
2023-02-02 01:04 分类:问答Show NSOpenPanel in a NSStatusItem app
I am writing a status item app that does not have an NSWindow. I to pull up an NSOpenPanel when the user clicks on the status item. How wou开发者_JS百科ld one do this when the app does not utilize an[详细]
2023-01-29 06:58 分类:问答How do I use an indeterminate status indicator as the image for an NSStatusItem?
I have an application that is an NSStatusItem. It has a few different modes, each of which require an external pr开发者_开发技巧ocess to be launched, during which the icon is simply highlighted, and[详细]
2022-12-27 22:26 分类:问答
加载中,请稍侯......