• 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: replacing a part of the image with other image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: replacing a part of the image with other image


  • Subject: Re: replacing a part of the image with other image
  • From: email@hidden
  • Date: Wed, 08 Feb 2006 11:54:25 +0100

Hi,

if you have an outlet plugged to your button, just do :
[myButtonOutlet setImage:[NSImage imageNamed:@"theImageIWantToDisplay"];

Is this help ?
Guillaume

Selon Basavaraj Yahoo <email@hidden>:

> Hello,
>
> Beginner question.
>
> I am creating player UI. For that I have an image of Player UI and seperate
> images for play, pause, stop etc.. buttons.
>
> And I used NSImage to create a image and placed into NSImageView.
> It is showing. And now I want to put play, pause and stop buttons images on
> the respective places.
> How can I do this ?
>
> Is the way I started is correct ? or I need to use some thing else to do
> this.
>
> Thanks in advance.
>
> Regards,
> Basavaraj
>  _______________________________________________
> 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
>


 _______________________________________________
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: 
 >replacing a part of the image with other image (From: Basavaraj Yahoo <email@hidden>)

  • Prev by Date: Re: Core Data and @count keypath
  • Next by Date: Re: replacing a part of the image with other image
  • Previous by thread: replacing a part of the image with other image
  • Next by thread: Re: replacing a part of the image with other image
  • Index(es):
    • Date
    • Thread