Re: Creating Toolbar Items in IB
Re: Creating Toolbar Items in IB
- Subject: Re: Creating Toolbar Items in IB
- From: Rob Keniger <email@hidden>
- Date: Thu, 23 Oct 2008 11:22:13 +1000
On 23/10/2008, at 10:39 AM, Graham Cox wrote:
I can place a toolbar in my window, and I can add items to it. I can
set the delegate outlet of the toolbar to my document controller.
What I can't do is to tie any outlets to the toolbar items or set
any actions or targets for the items. IB's interface doesn't even
let me select the items individually, and I cannot assign my own
identifiers to them.
In the "Allowed Toolbar Items" sheet that appears when you double-
click the toolbar, select one of the toolbar items and then click it
again. You can then access the bindings, target and action settings
for the actual toolbar control rather than the toolbar "item". You
must set up the object in the Allowed Toolbar Items sheet, not in the
toolbar itself.
--
Rob Keniger
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden