自定义窗口

使用AdwTMainWindow/AdwTWindow
很简单,我在他们中设置了自定义窗口的方法,一行代码即可
root.custom() # 自定义
root.titlebar # 设置的标题栏组件
使用tkinter.Tk
为了兼容其它的扩展库或tkinter所以我也做了一个方法,与上述root.custom()相比,会返回标题栏组件
from tkadw import customwindow
titlebar = customwindow(root)

很简单,我在他们中设置了自定义窗口的方法,一行代码即可
root.custom() # 自定义
root.titlebar # 设置的标题栏组件
为了兼容其它的扩展库或tkinter所以我也做了一个方法,与上述root.custom()相比,会返回标题栏组件
from tkadw import customwindow
titlebar = customwindow(root)