[TxMt] tm_dialog: add FileSelect + Appending Accessory Views
bibiko at eva.mpg.de
Mon Jul 30 14:15:20 UTC 2007
On 28.07.2007, at 05:40, Allan Odgaard wrote:
> On 27. Jul 2007, at 16:51, Hans-Jörg Bibiko wrote:
>> But now I need some help with the accessory view:
>> 2) How can I load such a nib and how can I have access to it
>> within the showFileSelect method?
> You will load it just as a regular nib, but where we presently
> iterate the top-level nib objects to find one of type NSWindow, you
> will need to find one of NSView, and then use that.
Thanks for the hint. It works ;)
I will rewrite the code now and post a diff against the latest
To invoke such a panel:
tm_dialog -I open
tm_dialog -I save accessory.nib
-I stands for --internal-panel
One question: Which panels (NSOpenPanel, NSSavePanel, NSFontPanel,
etc.) would make sense to include?
BTW I like tm_dialog ;)
More information about the textmate