-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i give up on embeding with ctk , tkinter is now my best friend
- Loading branch information
1 parent
5b75f07
commit e0f4c20
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Import tkinter and webview libraries | ||
from tkinter import * | ||
import webview | ||
|
||
# define an instance of tkinter | ||
tk = Tk() | ||
|
||
# size of the window where we show our website | ||
tk.geometry("800x450") | ||
|
||
# Open website | ||
webview.create_window('Geeks for Geeks', 'https://geeksforgeeks.org') | ||
webview.start() |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,6 @@ requests==2.31.0 | |
soupsieve==2.5 | ||
tkinterhtml | ||
urllib3==2.2.1 | ||
cefpython3 | ||
pygtk | ||
webkit |