tcl::ch...xtwindow(n)
tcl::chan::textwindow π
okay bestie, welcome to the Reflected/virtual channel support corner of the tcllib manual, page tcl::ch...xtwindow(n). this one is short and sweet and it SLAPS, no cap.
β¨ NAME β¨
tcl::chan::textwindow β Textwindow channel π
β¨ SYNOPSIS β¨
package require Tcl 8.5 9
package require TclOO
package require tcl::chan::events ?1.1?
package require tcl::chan::textwindow ?1.1?
::tcl::chan::textwindow widget
like. look at that. five whole lines and one of them is literally just TclOO showing up to the party. π
β¨ DESCRIPTION β¨
so here's the vibe: the tcl::chan::textwindow package hands you a command that creates write-only channels wired straight into text widgets. anything you write to that channel? it gets printed into the widget it's attached to. that's it. that's the whole personality. π¦
and the internal TclOO class doing the actual channel-handler work? it's a sub-class of the tcl::chan::events framework. she inherited the good genes. π
β¨ API β¨
the one and only command π
::tcl::chan::textwindow widgetβ this creates a brand new textwindow channel and gives you back its handle. anything you write to that channel is gonna show up in the associated widget. that's the deal. π«Ά
β¨ BUGS, IDEAS, FEEDBACK β¨
ngl, this doc and the package it's describing will undoubtedly have bugs and other problems. it's software, bestie. π so please report them in the category virtchannel of the Tcllib Trackers: [http://core.tcl.tk/tcllib/reportlist](http://core.tcl.tk/tcllib/reportlist). and while you're at it, if you've got ideas for enhancements to either the package or the docs, send those too. we love a glow-up. β¨
when you're proposing code changes, please give us unified diffs β like, the output of diff -u. that's the format. periodt.
also, heads up: attachments are strongly preferred over inlined patches. how do you attach? go to the Edit form of the ticket right after you create it, then hit the left-most button in the secondary navigation bar. iykyk. π
β¨ KEYWORDS β¨
Tk, reflected channel, text widget, tip 219, virtual channel πΈ
β¨ CATEGORY β¨
Channels π
β¨ COPYRIGHT β¨
Copyright (c) 2009 Andreas Kupries <andreas_kupries@users.sourceforge.net> π
and that's the whole page, bestie!! π this was tcl::ch...xtwindow(n), brought to you by tcllib version 1.1, and she's iconic, she's little, she ate. mwah. ππ
β¨
π¦ where this page comes from
- fedora 43: tcllib 2.0-3.fc43 Β· TCL
- fedora 44: tcllib 2.0-4.fc44 Β· TCL
- nixos 26.05: tcllib 2.0
- nixpkgs unstable: tcllib 2.0
- Copyright (c) 2009 Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms