• 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
Toolbar questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Toolbar questions


  • Subject: Toolbar questions
  • From: Quentin Mathé <email@hidden>
  • Date: Thu, 16 May 2002 02:54:42 +0200

1) In the absence of a custom menu form representation, NSToolbar by default disables a view item's overflow menu item.

What is the meaning of this sentence from the Cocoa documentation ? ... I don't understand what means "overflow menu item"...

2) I have a toolbar item which uses a custom view. I created a class for this toolbar item where I implemented the "validate" method to enabled or disable my view. But I have a problem...
When the toolbar item is disabled : the view is disabled, but not the label. I don't know how to deactivate it. I try to call [self setEnabled:NO] in the validate method but it doesn't work. Perhaps I should manage my own menuFormRepresentation... ?

3) Sometimes the validateToolbarItem: method doesn't get called : I must move my mouse over the toolbar to have the items properly disabled. Is there some way to force the refresh of the toolbar ?

--
Quentin Mathi
email@hidden
_______________________________________________
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.

  • Prev by Date: Object specifier function
  • Next by Date: about playing quicktime movies in Cocoa
  • Previous by thread: Object specifier function
  • Next by thread: about playing quicktime movies in Cocoa
  • Index(es):
    • Date
    • Thread