Re: [F-Script-talk] Console toolbar button
Brought to you by:
pmougin
From: Philippe M. <pm...@ac...> - 2004-10-01 12:38:58
|
Le 28 sept. 04, =E0 22:59, Jonathan 'Wolf' Rentzsch a =E9crit : > Greetings all, > > It's easy to go from an interpreter window to a browser, but I needed=20= > to > go in the opposite direction in my app (briefly, I call=20 > [[[FSInterpreter > alloc] init] browse:myObject] to get a better exploratory environment > than gdb offers). > Hi Jonathan, You can also do this: menu :=3D FScriptMenuItem alloc init autorelease. NSApplication sharedApplication mainMenu addItem:menu. menu interpreterView interpreter browse:myObject. > So, I added a basic console window implementation into the .framework, > and made it accessible via a new "Console" toolbar button in the > BigBrowser. > > Let me know if this is interesting to other folks and I'll toss you = the > code. > It might be interesting to add something like that to F-Script. Show us the code! Philippe Mougin= |