Re: replacing a part of the image with other image
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