Greetings from Nokia as well (the town, not the company...)!

I'm a newbie myself, but it seems to me that once you get the filename you
simply need to insert it to the entry, like:

$entry insert 0 $filename

...where $entry is your entrybox.

Regards,
Pekka

----------
> From: Bob Weant <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: updating variables
> Date: 8. syyskuuta 1997 19:08
> 
> Greetings from Wyoming!
> 
<snip> 
>
> proc get_filedir {w} {
> set types {
>     {{Text Files}       {.txt}        }
>     {{TCL Scripts}      {.tcl}        }
>     {{C Source Files}   {.c}      TEXT}
>     {{GIF Files}        {.gif}        }
>     {{GIF Files}        {}        GIFF}
>     {{All Files}        *             }
> }
> 
> set filename [tk_getOpenFile -filetypes $types]
> 
> if {$filename != ""} {
>     # Open the file ...
>     set w $filename
> }
> }
> 
> In the Attribute Editor, I've set my text var to be
> the corresponding variable sent to the proc by the
> button (E.G. the text var for the entry in the above
> example is BIFHOME)
> 

Reply via email to