newbie question about buttons..
newbie question about buttons..
- Subject: newbie question about buttons..
- From: Duncan Campbell <email@hidden>
- Date: Tue, 30 Nov 2004 12:14:55 +1100
Hey folks - i'm very much a newbie here, so forgive the stupid question:
I have created an app with a drawer, and a button that is wired (in IB)
to the "toggle:" method of the NSDrawer - this is all "automagic" IB
stuff - no code.
Now I've changed my app to have a toolbar, and am trying to figure out
how to wire up a toolbar item to the "toggle:" method instead. I've got
as far as creating the toolbar, adding an item, and writing a method
for the "click" - but i don't know how to access the method of the
NSDrawer since I don't have any reference to it thru code (it's all
just in IB).
Any ideas - as I said, I'm a complete newbie...
Cheers.
=========================================
Duncan Campbell
http://www.duncanandsarah.com/duncan
=========================================
The world is moving so fast these days that the man who says it can't be
done is generally interrupted by someone doing it.
-- E. Hubbard
_______________________________________________
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