Re: order of NSToolbarItems in toolbar

2009-04-08 Thread Kyle Sluder
On Wed, Apr 8, 2009 at 5:12 AM, Tilo Villwock tilovillw...@gmx.de wrote: Ok but i'm writing an audio player, where the toolbar items shouldn't be rearranged by the user as there is no real use for that. Furthermore i was talking about the way the items are set up initially, no matter how they

Re: order of NSToolbarItems in toolbar

2009-04-08 Thread Tilo Villwock
Got it. The toolbar delegate methods return an array. The order in there determine the order in the toolbar later on. Thanks anyways. Tilo ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: order of NSToolbarItems in toolbar

2009-04-08 Thread Graham Cox
On 08/04/2009, at 7:12 PM, Tilo Villwock wrote: Ok but i'm writing an audio player, where the toolbar items shouldn't be rearranged by the user as there is no real use for that. Furthermore i was talking about the way the items are set up initially, no matter how they could be rearranged

Re: order of NSToolbarItems in toolbar

2009-04-08 Thread Tilo Villwock
Am 08.04.2009 um 11:27 schrieb Graham Cox: On 08/04/2009, at 7:12 PM, Tilo Villwock wrote: Ok but i'm writing an audio player, where the toolbar items shouldn't be rearranged by the user as there is no real use for that. Furthermore i was talking about the way the items are set up

Re: order of NSToolbarItems in toolbar

2009-04-08 Thread Kyle Sluder
On Wed, Apr 8, 2009 at 5:27 AM, Graham Cox graham@bigpond.com wrote: The initial order as laid out in IB sets the initial order by the way. I found the way this works within IB a little bit odd at first, but once you spend a little time with it it starts to make some sense. As long as

Re: order of NSToolbarItems in toolbar

2009-04-08 Thread Kyle Sluder
On Wed, Apr 8, 2009 at 5:36 AM, Tilo Villwock tilovillw...@gmx.de wrote: You're right, that would be an option. I'm on a 10.4 system here, is laying out your items in IB a feature new in 10.5? Because i don't see how to do this here in IB. Yes, it is. This is probably where much of the

Re: order of NSToolbarItems in toolbar

2009-04-08 Thread Tilo Villwock
Am 08.04.2009 um 02:39 schrieb Keary Suska: On Apr 7, 2009, at 6:18 PM, Tilo Villwock wrote: Hi, is there a way to manipulate the order NSToolbarItems are added to a toolbar, when the application is starting. I have implemented the delegate methods to provide the items, and which items

order of NSToolbarItems in toolbar

2009-04-07 Thread Tilo Villwock
Hi, is there a way to manipulate the order NSToolbarItems are added to a toolbar, when the application is starting. I have implemented the delegate methods to provide the items, and which items are allowed, but since items are fetched by identifier and not by position i don't see how

Re: order of NSToolbarItems in toolbar

2009-04-07 Thread Graham Cox
On 08/04/2009, at 10:18 AM, Tilo Villwock wrote: is there a way to manipulate the order NSToolbarItems are added to a toolbar, when the application is starting. I have implemented the delegate methods to provide the items, and which items are allowed, but since items are fetched by