Re: [F-Script-talk] Console toolbar button
Brought to you by:
pmougin
From: Jonathan 'W. R. <ni...@re...> - 2004-10-03 23:20:29
|
Philippe Mougin, pm...@ac..., wrote: >I'm dumb. One thing you are dot, is that. :-) >I meant: enter these 3 commands in GDB: > >set $menu = (id)[(id)[(id)NSClassFromString(@"FScriptMenuItem") alloc] >init] > >p (id)[(id)[(id)[NSApplication sharedApplication] mainMenu] >addItem:$menu] > >p (id)[(id)[(id)[$menu interpreterView] interpreter] browse:myObject] Much better, thanks! | Jonathan 'Wolf' Rentzsch http://rentzsch.com | Red Shed Software http://redshed.net | "better" necessarily means "different" |