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

Re: NSPopupButton


  • Subject: Re: NSPopupButton
  • From: "I. Savant" <email@hidden>
  • Date: Fri, 8 Sep 2006 14:29:08 -0400


This really could be answered by either:

1 - Just trying it
  or
2 - Looking up NSPopUpButton in the documentation.

--
I.S.


On Sep 8, 2006, at 2:26 PM, Doug Penny wrote:

What method do I use to change the image though, setImage?

Thanks,
Doug


On 9/8/06, PGM <email@hidden> wrote:
You register for NSPopUpButtonWillPopUpNotification, and change the
image when that notification is called. You can restore the image
again using NSMenuDidEndTrackingNotification.

Patrick


On 8-Sep-06, at 10:02 AM, Doug Penny wrote:

> Along with this question... does can someone share how to change the
> icon for a NSPopUpButton when clicked. I am trying to create an
> action button similar to the one found in Mail.app for adding smart
> mailboxes. Everything works great using a NSPopUpButton, but I would
> like for the icon to change when click so it looks like the button is
> depressed. I already have the image file, I just need to figure out
> how to trigger the action. Thanks.
>
> Doug
>
>
> On 9/7/06, Wagner Truppel <email@hidden> wrote:
>> What you're describing annoyed me to no end until I found a simple
>> solution: select any one of the NSPopUpButton menu items, then hit
>> command-C (copy) followed by command-V (paste). As you paste the
>> copied item, it gets added as a new item. Repeat the paste operation
>> as many times as you need, then edit them as desired.
>>
>> Wagner
>>
>> ============
>>
>> The difference between an auto mechanic and a quantum mechanic is
>> that the quantum mechanic can get the car inside the garage without
>> opening the door.
>>
>> On 6-Sep-06, at 20:52 PM, Dave Budde wrote:
>>
>> > Is there a way in Interface Builder to make the number of entries
>> > in an NSPopUpButton larger than the default 3? Everything else
>> > seems to be configurable in this regard except this one control.
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Cocoa-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> 40gmail.com
>>
>> This email sent to email@hidden
>>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> 40sympatico.ca
>
> This email sent to email@hidden



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


This email sent to email@hidden

_______________________________________________ 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
References: 
 >Re: Re: NSPopupButton (From: Wagner Truppel <email@hidden>)
 >Re: Re: Re: NSPopupButton (From: "Doug Penny" <email@hidden>)
 >Re: NSPopupButton (From: PGM <email@hidden>)
 >Re: Re: NSPopupButton (From: "Doug Penny" <email@hidden>)

  • Prev by Date: Re: Re: NSPopupButton
  • Next by Date: Re: Yet another memory management question - THANKS
  • Previous by thread: Re: Re: NSPopupButton
  • Next by thread: Re: NSPopupButton
  • Index(es):
    • Date
    • Thread