-
-
Notifications
You must be signed in to change notification settings - Fork 19
New experimental widgets and methods #133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Zamy846692
wants to merge
68
commits into
Andereoo:experimental
Choose a base branch
from
Zamy846692:mine
base: experimental
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
… and has 'text' as a configure option. Had to turn off __call__ for 'TkinterWeb' to allow Tkinter canvas widgets to load 'HtmlLabel', not sure what that might do in the long term.
…/XML/XHTML without displaying it.
…ely it will lag if you create a lot of them.
…has been added to the HtmlLabel class.
…cumentation, they are used for parsing URIs
…om HTMLDocument but that seems to be the only way to do it and is how it is done in hv3_dom_core.tcl:482
Hello! Thank you for the changes. Would you kindy update your branch so it is up-to-date with this one? That way I can compare the changes inline. Thank you! |
Which branches exactly? |
Either one is fine. They're both the same at the moment.
…On Thu, Apr 10, 2025, 1:07 p.m. Zamy846692 ***@***.***> wrote:
Which branches exactly?
—
Reply to this email directly, view it on GitHub
<#133 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMA4CXXV2RYVQSXVT7ZNECD2Y2QOTAVCNFSM6AAAAAB2DDOSS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJUGU3TOMBXGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
*Zamy846692* left a comment (Andereoo/TkinterWeb#133)
<#133 (comment)>
Which branches exactly?
—
Reply to this email directly, view it on GitHub
<#133 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMA4CXXV2RYVQSXVT7ZNECD2Y2QOTAVCNFSM6AAAAAB2DDOSS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJUGU3TOMBXGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
It says:
But doesn't say what the conflicts are. All the branches are up to date |
There should be a 'resolve conflicts' button somewhere. You'll probably
have to go through and manually resolve them all.
I shuffled some code around recently. My guess is that you made some
changes in affected areas and will have to copy your changes to the updated
locations.
Let me know how it goes.
…On Thu, Apr 10, 2025, 5:48 p.m. Zamy846692 ***@***.***> wrote:
It says:
This branch has conflicts that must be resolved
But doesn't say what the conflicts are. All the branches are up to date
—
Reply to this email directly, view it on GitHub
<#133 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMA4CXQR6GPJC6PFSCPY2OL2Y3RKDAVCNFSM6AAAAAB2DDOSS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJVGIZTQNJTGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
*Zamy846692* left a comment (Andereoo/TkinterWeb#133)
<#133 (comment)>
It says:
This branch has conflicts that must be resolved
But doesn't say what the conflicts are. All the branches are up to date
—
Reply to this email directly, view it on GitHub
<#133 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMA4CXQR6GPJC6PFSCPY2OL2Y3RKDAVCNFSM6AAAAAB2DDOSS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJVGIZTQNJTGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Did it!
|
6997fc8
to
1ed85f7
Compare
# Conflicts: # tkinterweb/__init__.py # tkinterweb/bindings.py # tkinterweb/dom.py # tkinterweb/htmlwidgets.py
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.
TkinterWeb
along with two other experimental classes (ParsedURI
andTkHtmlParseURL
) those may not turn out to be of any practical use - I just added them because I didn't know with to do with the bindings. All instances ofurllib.parse
have been replaced with this.TkinterWeb.search
now accepts a variable number of non-keyword arguments (to allow "length")HTMLElement
withDOM_element_events
function that adds them automatically.HTMLElement
search methods no longer referenceHTMLDocument
search methods (they didn't work that way, I might try to fix this).HTMLCollection
is now live; it is automatically updated when the document is changed. Done using code inspired by HV3.HTMLElement
id
andclassName
in from Zamy846692-DOM-2HtmlFrame.insert_html
Parses HTML and adds it to the end (or start) of the current document. Unlikeadd_html
, it returns the root node of rendered HTML.HtmlFrame.snapshot_page
HtmlLabel
HtmlParse
class, allows for parsing of HTML documents using TkinterWeb's DOM without actuality displaying anything.Ask if there are any changes you would like me to make!