• 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
Binding an NSMenuItem in an NSPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Binding an NSMenuItem in an NSPopUpButton


  • Subject: Binding an NSMenuItem in an NSPopUpButton
  • From: Michael Wood <email@hidden>
  • Date: Sun, 24 Apr 2005 19:37:09 -0700

I am trying to create a "Save To" NSPopUpButton preference similar to the Safari "Save downloaded files to:" NSPopupButton preference.

Currently I am able to open the File dialogue when I click on the "Other..." menu item, change the top menu item to the folder location and add the folder icon. I am trying to use Cocoa Bindings to save these changes. Unfortunately, it doesn't seem to save. Could someone shed light on how I can use Bindings to save a changed NSMenuItem in a NSPopUpButton?

I tried other simple Bindings using NSTextField's with no problems.

Cheers,

Mike.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Conceptual help with CFMessagePort/NSMessagePort
  • Next by Date: Re: Java vs. Objective-C for Cocoa
  • Previous by thread: Re: Converting CGImageRefs to NSImages, how?
  • Next by thread: Make a Service AppleScriptable
  • Index(es):
    • Date
    • Thread