nsbuttoncell Questions

7

Solved

I am creating a custom NSButtonCell for a custom rendering. Now, I want to have different aspect depending if the mouse is over the button or not. How can I get this information? Thanks and rega...
Grapefruit asked 23/5, 2011 at 8:37

1

I have a class derived from NSButtonCell where I draw bezel: override func drawBezel(withFrame frame: NSRect, in controlView: NSView) { let path = NSBezierPath(bound: frame.insetBy(dx: CGFloat(co...
Tain asked 22/10, 2018 at 7:39

4

Solved

When creating Cocoa bevel button with custom image and alternate image I'm having a strange behavior. In the pressed state the button background becomes white. I'm adding the button as subview of a...
Fourierism asked 13/10, 2011 at 15:12

4

Solved

I've been reading through the Apple documentation about NSButtons and cells and I really can't seem to understand the distinction between the two. Adding to this complexity, it looks like both of t...
Brigantine asked 24/5, 2011 at 15:25

1

I have a NSTableVIew for multi-selection purposes with two columns, the first one with a NSButtonCell as checkbox and the other one as a title. The idea is to check the items to be added afterword...
Fibriform asked 30/11, 2010 at 12:2

2

Solved

in my cocoa application, I need a custom NSCell for an NSTableView. This NSCell subclass contains a custom NSButtonCell for handling a click (and two or three NSTextFieldCells for textual contents)...
Genuflection asked 17/2, 2010 at 11:53
1

© 2022 - 2024 — McMap. All rights reserved.