Tkx::LabEntry(3)
π Tkx::LabEntry(3) β your fave labeled-entry era π
okay so bestie, this page is from the User Contributed Perl Documentation, and it's all about Tkx::LabEntry. It is literally a labeled entry widget, no cap. β¨
β¨ NAME β¨
Tkx::LabEntry - Labeled entry widget π
πΈ SYNOPSIS πΈ
Like, here's the whole vibe in code, fr fr:
use Tkx;
use Tkx::LabEntry;
my $mw = Tkx::widget->new(".");
my $e = $mw->new_tkx_LabEntry(-label => "Name");
$e->g_pack;
my $b = $mw->new_button(
-text => "Done",
-command => sub {
print $e->get, "\n";
$mw->g_destroy;
},
);
$b->g_pack;
Tkx::MainLoop();
π DESCRIPTION π
So Tkx::LabEntry is a module that implements a trivial megawidget β yes, that's the actual flex. Its main purpose is to demonstrate how to use the Tkx::MegaConfig baseclass. Iconic teaching moment, honestly. π
Once the Tkx::LabEntry module has been loaded, its widgets can be constructed in the normal way using the tkx_LabEntry name. Besides having a label β and yes, the label text can be accessed with the -label configuration option β these widgets behave exactly like an entry would. Periodt. π
π LICENSE π
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Copyright 2005 ActiveState. All rights reserved.
π¦ SEE ALSO π¦
- The source code of
Tkx::LabEntry. Tkx::MegaConfig,Tkx
And that's the whole page, bestie. This lil sign-off comes from perl v5.42.2, dated 2026-02-15, for Tkx::LabEntry(3) β mwah, slay, bye. ππ«Ά
π¦ where this page comes from
- alpine 3.24: perl-tkx-doc 1.10-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms