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