Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TclTK help - how to puts the contents of a text widget



A snippet of some tck/tk code that I have that does the trick:

entry .middle.elogs -relief sunken -width 60 -textvariable logs

bind .bottom.b1 <Button-1> {
      exec echo "$logs" >
}



At 08:11 PM 11/27/00 -0500, linuxguy at ici.net wrote:
>
>Without discussing the merits of python, perltk, etc...
>
>Anyone know a simple way to dump the contents of a TclTK text widget to
>the screen?  I.E. I have a basic editor going and I'm looking to implement
>a "Save" function...
>
>
>
>+------------------------
>| christoph
>| linuxguy at ici.net
>| http://www.linuxsoup.com
>
>
>-
>Subcription/unsubscription/info requests: send e-mail with
>"subscribe", "unsubscribe", or "info" on the first line of the
>message body to discuss-request at blu.org (Subject line is ignored).
> 
______________________________________________________ 
VPN & Internet Security Services 
Genuity Inc. - Formerly BBN 
(781) 262-6126 office
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org