Pelokalan
Python ID
id en
Masuk
Proyek
library__tkinter.po Berkas proyek · python-docs-id-3.14 · Bahasa Indonesia
Modul PO Hanya lihat
Teks sumber — English
Terjemahan — Bahasa Indonesia
default value
nilai bawaan
Query or modify the configuration options of the widget. With no arguments, return a dictionary mapping every available option name to a tuple describing it (its name, X resource name, X resource class, default value and current value). If a single option name is given as a string, return the tuple for just that option. If one or more keyword arguments are given, or a dictionary is passed as *cnf*, set each named option to the corresponding value; the expression ``widget[key] = value`` sets a single option in the same way.
The :class:`Tk` class is typically instantiated using all default values. However, the following keyword arguments are currently recognized:
A :class:`Variable` subclass that holds a string. The default value is ``''``.
A :class:`Variable` subclass that holds an integer. The default value is ``0``.
A :class:`Variable` subclass that holds a float. The default value is ``0.0``.
A :class:`Variable` subclass that holds a boolean. The default value is ``False``.