Skip to content

Commit

Permalink
i give up on embeding with ctk , tkinter is now my best friend
Browse files Browse the repository at this point in the history
  • Loading branch information
KorryKatti committed Mar 27, 2024
1 parent 5b75f07 commit e0f4c20
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ then activate `myenv` virtual env depending on your os ,for linux it is ```sourc
https://github.com/KorryKatti/Thunder/

also before running anything run ```pip install -r requirements.txt```


arch linux

yay -S python-gobject python-gobject-cairo gtk3 webkit2gtk
13 changes: 13 additions & 0 deletions appfiles/comm/community.py
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()
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ requests==2.31.0
soupsieve==2.5
tkinterhtml
urllib3==2.2.1
cefpython3
pygtk
webkit

0 comments on commit e0f4c20

Please sign in to comment.