semvec/pypi-packages huggingface dataset:
tkrichtext 1.0.0
show a rtf file in your tkinter application
License: MIT License
Requires Python: >=3.6

# tkrichtext

基于WinForms.RichTextBox的tkinter富文本显示组件。

> 目前仅提供基础显示功能。更多功能请调用`self.rt`实现。

---

# Dependence

tkrichtext uses this package:

- pythonnet(clr)

---

# Usage(TkRichtext Class)

Demo:

```python
from tkinter import Tk
from tkrichtext import TkRichtext

a=Tk()
a.geometry('600x600+5+5')

rt=TkRichtext(a,500,500)
rt.pack(fill='both',expand='True')
#rt.loadfile(r"E:\Py软件\Tin文件\软件说明.rtf")
#you can use "loadfile" to load a *.rtf file.

a.mainloop()
```

loadfile(path:str) => to show a rtf file in your GUI application.