Re: xcode-debug style toolbar above editor area
Re: xcode-debug style toolbar above editor area
- Subject: Re: xcode-debug style toolbar above editor area
- From: Joar Wingfors <email@hidden>
- Date: Thu, 4 Mar 2010 07:49:47 -0800
Hello Mazen,
You're correct - NSToolbar can only be used at the top of a window. If you want to create something that is similar to a toolbar for anywhere else you will have to make your own arrangement of controls just like you originally suggested.
j o a r
On 3 mar 2010, at 12.41, Mazen M. Abdel-Rahman wrote:
> Thanks for the quick reply. My understanding was that NSToolBar is specifically meant for windows - i.e. it would get attached to an NSWindow. The "tool bar" I am referring to in xcode is either a view or attached to a view - and not to a window. At least that's what it seems like to me.
>
> Thanks,
> Mazen
>
> On Mar 3, 2010, at 1:17 PM, Abhinay Kartik Reddyreddy wrote:
>
>> Look for NSToolbar in Interface Builder.......
>>
>>
>> On Mar 3, 2010, at 2:01 PM, Mazen M. Abdel-Rahman wrote:
>>
>>> Hi All,
>>>
>>> Thanks to everyone for helping me with my previous question. I had another one though.
>>>
>>> When in a debugging session in xcode - but not in the main debug view - a small "toolbar" appears above the editor. In my case it's between the editor and the the file name list, and contains debug command buttons (step into, step through, etc.) as well as one button to open the debugger view and another to open the debugger console.
>>>
>>> My question is what is the best way to copy this style? Is it simply a custom NSView with the background set (in code) to grey? That is my assumption but I thought I would ask.
>>>
>>> Thanks!
>>> Mazen Abdel-Rahman
>>> _______________________________________________
>>>
>>> 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
>>
>
> _______________________________________________
>
> 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
_______________________________________________
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