• 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
"Go to" widget in a TableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Go to" widget in a TableView


  • Subject: "Go to" widget in a TableView
  • From: marca <email@hidden>
  • Date: Tue, 22 Jun 2004 18:28:25 +0200

Hi,


I'd like to insert a "Go To" widget (i.e. Like the iTMS link widget in iTunes table views; a little grey circle with an arrow in it) in some NSTableView's cells.

I've sub-classed NSTextFieldCell and played around with :

- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView {

To get the widget drawn in the cell.

But I can't figure how I could track mouse click to (1) provide feedback (i.e. by darkening the widget for instance) and (2) respond to mouse up.

Any idea on how to make a mixed text / image button cell ?

-- marca
_______________________________________________
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: "Go to" widget in a TableView
      • From: James DiPalma <email@hidden>
  • Prev by Date: Re: Confusing problems with inheritance in Objective-C
  • Next by Date: Re: Cmd+ to be same as cmd=
  • Previous by thread: Re: NSColorWell, setColor and bindings
  • Next by thread: Re: "Go to" widget in a TableView
  • Index(es):
    • Date
    • Thread