Top "Nsbutton" questions

The NSButton class is a subclass of NSControl that intercepts mouse-down events and sends an action message to a target object when it’s clicked or pressed.

NSButton how to color the text

on OSX I have an NSButton with a pretty dark image and unfortunately it is not possible to change the …

objective-c macos nsbutton textcolor
Programmatically create and position an NSButton in a macOS app?

How do I programmatically create and position a button in a macOS Cocoa application?

objective-c macos cocoa nsbutton
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 …

objective-c ios nsbutton
Disable/Enable NSButton if NSTextfield is empty or not

I´m newbie with cocoa. I have a button and a textField in my app. I want the button disabled …

cocoa nstextfield nsbutton
Simple mouseover effect on NSButton

I am creating a custom NSButtonCell for a custom rendering. Now, I want to have different aspect depending if the …

cocoa nsbutton nsbuttoncell
how to set background color of NSButton OSX

I want to set the background color of NSButton.There was nothing in the attribute inspector so i was wondering …

macos cocoa nsbutton
Objective-c: NSButton setAction not working

I'm making a couple of buttons programmatically and trying to set an action to each but I can't seem to …

objective-c cocoa nsbutton
Automatically resize an NSButton to fit programmatically changed text (Xcode)

I have an NSButton (Push Button) with some temporary title text built in Interface Builder / Xcode. Elsewhere, the title text …

xcode cocoa macos interface-builder nsbutton
Borderless NSButton turns gray when clicked

I am making a little application with three NSButtons with an image set. These buttons have no border nor background. …

cocoa user-interface interface-builder appkit nsbutton
Swift Mac OSX NSButton title color

I would like to know how to change title color to a NSButton in swift, I've seen lots of examples …

macos swift xcode6 nsbutton