Re: Playing around with BWToolKit

2008-11-16 Thread Brandon Walkin
On 16-Nov-08, at 5:10 AM, Nathan Kinsinger wrote: On Nov 16, 2008, at 1:50 AM, Brandon Walkin wrote: Hi Dave, If the user isn't able to configure the toolbar, then all you need to do is get a reference to the BWSelectableToolbar and call this method on it: - (void)switchToItemAtIndex:(

Re: Playing around with BWToolKit

2008-11-16 Thread Nathan Kinsinger
On Nov 16, 2008, at 1:50 AM, Brandon Walkin wrote: Hi Dave, If the user isn't able to configure the toolbar, then all you need to do is get a reference to the BWSelectableToolbar and call this method on it: - (void)switchToItemAtIndex:(int)anIndex animate:(BOOL)shouldAnimate The index is

Re: Playing around with BWToolKit

2008-11-16 Thread Brandon Walkin
Hi Dave, If the user isn't able to configure the toolbar, then all you need to do is get a reference to the BWSelectableToolbar and call this method on it: - (void)switchToItemAtIndex:(int)anIndex animate:(BOOL)shouldAnimate The index is the raw toolbar index - it's zero based and includes

Playing around with BWToolKit

2008-11-15 Thread Dave DeLong
Hey everyone, I've been playing around with Brandon's new BWToolKit, and I was wondering if there's any way to hook the ToolbarItems up through code. I've got a window with four different sections, and I want to have some NSMenuItems that, when selected, will open the window to the appro