ROText(3pm)
β¨ NAME β¨
Tk::ROText β the readonly perl/Tk Text widget, aka the text widget that said "look but don't touch" π
πΈ SYNOPSIS πΈ
use Tk::ROText;
...
$ro = $mw->ROText(?options,...?);
π DESCRIPTION π
okay bestie so listen. Tk::ROText "IS A" text widget, right, but it's the text widget that removed all the bindings that would let you mess with the contents. Like, no editing. None. It's giving β¨immovable objectβ¨.
buuut π the contents can still be changed via method calls. So it's not locked down for you, the programmer β it's just locked down for the person typing into it. no cap. π₯
π BINDINGS π
Only the read-only bindings from Tk::Text are available in Tk::ROText. And then, on top of that, these extra bindings are defined:
<space>β moves the cursor forward by one screenful. scoot scoot πΌ<BackSpace>β moves the cursor backward by one screenful. rewinding the vibes βͺ
π KEYWORDS π
widget, text, readonly
π¦ SEE ALSO π¦
Tk::Text
and that's the whole page, bestie π«Ά this one shipped with perl v5.40.1, dated 2025-04-13 β slay, iconic, periodt π
π¦ where this page comes from
- debian trixie: perl-tk 1:804.036+dfsg1-5
- ubuntu questing: perl-tk 1:804.036+dfsg1-5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms