Any examples of -[NSScrollView addFloatingSubview:]?
Any examples of -[NSScrollView addFloatingSubview:]?
- Subject: Any examples of -[NSScrollView addFloatingSubview:]?
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 14 Jun 2014 15:18:47 -0400
The -[NSScrollView addFloatingSubview:] method was added in OS X 10.9 Mavericks. I can't find any usage examples, and the Mavericks release notes and the reference document are not helpful to me. Playing around with it for a few minutes has gotten me nowhere.
Has anybody figured out how to use this?
The reason I'm asking is that it seems like it might be one way to put a button bar at the bottom of a source list outline and have the source list's special color show through the button bar. Lots of Apple applications and others show the source list background color through and around the buttons at the bottom, but I can't find any examples of how they do it. Maybe they just use regular colors that happen to match the system source list background color. (I want to use the special "_sourceListBackgroundColor" that automatically changes color when the window moves between active and inactive states. It's easy to assign normal colors to the button bar, but -[NSBox fillColor] won't accept special system colors like this.)
--
Bill Cheeseman - email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden