Open
Conversation
set all sub windows to inherit as type defaultroot, set all widgets to be frame object, with a parent frame to be packed into (expected default root content frame)
changes to mpl renderering and small tcl tweaks
…import of mpl agg backend
unsure about label
Tom-Kingstone
requested changes
Feb 25, 2026
Python_Engine/Python/src/python_toolkit/bhom_tkinter/widgets/_widgets_base.py
Outdated
Show resolved
Hide resolved
Contributor
|
@BHoMBot check installer -force |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NOTE: Depends on
Issues addressed by this PR
Closes #202
Set up of BHoM standard approach for tkinter UIs
Test files
Can test by running any of the windows or widget objects - each has an example usage method in the file
Test script added to the test folder
Changelog
python_toolkit.bhom_tkinterfor a modular approach to tkinter usage in dependant bhom toolkits.BHoMBaseWindowhas been established as a base object for all tkinter UI tools to inherit from, this handles base attributes such as styling.bhom_tkinter.windowscontains a series of pre-produced window objects, for direct use, including loading windows, warning windows etc.bhom_tkinter.widgetsincludes a series of widgets to be used when building up a UI. these widgets inherit fromBHoMBaseWidgetfor handling of get, set, packing & build protocols.tclsheets have been set for bhom styling, in dark and light mode. widgets use bhom logos and iconsAdditional comments