tkinter with telerik
Project description
tktelerik
来自WinForms界面扩展库做出来的组件
Telerik
原项目需要付费使用,请谨慎使用
# 基础示例1
import tktelerik
from tkinter import Tk
root = Tk()
theme1 = tktelerik.FluentDark()
button = tktelerik.Button(text="button1")
button.configure(theme="FluentDark")
button.pack(fill="both", expand="yes", padx=5, pady=5)
root.mainloop()
# 基础示例2
import tktelerik
from tkinter import Tk
root = Tk()
theme1 = tktelerik.FluentDark()
list1 = tktelerik.ListBox()
list1.configure(theme="FluentDark")
for index in range(4):
list1.add(list1.create_label("item"+str(index+1)))
list1.pack(fill="both", expand="yes", padx=5, pady=5)
root.mainloop()
# 高级示例1
import tktelerik
from tkinter import Tk
root = Tk()
theme1 = tktelerik.FluentDark()
ribbon = tktelerik.RibbonBar()
ribbon_quick_item = tktelerik.RibbonButton()
ribbon_quick_item.onclick(lambda: print("click ribbon_quick_button"))
ribbon.add_item(ribbon_quick_item)
ribbon_tab = tktelerik.RibbonTabbed()
ribbon_group = tktelerik.RibbonGroup()
ribbon_button = tktelerik.RibbonButton()
ribbon_button.onclick(lambda: print("click ribbon_button"))
ribbon_button.configure(anchor="w")
ribbon_textbox = tktelerik.RibbonTextBox()
ribbon_textbox.configure(anchor="w")
ribbon_group.add(ribbon_button)
ribbon_group.add(ribbon_textbox)
ribbon_tab.add(ribbon_group)
ribbon.add(ribbon_tab)
ribbon.configure(theme="FluentDark")
ribbon.pack(fill="both", expand="yes", padx=5, pady=5)
root.mainloop()
# 高级示例2
import tktelerik
from tkinter import Tk
root = Tk()
theme1 = tktelerik.Windows11()
nav1 = tktelerik.NavigationView()
nav1.configure(theme="Windows11")
page1 = tktelerik.PageViewPage()
page1.configure(text="page1")
button1 = tktelerik.Button(page1.frame())
button1.configure(theme="Windows11")
button1.pack(fill="both")
nav1.add_page(page1)
nav1.pack(fill="both", expand="yes", padx=4, pady=4)
root.mainloop()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tktelerik-1.0.0a4.tar.gz
(5.7 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tktelerik-1.0.0a4.tar.gz.
File metadata
- Download URL: tktelerik-1.0.0a4.tar.gz
- Upload date:
- Size: 5.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7ef60987d2d71dbacb3aab7744f6bbeec0b6d68f51e764a89e693a528125a0d
|
|
| MD5 |
bd4f26523296c144fa1a3ed40f4ed8f6
|
|
| BLAKE2b-256 |
79fff0feef8c73cc3998d6853856c604939b789f5c52313ac54e7342a7b54f7c
|
File details
Details for the file tktelerik-1.0.0a4-py3-none-any.whl.
File metadata
- Download URL: tktelerik-1.0.0a4-py3-none-any.whl
- Upload date:
- Size: 5.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b6ce264e063199331244b07f426f66c3cc64a70941cc3d3bda3df83fc73b781
|
|
| MD5 |
2a6322e5f2bb641aecf33c1be7aa7e6b
|
|
| BLAKE2b-256 |
161e8de2686633c404d41831e5ad34c8bc41e65798d54d0d0d172106b16c5429
|