• 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: NSTableView tooltips
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView tooltips


  • Subject: Re: NSTableView tooltips
  • From: Graham <email@hidden>
  • Date: Thu, 21 Feb 2008 11:19:55 +1100

Not sure if this is the only way, but you can implement the delegate method:

- (NSString *)tableView:(NSTableView *)aTableView toolTipForCell: (NSCell *)aCell rect:(NSRectPointer)rect tableColumn:(NSTableColumn *) aTableColumn row:(int)row mouseLocation:(NSPoint)mouseLocation





-----

S.O.S.



On 21/02/2008, at 11:04 AM, Quincey Morris wrote:

Anyone have advice about creating tooltips for a NSTableView and its parts?

I laboriously created tooltips in IB3.0 for the table view, the header "row", and each column, and saw the following behavior:

-- Hovering over the body of a column just gave the tooltip for the whole table.

-- Hovering over a header gave the tooltip for the column below it.

-- Nothing produced the tooltip set up for the header row.

Is there any straightforward way to get this to work right? (I'm trying to get a header tooltip over headers and column tooltips over the body of the columns.)

BTW, deleting the table tooltip didn't "reveal" the column tooltips underneath. Instead, no tooltip displayed anywhere in the body of the table.

_______________________________________________

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:
40ictinternational.com.au


This email sent to 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


  • Follow-Ups:
    • Re: NSTableView tooltips
      • From: Quincey Morris <email@hidden>
References: 
 >NSTableView tooltips (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Binding an entity object (not an entity attribute) to a Table View Column
  • Next by Date: Re: Rotated NSImage drawAtPoint:... slow (*$?! photoshop)
  • Previous by thread: NSTableView tooltips
  • Next by thread: Re: NSTableView tooltips
  • Index(es):
    • Date
    • Thread