UI::Various::Tk::Main - concrete implementation of UI::Various::Main
# This module should never be used directly! # It is used indirectly via the following: use UI::Various::Main;
This module is the specific implementation of UI::Various::Main for Perl-Tk. It manages and hides everything specific to Tk.
The documentation of this module is only intended for developers of the package itself.
UI::Various::Tk::Main::_init($self);
$_ = UI::Various::core::ui . '::Main::_init'; { no strict 'refs'; &$_($self); }
$self reference to object of abstract parent class
Prepare the interface to Tk. (It's under FUNCTIONS as it's called before the object is re-blessed as UI::Various::Tk::Main.)
UI::Various::Tk::Main
Tk's concrete implementation of UI::Various::Main::mainloop
Tk
It is split into two internal functions for unit testing. (It will not be called that often to make this a performance issue. :-)
Tk's overload of UI::Various::Main::window. If the Mainloop of Tk is running, we need to directly prepare and show the window / dialogue.
Mainloop
UI::Various, UI::Various::Main
Copyright (C) Thomas Dorner.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See LICENSE file for more details.
Thomas Dorner <dorner@cpan.org>
To install UI::Various, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UI::Various
CPAN shell
perl -MCPAN -e shell install UI::Various
For more information on module installation, please visit the detailed CPAN module installation guide.