✏️ 正在编辑: ttk.cpython-312.opt-1.pyc
路径:
/lib64/python3.12/tkinter/__pycache__/ttk.cpython-312.opt-1.pyc
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
� �֦i�� � �" � d Z dZdZg d�ZddlZddlmZmZmZmZ dBd�Z dCd�Z d � ZdBd �ZdBd�Z dDd�Zd � Zd� Zd� Zd� Zd� Zd� Zd� Zd� ZdEd�Z G d� de� Z G d� dej4 � Z G d� de� Z G d� de� Z G d� deej: � Z G d � d!e� Z G d"� d#e� Z G d$� d%e� Z G d&� d'e� Z!e!Z" G d(� d)e� Z# G d*� d+e� Z$ G d,� d-eejJ � Z&e&Z% G d.� d/e� Z' G d0� d1e� Z( G d2� d3eejR � Z) G d4� d5eejT � Z* G d6� d7e� Z+ G d8� d9e� Z, G d:� d;e� Z- G d<� d=eej\ ej^ � Z0 G d>� d?e� Z1 G d@� dAe#� Z2y)Fa� Ttk wrapper. This module provides classes to allow using Tk themed widget set. Ttk is based on a revised and enhanced version of TIP #48 (http://tip.tcl.tk/48) specified style engine. Its basic idea is to separate, to the extent possible, the code implementing a widget's behavior from the code implementing its appearance. Widget class bindings are primarily responsible for maintaining the widget state and invoking callbacks, all aspects of the widgets appearance lies at Themes. z0.3.1z!Guilherme Polo <ggpolo@gmail.com>)�Button�Checkbutton�Combobox�Entry�Frame�Label� Labelframe� LabelFrame� Menubutton�Notebook�Panedwindow�PanedWindow�Progressbar�Radiobutton�Scale� Scrollbar� Separator�Sizegrip�Spinbox�Style�Treeview�LabeledScale� OptionMenu� tclobjs_to_py�setup_master� N)�_flatten�_join� _stringify� _splitdictc �f � |r t | � } | S t | t t f� rt | � } | S )zInternal function.)r � isinstance�list�tupler )�value�scripts �$/usr/lib64/python3.12/tkinter/ttk.py�_format_optvaluer'