Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MrFusion

macrumors 6502a
Original poster
Jun 8, 2005
613
0
West-Europe
Any pointers on how to embed a button inside a nstextview?

I am thinking about mail. If an email has an attachment, you can click the triangle to open the list with attachments.

Thanks
 

kpua

macrumors 6502
Jul 25, 2006
294
0
Have you tried just adding it with addSubview:?

NSTextView is just an NSView subclass, so you may be able to add subviews to it like any other class, including controls...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.