how doe one change the font of the tk_getOpenFile widget on pop-up? I've
used this before and the default font on UNIX is really ugly:-(


        Robert M. Bartis
        Lucent Technologies *
        PVG Integration Testing
        Room HO 2B-337
        * 732.949.4565
        * 732.616.1411
  * [EMAIL PROTECTED]

> ----------
> From:         Thanner Gerhard[SMTP:[EMAIL PROTECTED]]
> Reply To:     [EMAIL PROTECTED]
> Sent:         Monday, February 21, 2000 8:05 AM
> To:   [EMAIL PROTECTED]
> Subject:      AW: [vtcl] Adding new widgets to vtcl
> 
> Do you mean selecting an existing file from your directory?
> This feature is included in Tcl/Tk, just use the command tk_getOpenFile
> like
> the following example:
> 
> set selectedFile [tk_getOpenFile -initialdir /usr]
> 
> this will pop up a dialog where you can select the desired file.
> 
> hope this will help
> 
> -----------------------------------------------
> Gerhard Thanner
> 
> Umweltbundesamt - Federal Environment Agency
> Spittelauer L�nde 5, A-1090 Wien, Austria
> Tel.: +43-1-31304-5352, Fax: +43-1-31304-5301
> EMail: [EMAIL PROTECTED], http://www.ubavie.gv.at/
> 
> 
> 
> -----Urspr�ngliche Nachricht-----
> Von: Georges BACHELIER [mailto:[EMAIL PROTECTED]]
> Gesendet am: Montag, 21. Februar 2000 11:04
> An: [EMAIL PROTECTED]
> Betreff: [vtcl] Adding new widgets to vtcl
> 
> Hello,
> 
> 
> I am currently designing a GUI with vtcl, a very easy to use and intuitive
> tool indeed!
> 
> Now I would like to add a navigator or a file selector to allow
> the user to select a file from a file hierarchy. This widget does
> not exist in the vtcl widgets palette.
> 
> What should I do to make the instanciation of a file selector possible?
> There is probably something to declare like "package require xxx"
> but where should I declare this? And what to do afterwards? How do
> I instantiate the new widget within vtcl?
> 
> Best regards,
> 
> 
> Georges Bachelier / TEMIC MHS   Application Lab
>                     Route de Gachet    BP 70602
>                     44306 Nantes Cedex 3 FRANCE
> 
> Email: [EMAIL PROTECTED] 
> Tel  : +33-02-40-18-19-18
> Fax  : +33-02-40-18-19-20 
> ==============================================================
> --------------------------------------------------------------------------
> -
> To unsubscribe from the Visual Tcl mailing list, please send a message
> to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
> message body (where [EMAIL PROTECTED] is your e-mail address).
> --------------------------------------------------------------------------
> -
> To unsubscribe from the Visual Tcl mailing list, please send a message
> to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
> message body (where [EMAIL PROTECTED] is your e-mail address).
> 
---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to