• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Tooltips in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tooltips in NSTableView


  • Subject: Re: Tooltips in NSTableView
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 29 Jan 2002 14:22:01 +0100

G.,

>>>>>> G. 'Andrew' Tapolow (GAT) wrote at Mon, 28 Jan 2002 20:34:43 -0800:
GAT> I'm trying to place tool tips on items inside one column for an
GAT> NSTableView.

Table view (through column) reuses one cell just to draw. The cell though
does not persist anywhere: the view you see (and mouse stays over to display
tooltips) is the NSTableView.

So, you have to implement an appropriate method to get tooltip (see NSView
for that, I don't remember the exact syntax) _at the TableView_ level, either
using your own subclass or by a category. The method would check which
"cell" the mouse happens to be over, and return the appropriate tip.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc


References: 
 >Tooltips in NSTableView (From: "G. 'Andrew' Tapolow" <email@hidden>)

  • Prev by Date: Re: Springs and struts with splitview
  • Next by Date: Re: Drawing shadows?
  • Previous by thread: Tooltips in NSTableView
  • Next by thread: Re: Tooltips in NSTableView
  • Index(es):
    • Date
    • Thread