logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

"Tickit::Widgets" - load several Tickit::Widget classes at once

Author

       Paul Evans <leonerd@leonerd.org.uk>

perl v5.40.0                                       2024-09-16                               Tickit::Widgets(3pm)

Description

       This module provides an "import" utility to simplify code that uses many different Tickit::Widget
       subclasses. Instead of a "use" line per module, you can simply "use" this module and pass it the base
       name of each class.  It will "require" each of the modules.

       Note that because each Widget module should be a pure object class with no exports, this utility does not
       run the "import" method of the used classes.

       An optional version check may be supplied using a "=" sign:

          use Tickit::Widgets qw( HBox=0.48 VBox=0.48 );

Name

       "Tickit::Widgets" - load several Tickit::Widget classes at once

Synopsis

          use Tickit::Widgets qw( Static VBox HBox );

       Equivalent to

          use Tickit::Widget::Static;
          use Tickit::Widget::VBox;
          use Tickit::Widget::HBox;

See Also