Releases: KevinRGeurts/tkAppFramework
tkAppFramework v0.9.4
tkAppFramework v0.9.4
Description
This published pre-release (beta) of the tkAppFramework python library significantly enhances tkHelpApp and tkApp's Help | About...
information display.
Known Issues
None
Changes
- tkApp.init(...) method now has a theme_name parameter which can be used to specify a non-default tkinter theme for the application.
- tkHelpApp now can read and display markdown (.md) and HTML (.xhtml) formatted help content files, in addition to text (.txt) files. If content is markdown or HTML, it will be displayed in tkHelpApp as formatted text. See README.md for a list of supported tags.
- tkApp's Help | About... menu option now displays the application's "about" info using HTML formatting, including the ability to click on and browse to the application's source repository.
- A reusable tkXHTMLViewerWidget is available to display a string of HTML formatted text in a tkinter Text widget. This reusable component is used by tkHelpApp to display help content and by tkApp's tkAppAboutDialog.
Full Changelog: v0.9.3...v0.9.4
tkAppFramework v0.9.3
tkAppFramework v0.9.3
Description
This published pre-release (beta) of the tkAppFramework python library fixes a significant bug in the Simulation Application functionality,
Known Issues
- tkHelpApp is primitive. It will display one .txt file of raw text, has no formatting capability, and has no linking capability.
Changes
- Fixed an issue in the tkSimulatorApp where when the simulation completed normally, that is, when it did not terminate upon selection of File | End Simulation, that tkSimulatorApp was not aware of the completion of the simulation, since it was running on a separate thread. This left the GUI in an improper state. Specific changes: (a) SimulatorAdapter now expects run() and load_and_run() methods to be extended rather than implemented, and for super().run() and super().load_and_run() to be called at the end of the subclass' extended method. The SimulatorAdapter versions of these methods now logger.info('<<SimulatorReportsCompletion>>') to the simulator's logger. (b) tkSimulatorApp.onEndSimulator() behavior refactored. GUI cleanup now handled by new cleanup_after_simulator_ends() method, which is called by tkSimulatorViewManager.handle_model_update() method, when the retrieved LogRecord message is '<<SimulatorReportsCompletion>>'. (c) DemoSimulatorAdapter in main.py modified to accomodate new SimulatorAdapter subclass expectations.
- Modified DemoSimulator.go() so it only allows the completion of 2 operations, then falls out the bottom of the method. This provided a simple exposure of the simulation normal completion issue.
Full Changelog: v0.9.2...v0.9.3
tkAppFramework v0.9.2
tkAppFramework v0.9.2
Description
This published pre-release (beta) of the tkAppFramework python library significantly enhances the Simulation Application functionality,
Known Issues
- tkHelpApp is primitive. It will display one .txt file of raw text, has no formatting capability, and has no linking capability.
Changes
- Fixed bugs in the way tkUserQueryViewManager and its children were gridded, that prevented proper vertical stretching behavior.
- tkSimulatorApp.init(...) now takes title, menu_dict, app_info, file_types, and log_level parameters, so that a subclass has the option of overriding the defaults.
- Query response tools that are offered by the QueryResponseToolWidget (child of tkUserQueryViewManager) have been generalized. They are now implemented as subclasses of the new class tkUserQueryToolModal. Any such tools should be registered with the tkUserQueryViewManager.
- tkUserQueryReceiver.GetRawResponse(...) now accepts as argument 'extra' dictionary, and adds it to the QueryInfo object it places in the query queue. This is supported by functionality added in v1.1.0 of the UserResponseCollector package. tkUserQueryViewManager.handle_query_event() now checks if a tkUserQueryToolModal is registered corresponding to QueryInfo.extra['query_type'], and if so, that tool is automatically launched.
- Created a base class tkUserQueryToolEmbedded. Subclasses represent widgets that can be embedded by tkUserQueryViewManager to handle specific types of user queries in a more user friendly fashion. tkMenuUserUserQuerytToolEmbedded subclass handles UserQueryCommandMenu queries by presenting a menu button for selecting an option. tkUserQueryViewManager.handle_query_event() now checks if a tkUserQueryToolEmbedded is registered corresponding to QueryInfo.extra['query_type'], and if so, that tool is automatically launched. The DemoSimulator in main.py now presents a menu query to the user to illustrate this new capability.
- Updated the help content for tkSimulatorApp, to reflect the behavioral changes associated with tkUserQueryToolModal and tkUserQueryToolEmbedded.
Full Changelog: v0.9.1...v0.9.2
tkAppFramework v0.9.1
tkAppFramework v0.9.1
Description
This release of tkAppFramework improves the functionality of the tkSimulatorApp.
Known Issues
- tkHelpApp is primitive. It will display one .txt file of raw text, has no formatting capability, and has no linking capability.
Changes
- Loading a saved simulator state before running the simulator is now supported.
- SimulatorModel now owns the Queue for simulator output. This enables ALL Observers of the model to be informed when simulator output is available, so that a subclass of tkSimulatorApp can have multiple tkViewManagers, and each of those view managers will have the opportunity to process output from the simulator.
Full Changelog: v0.9.0...v0.9.1
tkAppFramework v0.9.0
tkAppFramework v0.9.0
Description
This is the initial published pre-release (beta) of the tkAppFramework python library.
Known Issues
- tkHelpApp is primitive. It will display one .txt file of raw text, has no formatting capability, and has no linking capability.
Changes
Full Changelog: https://github.com/KevinRGeurts/tkAppFramework/commits/v0.9.0