[SVN] Re: tm_dialog2 output

Brett Bates bbates at perforce.co.uk
Fri Apr 15 09:01:20 UTC 2011


Well I used ui.rb in the end:

#! /usr/bin/env ruby
require ENV['TM_SUPPORT_PATH'] + '/lib/ui'

output = []

TextMate::UI.dialog(:nib => '/Users/brett/p4/public/p4mate/connections.nib', :parameters =>  {} , :center => true) { |window|
    output = window.wait_for_input    
}


Though if any one knows what needs to be sent to the nib to dynamically populate a drop down box it would be much obliged

Brett

----- Original Message -----
From: "Timothy Bates" <timothy.c.bates at gmail.com>
To: "Bundle developers" <textmate-dev at lists.macromates.com>
Sent: Thursday, 14 April, 2011 10:26:10 AM
Subject: [SVN] Re: tm_dialog2 output

cate to share? :-)
On 14 Apr 2011, at 9:52 AM, Brett Bates wrote:
> Don't worry I worked it out.

_______________________________________________
textmate-dev mailing list
textmate-dev at lists.macromates.com
http://lists.macromates.com/listinfo/textmate-dev


--------------------------------------------------------------------------------
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. Please 
note that any views or opinions presented in this email are solely those of the 
author and do not necessarily represent those of Perforce Software. Finally, 
the recipient should check this email and any attachments for the presence of 
viruses. Perforce Software accepts no liability for any damage caused by any 
virus transmitted by this email.

Perforce Software UK Ltd is registered in England and Wales as company no. 
3816019 at the following address: West Forest Gate, Wellington Road, Wokingham,
RG40 2AT, UK
--------------------------------------------------------------------------------


More information about the textmate-dev mailing list