• 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: Custom TabViewItem Things
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom TabViewItem Things


  • Subject: Re: Custom TabViewItem Things
  • From: Seth Willits <email@hidden>
  • Date: Sun, 28 Mar 2004 19:26:09 -0800

On Mar 28, 2004, at 6:18 PM, Scott Thompson wrote:

Another option might be to subclass NSSegmenetedCell to provide the drawing behavior you are looking for but rely on the segmented control for much of the functionality.

That's an interesting idea. That could do a lot for me, but I'm not entire sure.

Here's what I'm after:
- The control would wider than the sum width of the buttons. Like in
GoLive, the control spans the width of the window
- Buttons are added and removed on the fly
- Buttons are always left justfied
- Buttons have the ability to hold an icon and text caption
- Buttons would ideally be able to contain another button. Think
Safari. I'll be using them exactly in the same way, but I want
the "Adobe" appearance.
- If too many buttons are in the control to fit in the view, the
buttons are squished to fit as many as possible. Once it goes over
the absolute max, it would present a menu, exactly like Safari.


I'm quite new to Cocoa although not new to custom controls at all. The seems quite (logically) easy for the most part (buttons inside buttons would be the trickiest part I imagine), but I'm not sure how to implement it in Cocoa.



Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames

"If you can't beat your computer at chess, try kick boxing."
-- Someone
------------------------------------------------------------------------ ---
_______________________________________________
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: Custom TabViewItem Things
      • From: Michael Becker <email@hidden>
    • Re: Custom TabViewItem Things
      • From: Andreas Mayer <email@hidden>
References: 
 >Custom TabViewItem Things (From: Seth Willits <email@hidden>)
 >Re: Custom TabViewItem Things (From: Scott Thompson <email@hidden>)

  • Prev by Date: Re: SIGIO and AppKit main loop
  • Next by Date: Re: SIGIO and AppKit main loop
  • Previous by thread: Re: Custom TabViewItem Things
  • Next by thread: Re: Custom TabViewItem Things
  • Index(es):
    • Date
    • Thread