• 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
popup grid menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

popup grid menu


  • Subject: popup grid menu
  • From: "Brian Williams" <email@hidden>
  • Date: Tue, 2 Dec 2008 10:59:02 -0500
  • Thread-topic: popup grid menu

Hello,

I'm trying to implement a popup menu with a 8x9 grid of small rectangles
to choose from...

I'm trying to use Cocoa's pre-defined functionality as much as possible,
but it seems even from examples from Apple that doing grids in popups
just isn't very Cocoa-ish...

Seems the NSMenu is really only meant to be a list of stacked items (1
per row)...

What I'm doing right now is creating a menu with just 1 item and giving
it a custom view that handles tracking, drawing, and other events...

The most non-standard thing I'm doing is introducing timers to simulate
the flash that happens on mouse up when an item is selected...

Does anyone else have any better ideas to do this in a more standard
way?

Thanks,
Brian

_______________________________________________

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

  • Prev by Date: Re: best way to add transitions
  • Next by Date: Re: UIImageView drawRect not called
  • Previous by thread: Re: Cocoa replacement for SetWindowModality
  • Next by thread: currentDocument
  • Index(es):
    • Date
    • Thread