FreeBSD.software
Home/x11-toolkits/p5-Tk-Role-HasWidgets

p5-Tk-Role-HasWidgets

1.112380

Keep track of your Tk widgets

When programming Tk, it's almost always a good idea to keep a reference to the widgets that you created in the interface. Most of the time, a simple hash is enough; but it is usually wrapped up in methods to make the hash private to the window object. And of course, those methods are duplicated in all modules, under a form or another. Since duplication is bad, this module implements a Moose role implementing those methods once and forever. This implies that your class is using Moose in order to consume the role.

Origin: x11-toolkits/p5-Tk-Role-HasWidgets
Category: x11-toolkits
Size: 41.9KiB
License: ART10, GPLv1+
Maintainer: sunpoet@FreeBSD.org
Dependencies: 3 packages
Required by: 1 packages
$pkg install p5-Tk-Role-HasWidgets

Dependencies (3)

Required By (1 packages)

More in x11-toolkits