Skip to main content

tktelerik

来自WinForms界面扩展库做出来的组件

Telerik

原项目需要付费使用,请谨慎使用 依赖,需下载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()

nav = tktelerik.NavigationView()
nav.configure(theme="Windows11")

controls = tktelerik.PageViewPage(nav=nav)
controls.configure(text="controls")

button1 = tktelerik.Button(controls.frame())
button1.configure(theme="Windows11", text_anchor_ment="w")
button1.pack(fill="x", padx=10, pady=10)

textbox1 = tktelerik.TextBox(controls.frame())
textbox1.configure(theme="Windows11")
textbox1.pack(fill="x", padx=10, pady=10)

textbox2 = tktelerik.TextBox(controls.frame())
textbox2.configure(multiline=True, theme="Windows11")
textbox2.pack(fill="both", ipady=50, padx=10, pady=10)

nav.add_page(controls)
nav.pack(fill="both", expand="yes")

root.mainloop()

Metadata

Release files for tktelerik 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tktelerik 1.0.0
File Size Uploaded Provenance
tktelerik-1.0.0.tar.gz 6.4 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tktelerik 1.0.0
File Interpreter ABI Platform
tktelerik-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.7 MB

Release files / tktelerik-1.0.0.tar.gz

Download URL tktelerik-1.0.0.tar.gz
Size 6.4 MB
Tags Source
SHA-256 checksum
How to use checksums
d96a0c59cade4e58f419488a7c7ccdc1088502b3fe87683cb1b8576313cc1dd9
BLAKE2b-256 checksum
How to use checksums
c1934ed9690f463cd5720a2f3b4eac54de22cc5ac8c1efca2c744fdf0074937d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Release files / tktelerik-1.0.0-py3-none-any.whl

Download URL tktelerik-1.0.0-py3-none-any.whl
Size 6.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6898aa81edbece054bc1d68f94f8d040fed8f127d187dfcfd0e3b52768daf7aa
BLAKE2b-256 checksum
How to use checksums
6a8f21a282abd990c16bf198ec232ed024fed2d8fd90a0af722b0ee4e8f54f5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.0

Security for tktelerik 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page