• 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
NSTreeController, "canRemove" binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTreeController, "canRemove" binding


  • Subject: NSTreeController, "canRemove" binding
  • From: "Alexey Zakhlestin" <email@hidden>
  • Date: Sat, 22 Mar 2008 12:20:42 +0300

Mac OS X 10.5.2

I have NSOutlineView bound to NSTreeController
Additionally, I have a button, which is bound to "canRemove" of
NSTreeController. Unfortunately, button never gets disabled (even if I
have an empty selection in NSOutlineView)

I added NSLog() to the method, which handles click on button and put
value of "canRemove" — the value is correct there (NO when nothing is
selected, YES, when something is selected).

Visually, whenever I remove selection in NSOutlineView button gets
disabled for half-a-second, and then becomes enabled again.

What can be done to solve this issue?

--
Alexey Zakhlestin
http://www.milkfarmsoft.com/
_______________________________________________

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

  • Follow-Ups:
    • Re: NSTreeController, "canRemove" binding
      • From: Jeff Nouwen <email@hidden>
  • Prev by Date: XML to RTF transformation via XSL
  • Next by Date: Re: disabling NSButton?
  • Previous by thread: Re: XML to RTF transformation via XSL
  • Next by thread: Re: NSTreeController, "canRemove" binding
  • Index(es):
    • Date
    • Thread