Accessing Cocoa UI Componets
Accessing Cocoa UI Componets
- Subject: Accessing Cocoa UI Componets
- From: Jerrod Fowkes <email@hidden>
- Date: Tue, 25 Apr 2006 06:39:50 -0700 (PDT)
Hello,
I have a button on a window that is bound to an action. I need the ability to access that button during runtime. I would like to change the image of that button when it is clicked and then back again when it is clicked again.
Is there a way to do this?
I would like the ability to say;
NSButton* button;
[[button alloc] init];
[button setImage: *];
Maybe I can just declare one, and then put it on top of the one that I have? -Jerrod
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
_______________________________________________
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