NSTableView, binding, and tooltips
NSTableView, binding, and tooltips
- Subject: NSTableView, binding, and tooltips
- From: email@hidden
- Date: Fri, 07 Jan 2005 19:35:10 +0000
I have an app with two subclassed NSTableViews where I'm using bindings and subclassed NSArrayControllers. I am attempting to implement context-sensitive tooltips for each row with the text retrieved from the model object that the row represents. I think I have all the pieces figured out except one: How do I determine when the table view is ready for me to set up the tooltips using addToolTipRect:owner:userData:?
It needs to be implemented in such a way that the tooltips can be redefined if the array controller's arranged objects change (including if they're re-sorted) since the tooltip rectangles are dependent on the table rows and not on the objects they represent.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden