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

Re: Tooltip Question


  • Subject: Re: Tooltip Question
  • From: Andreas Mayer <email@hidden>
  • Date: Mon, 26 May 2003 23:30:11 +0200

Am Montag, 26.05.03 um 17:55 Uhr schrieb Ryan Stevens:

I couldn't get it to work right off the bat though. My
subclass was in the way so I tried wedging it in which didn't really
work.

Couldn't you just subclass my class? I don't think it's altering anything besides adding tooltip handling.

and you have to mouse out and back in to get a different tooltip

Well, that's exactly what I was trying to avoid ... :)

I was specifically trying not to redo the tooltips in
reloadData since that gets called far too often (I think).

Hm. I'm not redoing anything in reloadData. I'm just invalidating the tooltip rectangles. They get recalculated only when a cell is redrawn. I think there are more actions than changing the number of rows and resizing that alter cells. What happens when reordering columns? Does resizing columns call viewWillStartLiveResize?

for (;i<numRows;i++)
[self addToolTipRect:[self rectOfRow:i] owner:self userData:nil];

Isn't this getting slow with large tables? That was the reason why I'm calculating visible cells only, anyway.


bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Tooltip Question
      • From: Ryan Stevens <email@hidden>
References: 
 >Re: Tooltip Question (From: Ryan Stevens <email@hidden>)

  • Prev by Date: Blurry NSImages?
  • Next by Date: Re: Recommendations for scripting/extension languages for Cocoa
  • Previous by thread: Re: Tooltip Question
  • Next by thread: Re: Tooltip Question
  • Index(es):
    • Date
    • Thread