chunk_id
stringlengths
36
36
source
stringclasses
35 values
source_url
stringlengths
0
290
upstream_license
stringclasses
1 value
document_id
stringlengths
36
36
chunk_index
int64
0
324k
retrieved_at
stringclasses
2 values
chunker_version
stringclasses
4 values
content_hash
stringlengths
15
64
content
stringlengths
50
44.7k
namespace
stringclasses
9 values
source_name
stringclasses
35 values
raw_text
stringlengths
50
44.7k
cleaned_text
stringlengths
50
44.7k
tags
stringclasses
49 values
collection_name
stringclasses
11 values
5aa4e13d-4591-4305-ab13-5acf40d088c5
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,266
supabase-export-v2
f30d971ef8290197
.. method:: identify(component, x, y) Returns a description of the specified *component* under the point given by *x* and *y*, or the empty string if no such *component* is present at that position.
trusted_official_docs
CPython Docs
.. method:: identify(component, x, y) Returns a description of the specified *component* under the point given by *x* and *y*, or the empty string if no such *component* is present at that position.
.. method:: identify(component, x, y) Returns a description of the specified *component* under the point given by *x* and *y*, or the empty string if no such *component* is present at that position.
python, official-docs, cpython, P0
Local_Trusted_Corpus
5d87a796-48d9-4354-bdf1-a5bf342ce5c1
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,323
supabase-export-v2
62e30ea4c91c1f79
.. method:: tag_has(tagname, item=None) If *item* is specified, returns 1 or 0 depending on whether the specified *item* has the given *tagname*. Otherwise, returns a list of all items that have the specified tag.
trusted_official_docs
CPython Docs
.. method:: tag_has(tagname, item=None) If *item* is specified, returns 1 or 0 depending on whether the specified *item* has the given *tagname*. Otherwise, returns a list of all items that have the specified tag.
.. method:: tag_has(tagname, item=None) If *item* is specified, returns 1 or 0 depending on whether the specified *item* has the given *tagname*. Otherwise, returns a list of all items that have the specified tag.
python, official-docs, cpython, P0
Local_Trusted_Corpus
6080a97c-a723-411d-ad56-0b568717d5f4
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,026
supabase-export-v2
052605305f60ddce
set, introduced in Tk 8.5. It provides additional benefits including anti-aliased font rendering under X11 and window transparency (requiring a composition window manager on X11). The basic idea for :mod:`!tkinter.ttk` is to separate, to the extent possible, the code implementing a widget's behavior from the code imple...
trusted_official_docs
CPython Docs
set, introduced in Tk 8.5. It provides additional benefits including anti-aliased font rendering under X11 and window transparency (requiring a composition window manager on X11). The basic idea for :mod:`!tkinter.ttk` is to separate, to the extent possible, the code implementing a widget's behavior from the code imple...
set, introduced in Tk 8.5. It provides additional benefits including anti-aliased font rendering under X11 and window transparency (requiring a composition window manager on X11). The basic idea for :mod:`!tkinter.ttk` is to separate, to the extent possible, the code implementing a widget's behavior from the code imple...
python, official-docs, cpython, P0
Local_Trusted_Corpus
62e86436-ce92-41e6-a82d-3c6118c4f33c
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,034
supabase-export-v2
a16cc65b58a25c1e
from tkinter import * from tkinter.ttk import * That code causes several :mod:`!tkinter.ttk` widgets (:class:`Button`, :class:`Checkbutton`, :class:`Entry`, :class:`Frame`, :class:`Label`, :class:`LabelFrame`, :class:`Menubutton`, :class:`PanedWindow`, :class:`Radiobutton`, :class:`Scale` and :class:`Scrollbar`) to aut...
trusted_official_docs
CPython Docs
from tkinter import * from tkinter.ttk import * That code causes several :mod:`!tkinter.ttk` widgets (:class:`Button`, :class:`Checkbutton`, :class:`Entry`, :class:`Frame`, :class:`Label`, :class:`LabelFrame`, :class:`Menubutton`, :class:`PanedWindow`, :class:`Radiobutton`, :class:`Scale` and :class:`Scrollbar`) to aut...
from tkinter import * from tkinter.ttk import * That code causes several :mod:`!tkinter.ttk` widgets (:class:`Button`, :class:`Checkbutton`, :class:`Entry`, :class:`Frame`, :class:`Label`, :class:`LabelFrame`, :class:`Menubutton`, :class:`PanedWindow`, :class:`Radiobutton`, :class:`Scale` and :class:`Scrollbar`) to aut...
python, official-docs, cpython, P0
Local_Trusted_Corpus
632509e0-70a5-480b-b93a-fa92b06a2218
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,318
supabase-export-v2
6f231f5536cdf0ac
.. method:: tag_bind(tagname, sequence=None, callback=None) Bind a callback for the given event *sequence* to the tag *tagname*. When an event is delivered to an item, the callbacks for each of the item's tags option are called.
trusted_official_docs
CPython Docs
.. method:: tag_bind(tagname, sequence=None, callback=None) Bind a callback for the given event *sequence* to the tag *tagname*. When an event is delivered to an item, the callbacks for each of the item's tags option are called.
.. method:: tag_bind(tagname, sequence=None, callback=None) Bind a callback for the given event *sequence* to the tag *tagname*. When an event is delivered to an item, the callbacks for each of the item's tags option are called.
python, official-docs, cpython, P0
Local_Trusted_Corpus
6370c6e7-056f-452f-8311-96da803aeb4f
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,247
supabase-export-v2
a084c3a1dd0b1cb5
column. *stretch*: ``True``/``False`` Specifies whether the column's width should be adjusted when the widget is resized. *width*: width The width of the column in pixels. To configure the tree column, call this with column = "#0"
trusted_official_docs
CPython Docs
column. *stretch*: ``True``/``False`` Specifies whether the column's width should be adjusted when the widget is resized. *width*: width The width of the column in pixels. To configure the tree column, call this with column = "#0"
column. *stretch*: ``True``/``False`` Specifies whether the column's width should be adjusted when the widget is resized. *width*: width The width of the column in pixels. To configure the tree column, call this with column = "#0"
python, official-docs, cpython, P0
Local_Trusted_Corpus
63de6f99-2a4b-444c-a1fc-53c0efdef13b
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,241
supabase-export-v2
ea9179888a0b6b6b
Replaces *item*'s child with *newchildren*. Children present in *item* that are not present in *newchildren* are detached from the tree. No items in *newchildren* may be an ancestor of *item*. Note that not specifying *newchildren* results in detaching *item*'s children.
trusted_official_docs
CPython Docs
Replaces *item*'s child with *newchildren*. Children present in *item* that are not present in *newchildren* are detached from the tree. No items in *newchildren* may be an ancestor of *item*. Note that not specifying *newchildren* results in detaching *item*'s children.
Replaces *item*'s child with *newchildren*. Children present in *item* that are not present in *newchildren* are detached from the tree. No items in *newchildren* may be an ancestor of *item*. Note that not specifying *newchildren* results in detaching *item*'s children.
python, official-docs, cpython, P0
Local_Trusted_Corpus
64cc5a25-dc54-4c74-8b5a-031c52d53904
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,201
supabase-export-v2
cc85b4a14dedd9f5
a textual label, an optional image, and an optional list of data values. The data values are displayed in successive columns after the tree label. The order in which data values are displayed may be controlled by setting the widget option ``displaycolumns``. The tree widget can also display column headings. Columns may...
trusted_official_docs
CPython Docs
a textual label, an optional image, and an optional list of data values. The data values are displayed in successive columns after the tree label. The order in which data values are displayed may be controlled by setting the widget option ``displaycolumns``. The tree widget can also display column headings. Columns may...
a textual label, an optional image, and an optional list of data values. The data values are displayed in successive columns after the tree label. The order in which data values are displayed may be controlled by setting the widget option ``displaycolumns``. The tree widget can also display column headings. Columns may...
python, official-docs, cpython, P0
Local_Trusted_Corpus
68d8bc13-5a37-4218-ac70-c6266076fa85
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,319
supabase-export-v2
f273f1dbcf80d977
event *sequence* to the tag *tagname*. When an event is delivered to an item, the callbacks for each of the item's tags option are called. .. method:: tag_configure(tagname, option=None, **kw)
trusted_official_docs
CPython Docs
event *sequence* to the tag *tagname*. When an event is delivered to an item, the callbacks for each of the item's tags option are called. .. method:: tag_configure(tagname, option=None, **kw)
event *sequence* to the tag *tagname*. When an event is delivered to an item, the callbacks for each of the item's tags option are called. .. method:: tag_configure(tagname, option=None, **kw)
python, official-docs, cpython, P0
Local_Trusted_Corpus
69b678b4-1706-4fd0-b4bb-574c9fbbd036
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,215
supabase-export-v2
48b9bf9976ff915c
.. tabularcolumns:: |l|L| +--------+---------------------------------------------------------------+ | Option | Description | +========+===============================================================+ | text | The textual label to display for the item. | +--------+-------------------------------------------------------...
trusted_official_docs
CPython Docs
.. tabularcolumns:: |l|L| +--------+---------------------------------------------------------------+ | Option | Description | +========+===============================================================+ | text | The textual label to display for the item. | +--------+-------------------------------------------------------...
.. tabularcolumns:: |l|L| +--------+---------------------------------------------------------------+ | Option | Description | +========+===============================================================+ | text | The textual label to display for the item. | +--------+-------------------------------------------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
6acf39fa-8217-4b6f-be44-e7a8f0ae4a56
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,261
supabase-export-v2
e1dbedfdfeeb6681
Query or modify the heading options for the specified *column*. If *kw* is not given, returns a dict of the heading option values. If *option* is specified then the value for that *option* is returned. Otherwise, sets the options to the corresponding values.
trusted_official_docs
CPython Docs
Query or modify the heading options for the specified *column*. If *kw* is not given, returns a dict of the heading option values. If *option* is specified then the value for that *option* is returned. Otherwise, sets the options to the corresponding values.
Query or modify the heading options for the specified *column*. If *kw* is not given, returns a dict of the heading option values. If *option* is specified then the value for that *option* is returned. Otherwise, sets the options to the corresponding values.
python, official-docs, cpython, P0
Local_Trusted_Corpus
6b78186f-f807-4612-abd7-9dea20addee1
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,384
supabase-export-v2
edad56b745385c17
If this option is set then *height* should also be set. The *width* and *height* options cannot be mixed with the *padding* or *margins* options. height=height Specifies the height of the element. See the comments for *width*.
trusted_official_docs
CPython Docs
If this option is set then *height* should also be set. The *width* and *height* options cannot be mixed with the *padding* or *margins* options. height=height Specifies the height of the element. See the comments for *width*.
If this option is set then *height* should also be set. The *width* and *height* options cannot be mixed with the *padding* or *margins* options. height=height Specifies the height of the element. See the comments for *width*.
python, official-docs, cpython, P0
Local_Trusted_Corpus
6bc5b21e-cc81-47e3-9f6d-151198a26375
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,174
supabase-export-v2
9d6a0300a1fc93ad
vertical). | +----------+---------------------------------------------------------------+ | mode | One of "determinate" or "indeterminate". | +----------+---------------------------------------------------------------+ | maximum | A number specifying the maximum value. Defaults to 100. | +----------+-------------------...
trusted_official_docs
CPython Docs
vertical). | +----------+---------------------------------------------------------------+ | mode | One of "determinate" or "indeterminate". | +----------+---------------------------------------------------------------+ | maximum | A number specifying the maximum value. Defaults to 100. | +----------+-------------------...
vertical). | +----------+---------------------------------------------------------------+ | mode | One of "determinate" or "indeterminate". | +----------+---------------------------------------------------------------+ | maximum | A number specifying the maximum value. Defaults to 100. | +----------+-------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
710c5fa9-d050-4e7e-a381-ecd951544bf3
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,254
supabase-export-v2
06c58144450dd60e
The items and all of their descendants are still present, and may be reinserted at another point in the tree, but will not be displayed. The root item may not be detached.
trusted_official_docs
CPython Docs
The items and all of their descendants are still present, and may be reinserted at another point in the tree, but will not be displayed. The root item may not be detached.
The items and all of their descendants are still present, and may be reinserted at another point in the tree, but will not be displayed. The root item may not be detached.
python, official-docs, cpython, P0
Local_Trusted_Corpus
763a7f14-c4f1-4c5d-bcb2-d49404ad835f
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,204
supabase-export-v2
e93b1b75b34c306d
item also has a list of tags, which can be used to associate event bindings with individual items and control the appearance of the item. The Treeview widget supports horizontal and vertical scrolling, according to the options described in `Scrollable Widget Options`_ and the methods :meth:`Treeview.xview` and :meth:`T...
trusted_official_docs
CPython Docs
item also has a list of tags, which can be used to associate event bindings with individual items and control the appearance of the item. The Treeview widget supports horizontal and vertical scrolling, according to the options described in `Scrollable Widget Options`_ and the methods :meth:`Treeview.xview` and :meth:`T...
item also has a list of tags, which can be used to associate event bindings with individual items and control the appearance of the item. The Treeview widget supports horizontal and vertical scrolling, according to the options described in `Scrollable Widget Options`_ and the methods :meth:`Treeview.xview` and :meth:`T...
python, official-docs, cpython, P0
Local_Trusted_Corpus
789478c4-5226-47ca-913e-ea4e7d54f512
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,167
supabase-export-v2
8d96254d2cae0181
:kbd:`Shift-Control-Tab`: selects the tab preceding the currently selected one. * :kbd:`Alt-K`: where *K* is the mnemonic (underlined) character of any tab, will select that tab. Multiple notebooks in a single toplevel may be enabled for traversal, including nested notebooks. However, notebook traversal only works pr...
trusted_official_docs
CPython Docs
:kbd:`Shift-Control-Tab`: selects the tab preceding the currently selected one. * :kbd:`Alt-K`: where *K* is the mnemonic (underlined) character of any tab, will select that tab. Multiple notebooks in a single toplevel may be enabled for traversal, including nested notebooks. However, notebook traversal only works pr...
:kbd:`Shift-Control-Tab`: selects the tab preceding the currently selected one. * :kbd:`Alt-K`: where *K* is the mnemonic (underlined) character of any tab, will select that tab. Multiple notebooks in a single toplevel may be enabled for traversal, including nested notebooks. However, notebook traversal only works pr...
python, official-docs, cpython, P0
Local_Trusted_Corpus
78a55a0e-c233-475f-8069-bc03ec741b54
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,112
supabase-export-v2
887677dd1aeef5d2
| the items in this sequence rather than incrementing | | | or decrementing numbers. | | | | +----------------------+------------------------------------------------------+ | wrap | Boolean value. If ``True``, increment and decrement | | | buttons will cycle from the ``to`` value to the | | | ``from`` value or the ``fr...
trusted_official_docs
CPython Docs
| the items in this sequence rather than incrementing | | | or decrementing numbers. | | | | +----------------------+------------------------------------------------------+ | wrap | Boolean value. If ``True``, increment and decrement | | | buttons will cycle from the ``to`` value to the | | | ``from`` value or the ``fr...
| the items in this sequence rather than incrementing | | | or decrementing numbers. | | | | +----------------------+------------------------------------------------------+ | wrap | Boolean value. If ``True``, increment and decrement | | | buttons will cycle from the ``to`` value to the | | | ``from`` value or the ``fr...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7bc8738d-95fe-455a-9656-3508c010a3bc
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,216
supabase-export-v2
02d2e58b226b88dc
values as the widget | | | option columns. If there are fewer values than columns, the | | | remaining values are assumed empty. If there are more values | | | than columns, the extra values are ignored. | +--------+---------------------------------------------------------------+ | open | ``True``/``False`` value indic...
trusted_official_docs
CPython Docs
values as the widget | | | option columns. If there are fewer values than columns, the | | | remaining values are assumed empty. If there are more values | | | than columns, the extra values are ignored. | +--------+---------------------------------------------------------------+ | open | ``True``/``False`` value indic...
values as the widget | | | option columns. If there are fewer values than columns, the | | | remaining values are assumed empty. If there are more values | | | than columns, the extra values are ignored. | +--------+---------------------------------------------------------------+ | open | ``True``/``False`` value indic...
python, official-docs, cpython, P0
Local_Trusted_Corpus
7dd1109b-316d-4ee7-94f1-7a7e080a6552
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,353
supabase-export-v2
3f618ffabef5daf0
'blue'), ('pressed', 'red')]`` in the foreground option, for example, the result would be a blue foreground when the widget were in active or pressed states. .. method:: lookup(style, option, state=None, default=None)
trusted_official_docs
CPython Docs
'blue'), ('pressed', 'red')]`` in the foreground option, for example, the result would be a blue foreground when the widget were in active or pressed states. .. method:: lookup(style, option, state=None, default=None)
'blue'), ('pressed', 'red')]`` in the foreground option, for example, the result would be a blue foreground when the widget were in active or pressed states. .. method:: lookup(style, option, state=None, default=None)
python, official-docs, cpython, P0
Local_Trusted_Corpus
7e1d5f30-6938-49e7-b996-b69ab75e9c9d
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,100
supabase-export-v2
3193da450481ce63
.. method:: current(newindex=None) If *newindex* is specified, sets the combobox value to the element position *newindex*. Otherwise, returns the index of the current value or -1 if the current value is not in the values list.
trusted_official_docs
CPython Docs
.. method:: current(newindex=None) If *newindex* is specified, sets the combobox value to the element position *newindex*. Otherwise, returns the index of the current value or -1 if the current value is not in the values list.
.. method:: current(newindex=None) If *newindex* is specified, sets the combobox value to the element position *newindex*. Otherwise, returns the index of the current value or -1 if the current value is not in the values list.
python, official-docs, cpython, P0
Local_Trusted_Corpus
864ad143-f1ca-4ff4-b4ca-d9ecf79049a4
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,052
supabase-export-v2
c6353a8185965bba
.. tabularcolumns:: |l|L| +-----------+--------------------------------------------------------------+ | Option | Description | +===========+==============================================================+ | class | Specifies the window class. The class is used when querying | | | the option database for the window's ot...
trusted_official_docs
CPython Docs
.. tabularcolumns:: |l|L| +-----------+--------------------------------------------------------------+ | Option | Description | +===========+==============================================================+ | class | Specifies the window class. The class is used when querying | | | the option database for the window's ot...
.. tabularcolumns:: |l|L| +-----------+--------------------------------------------------------------+ | Option | Description | +===========+==============================================================+ | class | Specifies the window class. The class is used when querying | | | the option database for the window's ot...
python, official-docs, cpython, P0
Local_Trusted_Corpus
8cc93899-073b-4e83-aa53-b423a3342a30
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,166
supabase-export-v2
73ff513e45c93986
This will extend the bindings for the toplevel window containing the notebook as follows: * :kbd:`Control-Tab`: selects the tab following the currently selected one. * :kbd:`Shift-Control-Tab`: selects the tab preceding the currently selected one. * :kbd:`Alt-K`: where *K* is the mnemonic (underlined) character of any ...
trusted_official_docs
CPython Docs
This will extend the bindings for the toplevel window containing the notebook as follows: * :kbd:`Control-Tab`: selects the tab following the currently selected one. * :kbd:`Shift-Control-Tab`: selects the tab preceding the currently selected one. * :kbd:`Alt-K`: where *K* is the mnemonic (underlined) character of any ...
This will extend the bindings for the toplevel window containing the notebook as follows: * :kbd:`Control-Tab`: selects the tab following the currently selected one. * :kbd:`Shift-Control-Tab`: selects the tab preceding the currently selected one. * :kbd:`Alt-K`: where *K* is the mnemonic (underlined) character of any ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
8f556002-2e6b-47a4-a283-f3e2cb2ded8e
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,035
supabase-export-v2
c8d0e759139f9b78
That code causes several :mod:`!tkinter.ttk` widgets (:class:`Button`, :class:`Checkbutton`, :class:`Entry`, :class:`Frame`, :class:`Label`, :class:`LabelFrame`, :class:`Menubutton`, :class:`PanedWindow`, :class:`Radiobutton`, :class:`Scale` and :class:`Scrollbar`) to automatically replace the Tk widgets. This has the ...
trusted_official_docs
CPython Docs
That code causes several :mod:`!tkinter.ttk` widgets (:class:`Button`, :class:`Checkbutton`, :class:`Entry`, :class:`Frame`, :class:`Label`, :class:`LabelFrame`, :class:`Menubutton`, :class:`PanedWindow`, :class:`Radiobutton`, :class:`Scale` and :class:`Scrollbar`) to automatically replace the Tk widgets. This has the ...
That code causes several :mod:`!tkinter.ttk` widgets (:class:`Button`, :class:`Checkbutton`, :class:`Entry`, :class:`Frame`, :class:`Label`, :class:`LabelFrame`, :class:`Menubutton`, :class:`PanedWindow`, :class:`Radiobutton`, :class:`Scale` and :class:`Scrollbar`) to automatically replace the Tk widgets. This has the ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
904087da-923d-401c-ac9f-5900eba8799c
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,409
supabase-export-v2
f773bc96f87f610c
The valid options/values are: *side*: whichside Specifies which side of the cavity to place the element; one of top, right, bottom or left. If omitted, the element occupies the entire cavity.
trusted_official_docs
CPython Docs
The valid options/values are: *side*: whichside Specifies which side of the cavity to place the element; one of top, right, bottom or left. If omitted, the element occupies the entire cavity.
The valid options/values are: *side*: whichside Specifies which side of the cavity to place the element; one of top, right, bottom or left. If omitted, the element occupies the entire cavity.
python, official-docs, cpython, P0
Local_Trusted_Corpus
92706d32-c8d7-43b3-9404-ad9359537510
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,105
supabase-export-v2
0fd3f52acb7c6282
Sets the value of the combobox to *value*. Spinbox ------- The :class:`ttk.Spinbox` widget is a :class:`ttk.Entry` enhanced with increment and decrement arrows. It can be used for numbers or lists of string values. This widget is a subclass of :class:`Entry`.
trusted_official_docs
CPython Docs
Sets the value of the combobox to *value*. Spinbox ------- The :class:`ttk.Spinbox` widget is a :class:`ttk.Entry` enhanced with increment and decrement arrows. It can be used for numbers or lists of string values. This widget is a subclass of :class:`Entry`.
Sets the value of the combobox to *value*. Spinbox ------- The :class:`ttk.Spinbox` widget is a :class:`ttk.Entry` enhanced with increment and decrement arrows. It can be used for numbers or lists of string values. This widget is a subclass of :class:`Entry`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
964d3029-b812-47ab-8ee6-d161bd5287b5
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,230
supabase-export-v2
689bfe82f2f33035
.. tabularcolumns:: |l|L| +--------------------+--------------------------------------------------+ | Event | Description | +====================+==================================================+ | <<TreeviewSelect>> | Generated whenever the selection changes. | +--------------------+---------------------------------...
trusted_official_docs
CPython Docs
.. tabularcolumns:: |l|L| +--------------------+--------------------------------------------------+ | Event | Description | +====================+==================================================+ | <<TreeviewSelect>> | Generated whenever the selection changes. | +--------------------+---------------------------------...
.. tabularcolumns:: |l|L| +--------------------+--------------------------------------------------+ | Event | Description | +====================+==================================================+ | <<TreeviewSelect>> | Generated whenever the selection changes. | +--------------------+---------------------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9aed75a9-2c5c-47a4-87f2-3cabd9475a83
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,126
supabase-export-v2
aca724e4f7fbcc14
fewer than four | | | elements are specified, bottom defaults to top, right defaults | | | to left, and top defaults to left. | +---------+----------------------------------------------------------------+ | width | If present and greater than zero, specified the desired width | | | of the pane area (not including inter...
trusted_official_docs
CPython Docs
fewer than four | | | elements are specified, bottom defaults to top, right defaults | | | to left, and top defaults to left. | +---------+----------------------------------------------------------------+ | width | If present and greater than zero, specified the desired width | | | of the pane area (not including inter...
fewer than four | | | elements are specified, bottom defaults to top, right defaults | | | to left, and top defaults to left. | +---------+----------------------------------------------------------------+ | width | If present and greater than zero, specified the desired width | | | of the pane area (not including inter...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9b1b3491-fa0f-4579-a756-f4ec26289ef6
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,329
supabase-export-v2
9b394b088be71a8e
Ttk Styling ----------- Each widget in :mod:`ttk` is assigned a style, which specifies the set of elements making up the widget and how they are arranged, along with dynamic and default settings for element options. By default the style name is the same as the widget's class name, but it may be overridden by the widget...
trusted_official_docs
CPython Docs
Ttk Styling ----------- Each widget in :mod:`ttk` is assigned a style, which specifies the set of elements making up the widget and how they are arranged, along with dynamic and default settings for element options. By default the style name is the same as the widget's class name, but it may be overridden by the widget...
Ttk Styling ----------- Each widget in :mod:`ttk` is assigned a style, which specifies the set of elements making up the widget and how they are arranged, along with dynamic and default settings for element options. By default the style name is the same as the widget's class name, but it may be overridden by the widget...
python, official-docs, cpython, P0
Local_Trusted_Corpus
9e39ca89-416c-4663-92cc-b7234611b0b2
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,211
supabase-export-v2
f6612405caeb2ace
| * headings: display the heading row. | | | | | | The default is "tree headings", i.e., show all | | | elements. | | | | | | **Note**: Column #0 always refers to the tree column, | | | even if show="tree" is not specified. | +----------------+--------------------------------------------------------+
trusted_official_docs
CPython Docs
| * headings: display the heading row. | | | | | | The default is "tree headings", i.e., show all | | | elements. | | | | | | **Note**: Column #0 always refers to the tree column, | | | even if show="tree" is not specified. | +----------------+--------------------------------------------------------+
| * headings: display the heading row. | | | | | | The default is "tree headings", i.e., show all | | | elements. | | | | | | **Note**: Column #0 always refers to the tree column, | | | even if show="tree" is not specified. | +----------------+--------------------------------------------------------+
python, official-docs, cpython, P0
Local_Trusted_Corpus
a13e198c-30ae-42fd-8c57-11abe81ecb86
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,085
supabase-export-v2
e23455696b798dfd
state according to it and return a new *statespec* indicating which flags were changed. If *statespec* is not specified, returns the currently enabled state flags. *statespec* will usually be a list or a tuple.
trusted_official_docs
CPython Docs
state according to it and return a new *statespec* indicating which flags were changed. If *statespec* is not specified, returns the currently enabled state flags. *statespec* will usually be a list or a tuple.
state according to it and return a new *statespec* indicating which flags were changed. If *statespec* is not specified, returns the currently enabled state flags. *statespec* will usually be a list or a tuple.
python, official-docs, cpython, P0
Local_Trusted_Corpus
a2127a39-1dc6-4b3e-aafb-61164e799288
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,370
supabase-export-v2
722adff3bd7c7dc2
"image" is used, *args* should contain the default image name followed by statespec/value pairs (this is the imagespec), and *kw* may have the following options: border=padding padding is a list of up to four integers, specifying the left, top, right, and bottom borders, respectively.
trusted_official_docs
CPython Docs
"image" is used, *args* should contain the default image name followed by statespec/value pairs (this is the imagespec), and *kw* may have the following options: border=padding padding is a list of up to four integers, specifying the left, top, right, and bottom borders, respectively.
"image" is used, *args* should contain the default image name followed by statespec/value pairs (this is the imagespec), and *kw* may have the following options: border=padding padding is a list of up to four integers, specifying the left, top, right, and bottom borders, respectively.
python, official-docs, cpython, P0
Local_Trusted_Corpus
a3e95cbb-1241-4561-95be-0a6c0fb3e19a
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,075
supabase-export-v2
0b46d821310903ab
allow user modification | +------------+-------------------------------------------------------------+ | alternate | A widget-specific alternate display format | +------------+-------------------------------------------------------------+ | invalid | The widget's value is invalid | +------------+-----------------------...
trusted_official_docs
CPython Docs
allow user modification | +------------+-------------------------------------------------------------+ | alternate | A widget-specific alternate display format | +------------+-------------------------------------------------------------+ | invalid | The widget's value is invalid | +------------+-----------------------...
allow user modification | +------------+-------------------------------------------------------------+ | alternate | A widget-specific alternate display format | +------------+-------------------------------------------------------------+ | invalid | The widget's value is invalid | +------------+-----------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a780a5d8-65d7-4b61-8263-12a08858b93f
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,411
supabase-export-v2
f44c199ec1a07f2f
*sticky*: nswe Specifies where the element is placed inside its allocated parcel. *unit*: 0 or 1 If set to 1, causes the element and all of its descendants to be treated as a single element for the purposes of :meth:`Widget.identify` et al. It's used for things like scrollbar thumbs with grips.
trusted_official_docs
CPython Docs
*sticky*: nswe Specifies where the element is placed inside its allocated parcel. *unit*: 0 or 1 If set to 1, causes the element and all of its descendants to be treated as a single element for the purposes of :meth:`Widget.identify` et al. It's used for things like scrollbar thumbs with grips.
*sticky*: nswe Specifies where the element is placed inside its allocated parcel. *unit*: 0 or 1 If set to 1, causes the element and all of its descendants to be treated as a single element for the purposes of :meth:`Widget.identify` et al. It's used for things like scrollbar thumbs with grips.
python, official-docs, cpython, P0
Local_Trusted_Corpus
a899d403-9afd-42e2-8f79-f70fb567230f
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,263
supabase-export-v2
24f7d4096866d90b
The valid options/values are: *text*: text The text to display in the column heading. *image*: imageName Specifies an image to display to the right of the column heading. *anchor*: anchor Specifies how the heading text should be aligned. One of the standard Tk anchor values. *command*: callback A callback to be in...
trusted_official_docs
CPython Docs
The valid options/values are: *text*: text The text to display in the column heading. *image*: imageName Specifies an image to display to the right of the column heading. *anchor*: anchor Specifies how the heading text should be aligned. One of the standard Tk anchor values. *command*: callback A callback to be in...
The valid options/values are: *text*: text The text to display in the column heading. *image*: imageName Specifies an image to display to the right of the column heading. *anchor*: anchor Specifies how the heading text should be aligned. One of the standard Tk anchor values. *command*: callback A callback to be in...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a8dcfa32-49eb-4387-b9ec-101bbda0eb31
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,220
supabase-export-v2
36ffe15c1a8d339c
.. tabularcolumns:: |l|L| +------------+-----------------------------------------------------------+ | Option | Description | +============+===========================================================+ | foreground | Specifies the text foreground color. | +------------+---------------------------------------------------...
trusted_official_docs
CPython Docs
.. tabularcolumns:: |l|L| +------------+-----------------------------------------------------------+ | Option | Description | +============+===========================================================+ | foreground | Specifies the text foreground color. | +------------+---------------------------------------------------...
.. tabularcolumns:: |l|L| +------------+-----------------------------------------------------------+ | Option | Description | +============+===========================================================+ | foreground | Specifies the text foreground color. | +------------+---------------------------------------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
a97b5d98-683a-4133-b78e-2303db006659
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,130
supabase-export-v2
c6e3b9d4cfd901c9
.. tabularcolumns:: |l|L| +-----------+--------------------------------------------------------------+ | Option | Description | +===========+==============================================================+ | state | Either "normal", "disabled" or "hidden". If "disabled", then | | | the tab is not selectable. If "hidden"...
trusted_official_docs
CPython Docs
.. tabularcolumns:: |l|L| +-----------+--------------------------------------------------------------+ | Option | Description | +===========+==============================================================+ | state | Either "normal", "disabled" or "hidden". If "disabled", then | | | the tab is not selectable. If "hidden"...
.. tabularcolumns:: |l|L| +-----------+--------------------------------------------------------------+ | Option | Description | +===========+==============================================================+ | state | Either "normal", "disabled" or "hidden". If "disabled", then | | | the tab is not selectable. If "hidden"...
python, official-docs, cpython, P0
Local_Trusted_Corpus
abc4ecd4-bd90-4733-b522-b7ba3f188133
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,175
supabase-export-v2
58d5cbea8da4c434
progress bar is automatically set to the value of| | | this name whenever the latter is modified. | +----------+---------------------------------------------------------------+ | phase | Read-only option. The widget periodically increments the value| | | of this option whenever its value is greater than 0 and, in | | |...
trusted_official_docs
CPython Docs
progress bar is automatically set to the value of| | | this name whenever the latter is modified. | +----------+---------------------------------------------------------------+ | phase | Read-only option. The widget periodically increments the value| | | of this option whenever its value is greater than 0 and, in | | |...
progress bar is automatically set to the value of| | | this name whenever the latter is modified. | +----------+---------------------------------------------------------------+ | phase | Read-only option. The widget periodically increments the value| | | of this option whenever its value is greater than 0 and, in | | |...
python, official-docs, cpython, P0
Local_Trusted_Corpus
accbdf50-cd59-40d9-ace8-86e54a9a7324
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,242
supabase-export-v2
753f61b8957308e5
are detached from the tree. No items in *newchildren* may be an ancestor of *item*. Note that not specifying *newchildren* results in detaching *item*'s children. .. method:: column(column, option=None, **kw)
trusted_official_docs
CPython Docs
are detached from the tree. No items in *newchildren* may be an ancestor of *item*. Note that not specifying *newchildren* results in detaching *item*'s children. .. method:: column(column, option=None, **kw)
are detached from the tree. No items in *newchildren* may be an ancestor of *item*. Note that not specifying *newchildren* results in detaching *item*'s children. .. method:: column(column, option=None, **kw)
python, official-docs, cpython, P0
Local_Trusted_Corpus
afc0a3e8-10fc-4a48-8f3d-29ba6f81c976
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,244
supabase-export-v2
bafe18dc1672813c
Query or modify the options for the specified *column*. If *kw* is not given, returns a dict of the column option values. If *option* is specified then the value for that *option* is returned. Otherwise, sets the options to the corresponding values.
trusted_official_docs
CPython Docs
Query or modify the options for the specified *column*. If *kw* is not given, returns a dict of the column option values. If *option* is specified then the value for that *option* is returned. Otherwise, sets the options to the corresponding values.
Query or modify the options for the specified *column*. If *kw* is not given, returns a dict of the column option values. If *option* is specified then the value for that *option* is returned. Otherwise, sets the options to the corresponding values.
python, official-docs, cpython, P0
Local_Trusted_Corpus
b2b69673-a274-4a9e-8580-02de3b88b03b
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,321
supabase-export-v2
0070cbfbf55e5b35
Query or modify the options for the specified *tagname*. If *kw* is not given, returns a dict of the option settings for *tagname*. If *option* is specified, returns the value for that *option* for the specified *tagname*. Otherwise, sets the options to the corresponding values for the given *tagname*.
trusted_official_docs
CPython Docs
Query or modify the options for the specified *tagname*. If *kw* is not given, returns a dict of the option settings for *tagname*. If *option* is specified, returns the value for that *option* for the specified *tagname*. Otherwise, sets the options to the corresponding values for the given *tagname*.
Query or modify the options for the specified *tagname*. If *kw* is not given, returns a dict of the option settings for *tagname*. If *option* is specified, returns the value for that *option* for the specified *tagname*. Otherwise, sets the options to the corresponding values for the given *tagname*.
python, official-docs, cpython, P0
Local_Trusted_Corpus
b3c52c68-72c3-44bc-ae6e-4430a859255c
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,374
supabase-export-v2
e6919443d3373ef9
sticky=spec Specifies how the image is placed within the final parcel. spec contains zero or more characters "n", "s", "w", or "e". width=width Specifies a minimum width for the element. If less than zero, the base image's width is used as a default.
trusted_official_docs
CPython Docs
sticky=spec Specifies how the image is placed within the final parcel. spec contains zero or more characters "n", "s", "w", or "e". width=width Specifies a minimum width for the element. If less than zero, the base image's width is used as a default.
sticky=spec Specifies how the image is placed within the final parcel. spec contains zero or more characters "n", "s", "w", or "e". width=width Specifies a minimum width for the element. If less than zero, the base image's width is used as a default.
python, official-docs, cpython, P0
Local_Trusted_Corpus
b5ff09a2-43cb-4aba-a1ac-5381297080b9
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,111
supabase-export-v2
3c6d7ee55645961b
value. If set, this is the maximum value to | | | which the increment button will increment. | +----------------------+------------------------------------------------------+ | increment | Float value. Specifies the amount which the | | | increment/decrement buttons change the | | | value. Defaults to 1.0. | +---------...
trusted_official_docs
CPython Docs
value. If set, this is the maximum value to | | | which the increment button will increment. | +----------------------+------------------------------------------------------+ | increment | Float value. Specifies the amount which the | | | increment/decrement buttons change the | | | value. Defaults to 1.0. | +---------...
value. If set, this is the maximum value to | | | which the increment button will increment. | +----------------------+------------------------------------------------------+ | increment | Float value. Specifies the amount which the | | | increment/decrement buttons change the | | | value. Defaults to 1.0. | +---------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b662835c-fc45-4353-9950-41b49ccad4a5
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,361
supabase-export-v2
295e797be558c7d7
Define the widget layout for given *style*. If *layoutspec* is omitted, return the layout specification for given style. *layoutspec*, if specified, is expected to be a list or some other sequence type (excluding strings), where each item should be a tuple and the first item is the layout name and the second item sho...
trusted_official_docs
CPython Docs
Define the widget layout for given *style*. If *layoutspec* is omitted, return the layout specification for given style. *layoutspec*, if specified, is expected to be a list or some other sequence type (excluding strings), where each item should be a tuple and the first item is the layout name and the second item sho...
Define the widget layout for given *style*. If *layoutspec* is omitted, return the layout specification for given style. *layoutspec*, if specified, is expected to be a list or some other sequence type (excluding strings), where each item should be a tuple and the first item is the layout name and the second item sho...
python, official-docs, cpython, P0
Local_Trusted_Corpus
b6819584-e75b-4a1f-97ab-d29e02e13c34
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,194
supabase-export-v2
ae74f24fddc66916
The :class:`ttk.Sizegrip` widget (also known as a grow box) allows the user to resize the containing toplevel window by pressing and dragging the grip. This widget has neither specific options nor specific methods, besides the ones inherited from :class:`ttk.Widget`.
trusted_official_docs
CPython Docs
The :class:`ttk.Sizegrip` widget (also known as a grow box) allows the user to resize the containing toplevel window by pressing and dragging the grip. This widget has neither specific options nor specific methods, besides the ones inherited from :class:`ttk.Widget`.
The :class:`ttk.Sizegrip` widget (also known as a grow box) allows the user to resize the containing toplevel window by pressing and dragging the grip. This widget has neither specific options nor specific methods, besides the ones inherited from :class:`ttk.Widget`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
bc4aa65f-62a7-44b5-980a-677c8b2f1782
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,210
supabase-export-v2
9ebd7e9066c9ee7a
"browse", only a single item will be | | | selected at a time. If "none", the selection will not | | | be changed. | | | | | | Note that the application code and tag bindings can set| | | the selection however they wish, regardless of the | | | value of this option. | +----------------+---------------------------------...
trusted_official_docs
CPython Docs
"browse", only a single item will be | | | selected at a time. If "none", the selection will not | | | be changed. | | | | | | Note that the application code and tag bindings can set| | | the selection however they wish, regardless of the | | | value of this option. | +----------------+---------------------------------...
"browse", only a single item will be | | | selected at a time. If "none", the selection will not | | | be changed. | | | | | | Note that the application code and tag bindings can set| | | the selection however they wish, regardless of the | | | value of this option. | +----------------+---------------------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c2e9a004-ea14-4a57-ad75-235d98a29c33
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,380
supabase-export-v2
fd45d88c6a9bd941
style = ttk.Style(root) style.element_create('plain.background', 'from', 'default') If "vsapi" is used as the value of *etype*, :meth:`element_create` will create a new element in the current theme whose visual appearance is drawn using the Microsoft Visual Styles API which is responsible for the themed styles on Wi...
trusted_official_docs
CPython Docs
style = ttk.Style(root) style.element_create('plain.background', 'from', 'default') If "vsapi" is used as the value of *etype*, :meth:`element_create` will create a new element in the current theme whose visual appearance is drawn using the Microsoft Visual Styles API which is responsible for the themed styles on Wi...
style = ttk.Style(root) style.element_create('plain.background', 'from', 'default') If "vsapi" is used as the value of *etype*, :meth:`element_create` will create a new element in the current theme whose visual appearance is drawn using the Microsoft Visual Styles API which is responsible for the themed styles on Wi...
python, official-docs, cpython, P0
Local_Trusted_Corpus
c814916c-f9e5-41a8-834e-ad9863866ef8
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,025
supabase-export-v2
dd01dcbede518683
-------------- The :mod:`!tkinter.ttk` module provides access to the Tk themed widget set, introduced in Tk 8.5. It provides additional benefits including anti-aliased font rendering under X11 and window transparency (requiring a composition window manager on X11).
trusted_official_docs
CPython Docs
-------------- The :mod:`!tkinter.ttk` module provides access to the Tk themed widget set, introduced in Tk 8.5. It provides additional benefits including anti-aliased font rendering under X11 and window transparency (requiring a composition window manager on X11).
-------------- The :mod:`!tkinter.ttk` module provides access to the Tk themed widget set, introduced in Tk 8.5. It provides additional benefits including anti-aliased font rendering under X11 and window transparency (requiring a composition window manager on X11).
python, official-docs, cpython, P0
Local_Trusted_Corpus
d109e0b6-811d-4e4c-a1e9-d7404f7f1c9b
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,131
supabase-export-v2
982d00b72c454750
| | | side (north, south, east or west) that the child window will | | | stick to, as per the :meth:`grid` geometry manager. | +-----------+--------------------------------------------------------------+ | padding | Specifies the amount of extra space to add between the | | | notebook and this pane. Syntax is the same ...
trusted_official_docs
CPython Docs
| | | side (north, south, east or west) that the child window will | | | stick to, as per the :meth:`grid` geometry manager. | +-----------+--------------------------------------------------------------+ | padding | Specifies the amount of extra space to add between the | | | notebook and this pane. Syntax is the same ...
| | | side (north, south, east or west) that the child window will | | | stick to, as per the :meth:`grid` geometry manager. | +-----------+--------------------------------------------------------------+ | padding | Specifies the amount of extra space to add between the | | | notebook and this pane. Syntax is the same ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d31e5f2a-72cc-427c-ad78-ec5d7366d2c7
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,203
supabase-export-v2
c9184f774987f66f
There is a distinguished root item, named ``{}``. The root item itself is not displayed; its children appear at the top level of the hierarchy. Each item also has a list of tags, which can be used to associate event bindings with individual items and control the appearance of the item.
trusted_official_docs
CPython Docs
There is a distinguished root item, named ``{}``. The root item itself is not displayed; its children appear at the top level of the hierarchy. Each item also has a list of tags, which can be used to associate event bindings with individual items and control the appearance of the item.
There is a distinguished root item, named ``{}``. The root item itself is not displayed; its children appear at the top level of the hierarchy. Each item also has a list of tags, which can be used to associate event bindings with individual items and control the appearance of the item.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d33b5ae4-c451-44ab-9579-b101b3705f30
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,113
supabase-export-v2
ff359685a0625758
| | | the value, P is the precision, and '%' and 'f' are | | | literal. | +----------------------+------------------------------------------------------+ | command | Python callable. Will be called with no arguments | | | whenever either of the increment or decrement buttons| | | are pressed. | | | | +-----------------...
trusted_official_docs
CPython Docs
| | | the value, P is the precision, and '%' and 'f' are | | | literal. | +----------------------+------------------------------------------------------+ | command | Python callable. Will be called with no arguments | | | whenever either of the increment or decrement buttons| | | are pressed. | | | | +-----------------...
| | | the value, P is the precision, and '%' and 'f' are | | | literal. | +----------------------+------------------------------------------------------+ | command | Python callable. Will be called with no arguments | | | whenever either of the increment or decrement buttons| | | are pressed. | | | | +-----------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d3f35cd3-de81-4e59-bb4f-1c0c901d0d3a
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,386
supabase-export-v2
dcb94be03ca70a37
Example:: style = ttk.Style(root) style.element_create('pin', 'vsapi', 'EXPLORERBAR', 3, [ ('pressed', '!selected', 3), ('active', '!selected', 2), ('pressed', 'selected', 6), ('active', 'selected', 5), ('selected', 4), ('', 1)]) style.layout('Explorer.Pin', [('Explorer.Pin.pin', {'sticky': 'news'})]) pin = t...
trusted_official_docs
CPython Docs
Example:: style = ttk.Style(root) style.element_create('pin', 'vsapi', 'EXPLORERBAR', 3, [ ('pressed', '!selected', 3), ('active', '!selected', 2), ('pressed', 'selected', 6), ('active', 'selected', 5), ('selected', 4), ('', 1)]) style.layout('Explorer.Pin', [('Explorer.Pin.pin', {'sticky': 'news'})]) pin = t...
Example:: style = ttk.Style(root) style.element_create('pin', 'vsapi', 'EXPLORERBAR', 3, [ ('pressed', '!selected', 3), ('active', '!selected', 2), ('pressed', 'selected', 6), ('active', 'selected', 5), ('selected', 4), ('', 1)]) style.layout('Explorer.Pin', [('Explorer.Pin.pin', {'sticky': 'news'})]) pin = t...
python, official-docs, cpython, P0
Local_Trusted_Corpus
d444eb66-9fd3-44e3-b86e-e8210c2e5ace
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,223
supabase-export-v2
9a7fd71e8e162ddf
Column identifiers take any of the following forms: * A symbolic name from the list of columns option. * An integer n, specifying the nth data column. * A string of the form #n, where n is an integer, specifying the nth display column.
trusted_official_docs
CPython Docs
Column identifiers take any of the following forms: * A symbolic name from the list of columns option. * An integer n, specifying the nth data column. * A string of the form #n, where n is an integer, specifying the nth display column.
Column identifiers take any of the following forms: * A symbolic name from the list of columns option. * An integer n, specifying the nth data column. * A string of the form #n, where n is an integer, specifying the nth display column.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d4bc21d0-5d17-4833-b0bc-65886a03bae6
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,196
supabase-export-v2
e92394aeb2b12f0b
Platform-specific notes ^^^^^^^^^^^^^^^^^^^^^^^ * On macOS, toplevel windows automatically include a built-in size grip by default. Adding a :class:`Sizegrip` is harmless, since the built-in grip will just mask the widget.
trusted_official_docs
CPython Docs
Platform-specific notes ^^^^^^^^^^^^^^^^^^^^^^^ * On macOS, toplevel windows automatically include a built-in size grip by default. Adding a :class:`Sizegrip` is harmless, since the built-in grip will just mask the widget.
Platform-specific notes ^^^^^^^^^^^^^^^^^^^^^^^ * On macOS, toplevel windows automatically include a built-in size grip by default. Adding a :class:`Sizegrip` is harmless, since the built-in grip will just mask the widget.
python, official-docs, cpython, P0
Local_Trusted_Corpus
d53c6662-5414-4ced-a7db-96b63cd50e97
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,066
supabase-export-v2
fccc5a92a965baa0
much space, in | | | character widths, to allocate for the text label, if less | | | than zero, specifies a minimum width. If zero or | | | unspecified, the natural width of the text label is used. | +--------------+-----------------------------------------------------------+
trusted_official_docs
CPython Docs
much space, in | | | character widths, to allocate for the text label, if less | | | than zero, specifies a minimum width. If zero or | | | unspecified, the natural width of the text label is used. | +--------------+-----------------------------------------------------------+
much space, in | | | character widths, to allocate for the text label, if less | | | than zero, specifies a minimum width. If zero or | | | unspecified, the natural width of the text label is used. | +--------------+-----------------------------------------------------------+
python, official-docs, cpython, P0
Local_Trusted_Corpus
d8839cf6-543b-4afc-a1b4-5d329f44a056
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,154
supabase-export-v2
1b51228e8d3af2cc
"end", an integer index, or the name of a managed child. If *child* is already managed by the notebook, moves it to the specified position. See `Tab Options`_ for the list of available options.
trusted_official_docs
CPython Docs
"end", an integer index, or the name of a managed child. If *child* is already managed by the notebook, moves it to the specified position. See `Tab Options`_ for the list of available options.
"end", an integer index, or the name of a managed child. If *child* is already managed by the notebook, moves it to the specified position. See `Tab Options`_ for the list of available options.
python, official-docs, cpython, P0
Local_Trusted_Corpus
da86e3bc-6eab-4d8c-a04a-bf75b1befba8
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,209
supabase-export-v2
3029f581b73d5069
in which they appear, or the | | | string "#all". | +----------------+--------------------------------------------------------+ | height | Specifies the number of rows which should be visible. | | | Note: the requested width is determined from the sum | | | of the column widths. | +----------------+--------------------...
trusted_official_docs
CPython Docs
in which they appear, or the | | | string "#all". | +----------------+--------------------------------------------------------+ | height | Specifies the number of rows which should be visible. | | | Note: the requested width is determined from the sum | | | of the column widths. | +----------------+--------------------...
in which they appear, or the | | | string "#all". | +----------------+--------------------------------------------------------+ | height | Specifies the number of rows which should be visible. | | | Note: the requested width is determined from the sum | | | of the column widths. | +----------------+--------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
db79d6ad-13dc-45e4-a57d-996c3e998231
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,125
supabase-export-v2
ce1a30429f42e428
.. tabularcolumns:: |l|L| +---------+----------------------------------------------------------------+ | Option | Description | +=========+================================================================+ | height | If present and greater than zero, specifies the desired height | | | of the pane area (not including int...
trusted_official_docs
CPython Docs
.. tabularcolumns:: |l|L| +---------+----------------------------------------------------------------+ | Option | Description | +=========+================================================================+ | height | If present and greater than zero, specifies the desired height | | | of the pane area (not including int...
.. tabularcolumns:: |l|L| +---------+----------------------------------------------------------------+ | Option | Description | +=========+================================================================+ | height | If present and greater than zero, specifies the desired height | | | of the pane area (not including int...
python, official-docs, cpython, P0
Local_Trusted_Corpus
db88a8f4-0832-4d18-9c4e-6b76f8314eac
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,372
supabase-export-v2
5b576b6ae035f7de
height=height Specifies a minimum height for the element. If less than zero, the base image's height is used as a default. padding=padding Specifies the element's interior padding. Defaults to border's value if not specified.
trusted_official_docs
CPython Docs
height=height Specifies a minimum height for the element. If less than zero, the base image's height is used as a default. padding=padding Specifies the element's interior padding. Defaults to border's value if not specified.
height=height Specifies a minimum height for the element. If less than zero, the base image's height is used as a default. padding=padding Specifies the element's interior padding. Defaults to border's value if not specified.
python, official-docs, cpython, P0
Local_Trusted_Corpus
dbe74178-5888-4b9b-9e18-39f9fe1526ef
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,362
supabase-export-v2
3dd744817b30ffa6
each item should be a tuple and the first item is the layout name and the second item should have the format described in `Layouts`_. To understand the format, see the following example (it is not intended to do anything useful)::
trusted_official_docs
CPython Docs
each item should be a tuple and the first item is the layout name and the second item should have the format described in `Layouts`_. To understand the format, see the following example (it is not intended to do anything useful)::
each item should be a tuple and the first item is the layout name and the second item should have the format described in `Layouts`_. To understand the format, see the following example (it is not intended to do anything useful)::
python, official-docs, cpython, P0
Local_Trusted_Corpus
df7a4788-2aec-443a-8683-6324f468e092
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,346
supabase-export-v2
7034c1676f01f9d8
(usually) containing statespecs grouped in tuples, lists, or some other preference. A statespec is a compound of one or more states and then a value. An example may make it more understandable::
trusted_official_docs
CPython Docs
(usually) containing statespecs grouped in tuples, lists, or some other preference. A statespec is a compound of one or more states and then a value. An example may make it more understandable::
(usually) containing statespecs grouped in tuples, lists, or some other preference. A statespec is a compound of one or more states and then a value. An example may make it more understandable::
python, official-docs, cpython, P0
Local_Trusted_Corpus
e1b89b3a-c060-48fb-acdc-adce138f20d3
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,412
supabase-export-v2
6767b09395a81321
its descendants to be treated as a single element for the purposes of :meth:`Widget.identify` et al. It's used for things like scrollbar thumbs with grips. *children*: [sublayout... ] Specifies a list of elements to place inside the element. Each element is a tuple (or other sequence type) where the first item is th...
trusted_official_docs
CPython Docs
its descendants to be treated as a single element for the purposes of :meth:`Widget.identify` et al. It's used for things like scrollbar thumbs with grips. *children*: [sublayout... ] Specifies a list of elements to place inside the element. Each element is a tuple (or other sequence type) where the first item is th...
its descendants to be treated as a single element for the purposes of :meth:`Widget.identify` et al. It's used for things like scrollbar thumbs with grips. *children*: [sublayout... ] Specifies a list of elements to place inside the element. Each element is a tuple (or other sequence type) where the first item is th...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e3ccfc33-6bdc-4bce-a032-166462a2b62b
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,383
supabase-export-v2
e4bf94ece065e56b
of up to four integers specifying the left, top, right and bottom padding quantities respectively. This option may not be mixed with any other options. width=width Specifies the width for the element. If this option is set then the Visual Styles API will not be queried for the recommended size or the part. If this op...
trusted_official_docs
CPython Docs
of up to four integers specifying the left, top, right and bottom padding quantities respectively. This option may not be mixed with any other options. width=width Specifies the width for the element. If this option is set then the Visual Styles API will not be queried for the recommended size or the part. If this op...
of up to four integers specifying the left, top, right and bottom padding quantities respectively. This option may not be mixed with any other options. width=width Specifies the width for the element. If this option is set then the Visual Styles API will not be queried for the recommended size or the part. If this op...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e4f0619c-d076-4ddc-abf0-e8025727c61b
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,246
supabase-export-v2
24243f835dfabf0d
The valid options/values are: *id* Returns the column name. This is a read-only option. *anchor*: One of the standard Tk anchor values. Specifies how the text in this column should be aligned with respect to the cell. *minwidth*: width The minimum width of the column in pixels. The treeview widget will not make the...
trusted_official_docs
CPython Docs
The valid options/values are: *id* Returns the column name. This is a read-only option. *anchor*: One of the standard Tk anchor values. Specifies how the text in this column should be aligned with respect to the cell. *minwidth*: width The minimum width of the column in pixels. The treeview widget will not make the...
The valid options/values are: *id* Returns the column name. This is a read-only option. *anchor*: One of the standard Tk anchor values. Specifies how the text in this column should be aligned with respect to the cell. *minwidth*: width The minimum width of the column in pixels. The treeview widget will not make the...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e5bf8409-c380-4a57-a05b-4850eb33cbdb
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,288
supabase-export-v2
edb717c5a5aff500
Moves *item* to position *index* in *parent*'s list of children. It is illegal to move an item under one of its descendants. If *index* is less than or equal to zero, *item* is moved to the beginning; if greater than or equal to the number of children, it is moved to the end. If *item* was detached it is reattached.
trusted_official_docs
CPython Docs
Moves *item* to position *index* in *parent*'s list of children. It is illegal to move an item under one of its descendants. If *index* is less than or equal to zero, *item* is moved to the beginning; if greater than or equal to the number of children, it is moved to the end. If *item* was detached it is reattached.
Moves *item* to position *index* in *parent*'s list of children. It is illegal to move an item under one of its descendants. If *index* is less than or equal to zero, *item* is moved to the beginning; if greater than or equal to the number of children, it is moved to the end. If *item* was detached it is reattached.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e72f3264-cba8-4f2a-a6f0-1c4466f42719
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,281
supabase-export-v2
5cdaa2c74468b605
Creates a new item and returns the item identifier of the newly created item. *parent* is the item ID of the parent item, or the empty string to create a new top-level item. *index* is an integer, or the value "end", specifying where in the list of parent's children to insert the new item. If *index* is less than or ...
trusted_official_docs
CPython Docs
Creates a new item and returns the item identifier of the newly created item. *parent* is the item ID of the parent item, or the empty string to create a new top-level item. *index* is an integer, or the value "end", specifying where in the list of parent's children to insert the new item. If *index* is less than or ...
Creates a new item and returns the item identifier of the newly created item. *parent* is the item ID of the parent item, or the empty string to create a new top-level item. *index* is an integer, or the value "end", specifying where in the list of parent's children to insert the new item. If *index* is less than or ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e798366f-f9b7-45ac-828e-50e63bc531c2
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,336
supabase-export-v2
1c678080ed2554a2
Query or set the default value of the specified option(s) in *style*. Each key in *kw* is an option and each value is a string identifying the value for that option.
trusted_official_docs
CPython Docs
Query or set the default value of the specified option(s) in *style*. Each key in *kw* is an option and each value is a string identifying the value for that option.
Query or set the default value of the specified option(s) in *style*. Each key in *kw* is an option and each value is a string identifying the value for that option.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e90d4395-0779-41c9-82a2-53491433e07d
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,273
supabase-export-v2
5357bc80d33cce7c
Returns one of: +-----------+--------------------------------------+ | region | meaning | +===========+======================================+ | heading | Tree heading area. | +-----------+--------------------------------------+ | separator | Space between two columns headings. | +-----------+--------------------...
trusted_official_docs
CPython Docs
Returns one of: +-----------+--------------------------------------+ | region | meaning | +===========+======================================+ | heading | Tree heading area. | +-----------+--------------------------------------+ | separator | Space between two columns headings. | +-----------+--------------------...
Returns one of: +-----------+--------------------------------------+ | region | meaning | +===========+======================================+ | heading | Tree heading area. | +-----------+--------------------------------------+ | separator | Space between two columns headings. | +-----------+--------------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
e9a54251-d8da-4c8e-8c15-0fedbc90b491
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,337
supabase-export-v2
348e9dcb0b7fd7d7
Each key in *kw* is an option and each value is a string identifying the value for that option. For example, to change every default button to be a flat button with some padding and a different background color::
trusted_official_docs
CPython Docs
Each key in *kw* is an option and each value is a string identifying the value for that option. For example, to change every default button to be a flat button with some padding and a different background color::
Each key in *kw* is an option and each value is a string identifying the value for that option. For example, to change every default button to be a flat button with some padding and a different background color::
python, official-docs, cpython, P0
Local_Trusted_Corpus
e9d48acd-324c-49cb-9591-5ffd2f9d1863
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,092
supabase-export-v2
ccad5fb6de18e212
.. tabularcolumns:: |l|L| +-----------------+--------------------------------------------------------+ | Option | Description | +=================+========================================================+ | exportselection | Boolean value. If set, the widget selection is linked | | | to the Window Manager selection (wh...
trusted_official_docs
CPython Docs
.. tabularcolumns:: |l|L| +-----------------+--------------------------------------------------------+ | Option | Description | +=================+========================================================+ | exportselection | Boolean value. If set, the widget selection is linked | | | to the Window Manager selection (wh...
.. tabularcolumns:: |l|L| +-----------------+--------------------------------------------------------+ | Option | Description | +=================+========================================================+ | exportselection | Boolean value. If set, the widget selection is linked | | | to the Window Manager selection (wh...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ec3dde18-267c-412a-8f5f-490b903707d1
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,286
supabase-export-v2
94f093c67967f050
returned. If *option* is specified then the value for that option is returned. Otherwise, sets the options to the corresponding values as given by *kw*. .. method:: move(item, parent, index)
trusted_official_docs
CPython Docs
returned. If *option* is specified then the value for that option is returned. Otherwise, sets the options to the corresponding values as given by *kw*. .. method:: move(item, parent, index)
returned. If *option* is specified then the value for that option is returned. Otherwise, sets the options to the corresponding values as given by *kw*. .. method:: move(item, parent, index)
python, official-docs, cpython, P0
Local_Trusted_Corpus
ec578396-949f-4598-90e7-bd41a586db07
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,169
supabase-export-v2
d618c9fc8d397144
Progressbar ----------- The :class:`ttk.Progressbar` widget shows the status of a long-running operation. It can operate in two modes: 1) the determinate mode which shows the amount completed relative to the total amount of work to be done and 2) the indeterminate mode which provides an animated display to let the user...
trusted_official_docs
CPython Docs
Progressbar ----------- The :class:`ttk.Progressbar` widget shows the status of a long-running operation. It can operate in two modes: 1) the determinate mode which shows the amount completed relative to the total amount of work to be done and 2) the indeterminate mode which provides an animated display to let the user...
Progressbar ----------- The :class:`ttk.Progressbar` widget shows the status of a long-running operation. It can operate in two modes: 1) the determinate mode which shows the amount completed relative to the total amount of work to be done and 2) the indeterminate mode which provides an animated display to let the user...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ed8d9561-4bd7-41ca-942d-de447c6bccf6
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,316
supabase-export-v2
961cf02dbd2b060c
.. method:: set(item, column=None, value=None) With one argument, returns a dictionary of column/value pairs for the specified *item*. With two arguments, returns the current value of the specified *column*. With three arguments, sets the value of given *column* in given *item* to the specified *value*.
trusted_official_docs
CPython Docs
.. method:: set(item, column=None, value=None) With one argument, returns a dictionary of column/value pairs for the specified *item*. With two arguments, returns the current value of the specified *column*. With three arguments, sets the value of given *column* in given *item* to the specified *value*.
.. method:: set(item, column=None, value=None) With one argument, returns a dictionary of column/value pairs for the specified *item*. With two arguments, returns the current value of the specified *column*. With three arguments, sets the value of given *column* in given *item* to the specified *value*.
python, official-docs, cpython, P0
Local_Trusted_Corpus
edc37f3a-96f0-4698-85e5-09ebc2152a3e
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,039
supabase-export-v2
caa88e2d1c075576
Ttk Widgets ----------- Ttk comes with 18 widgets, twelve of which already existed in tkinter: :class:`Button`, :class:`Checkbutton`, :class:`Entry`, :class:`Frame`, :class:`Label`, :class:`LabelFrame`, :class:`Menubutton`, :class:`PanedWindow`, :class:`Radiobutton`, :class:`Scale`, :class:`Scrollbar`, and :class:`Spin...
trusted_official_docs
CPython Docs
Ttk Widgets ----------- Ttk comes with 18 widgets, twelve of which already existed in tkinter: :class:`Button`, :class:`Checkbutton`, :class:`Entry`, :class:`Frame`, :class:`Label`, :class:`LabelFrame`, :class:`Menubutton`, :class:`PanedWindow`, :class:`Radiobutton`, :class:`Scale`, :class:`Scrollbar`, and :class:`Spin...
Ttk Widgets ----------- Ttk comes with 18 widgets, twelve of which already existed in tkinter: :class:`Button`, :class:`Checkbutton`, :class:`Entry`, :class:`Frame`, :class:`Label`, :class:`LabelFrame`, :class:`Menubutton`, :class:`PanedWindow`, :class:`Radiobutton`, :class:`Scale`, :class:`Scrollbar`, and :class:`Spin...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f33bddb6-2481-4b4f-87d9-84440d90c330
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,377
supabase-export-v2
0b0ca4c2eb5267e4
img1 = tkinter.PhotoImage(master=root, file='button.png') img1 = tkinter.PhotoImage(master=root, file='button-pressed.png') img1 = tkinter.PhotoImage(master=root, file='button-active.png') style = ttk.Style(root) style.element_create('Button.button', 'image', img1, ('pressed', img2), ('active', img3), border=(2, 4), st...
trusted_official_docs
CPython Docs
img1 = tkinter.PhotoImage(master=root, file='button.png') img1 = tkinter.PhotoImage(master=root, file='button-pressed.png') img1 = tkinter.PhotoImage(master=root, file='button-active.png') style = ttk.Style(root) style.element_create('Button.button', 'image', img1, ('pressed', img2), ('active', img3), border=(2, 4), st...
img1 = tkinter.PhotoImage(master=root, file='button.png') img1 = tkinter.PhotoImage(master=root, file='button-pressed.png') img1 = tkinter.PhotoImage(master=root, file='button-active.png') style = ttk.Style(root) style.element_create('Button.button', 'image', img1, ('pressed', img2), ('active', img3), border=(2, 4), st...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f79a0469-9391-4eef-b10a-018595244180
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,160
supabase-export-v2
7e931a1a538973fa
Query or modify the options of the specific *tab_id*. If *kw* is not given, returns a dictionary of the tab option values. If *option* is specified, returns the value of that *option*. Otherwise, sets the options to the corresponding values.
trusted_official_docs
CPython Docs
Query or modify the options of the specific *tab_id*. If *kw* is not given, returns a dictionary of the tab option values. If *option* is specified, returns the value of that *option*. Otherwise, sets the options to the corresponding values.
Query or modify the options of the specific *tab_id*. If *kw* is not given, returns a dictionary of the tab option values. If *option* is specified, returns the value of that *option*. Otherwise, sets the options to the corresponding values.
python, official-docs, cpython, P0
Local_Trusted_Corpus
f7e481b1-7138-423e-9b89-ddfaf20ac0c3
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,053
supabase-export-v2
78060c0e6a6e9997
be specified when the window is | | | created. | +-----------+--------------------------------------------------------------+ | cursor | Specifies the mouse cursor to be used for the widget. If set | | | to the empty string (the default), the cursor is inherited | | | for the parent widget. | +-----------+-------------...
trusted_official_docs
CPython Docs
be specified when the window is | | | created. | +-----------+--------------------------------------------------------------+ | cursor | Specifies the mouse cursor to be used for the widget. If set | | | to the empty string (the default), the cursor is inherited | | | for the parent widget. | +-----------+-------------...
be specified when the window is | | | created. | +-----------+--------------------------------------------------------------+ | cursor | Specifies the mouse cursor to be used for the widget. If set | | | to the empty string (the default), the cursor is inherited | | | for the parent widget. | +-----------+-------------...
python, official-docs, cpython, P0
Local_Trusted_Corpus
f90d6eba-6bda-4035-b659-0a2e3170b8aa
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,040
supabase-export-v2
79873cd139110fbc
:class:`PanedWindow`, :class:`Radiobutton`, :class:`Scale`, :class:`Scrollbar`, and :class:`Spinbox`. The other six are new: :class:`Combobox`, :class:`Notebook`, :class:`Progressbar`, :class:`Separator`, :class:`Sizegrip` and :class:`Treeview`. And all them are subclasses of :class:`Widget`. Using the Ttk widgets give...
trusted_official_docs
CPython Docs
:class:`PanedWindow`, :class:`Radiobutton`, :class:`Scale`, :class:`Scrollbar`, and :class:`Spinbox`. The other six are new: :class:`Combobox`, :class:`Notebook`, :class:`Progressbar`, :class:`Separator`, :class:`Sizegrip` and :class:`Treeview`. And all them are subclasses of :class:`Widget`. Using the Ttk widgets give...
:class:`PanedWindow`, :class:`Radiobutton`, :class:`Scale`, :class:`Scrollbar`, and :class:`Spinbox`. The other six are new: :class:`Combobox`, :class:`Notebook`, :class:`Progressbar`, :class:`Separator`, :class:`Sizegrip` and :class:`Treeview`. And all them are subclasses of :class:`Widget`. Using the Ttk widgets give...
python, official-docs, cpython, P0
Local_Trusted_Corpus
fd4d71d4-a4ed-4d8c-96d0-4e6d99146b48
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,173
supabase-export-v2
37e2cf6d4d5382ef
.. tabularcolumns:: |l|L| +----------+---------------------------------------------------------------+ | Option | Description | +==========+===============================================================+ | orient | One of "horizontal" or "vertical". Specifies the orientation | | | of the progress bar. | +----------+--...
trusted_official_docs
CPython Docs
.. tabularcolumns:: |l|L| +----------+---------------------------------------------------------------+ | Option | Description | +==========+===============================================================+ | orient | One of "horizontal" or "vertical". Specifies the orientation | | | of the progress bar. | +----------+--...
.. tabularcolumns:: |l|L| +----------+---------------------------------------------------------------+ | Option | Description | +==========+===============================================================+ | orient | One of "horizontal" or "vertical". Specifies the orientation | | | of the progress bar. | +----------+--...
python, official-docs, cpython, P0
Local_Trusted_Corpus
ff467021-22f0-444b-9fcd-91aecc8b3299
CPython Docs
file://datasets/cpython/Doc/library/tkinter.ttk.rst
unknown
d87d35f4-ce6c-4c73-888c-f9df9e8f2572
16,121
supabase-export-v2
4a68010f7647da4e
Notebook -------- Ttk Notebook widget manages a collection of windows and displays a single one at a time. Each child window is associated with a tab, which the user may select to change the currently displayed window.
trusted_official_docs
CPython Docs
Notebook -------- Ttk Notebook widget manages a collection of windows and displays a single one at a time. Each child window is associated with a tab, which the user may select to change the currently displayed window.
Notebook -------- Ttk Notebook widget manages a collection of windows and displays a single one at a time. Each child window is associated with a tab, which the user may select to change the currently displayed window.
python, official-docs, cpython, P0
Local_Trusted_Corpus
1c2e3099-c27b-44c2-8f31-27b1c55e2b08
CPython Docs
file://datasets/cpython/Doc/library/grp.rst
unknown
202ce337-6b26-4999-bff6-dbe7df000977
16,422
supabase-export-v2
f37cfd14d323a43f
a ``gr_name`` that starts with a ``+`` or ``-`` is likely to be a YP/NIS reference and may not be accessible via :func:`getgrnam` or :func:`getgrgid`.) It defines the following items:
trusted_official_docs
CPython Docs
a ``gr_name`` that starts with a ``+`` or ``-`` is likely to be a YP/NIS reference and may not be accessible via :func:`getgrnam` or :func:`getgrgid`.) It defines the following items:
a ``gr_name`` that starts with a ``+`` or ``-`` is likely to be a YP/NIS reference and may not be accessible via :func:`getgrnam` or :func:`getgrgid`.) It defines the following items:
python, official-docs, cpython, P0
Local_Trusted_Corpus
34928211-5963-40d8-ae2a-e09a62922a6e
CPython Docs
file://datasets/cpython/Doc/library/grp.rst
unknown
202ce337-6b26-4999-bff6-dbe7df000977
16,420
supabase-export-v2
745e80f2b8322e6d
Group database entries are reported as a tuple-like object, whose attributes correspond to the members of the ``group`` structure (Attribute field below, see ``<grp.h>``): +-------+-----------+---------------------------------+ | Index | Attribute | Meaning | +=======+===========+=================================+ | 0 ...
trusted_official_docs
CPython Docs
Group database entries are reported as a tuple-like object, whose attributes correspond to the members of the ``group`` structure (Attribute field below, see ``<grp.h>``): +-------+-----------+---------------------------------+ | Index | Attribute | Meaning | +=======+===========+=================================+ | 0 ...
Group database entries are reported as a tuple-like object, whose attributes correspond to the members of the ``group`` structure (Attribute field below, see ``<grp.h>``): +-------+-----------+---------------------------------+ | Index | Attribute | Meaning | +=======+===========+=================================+ | 0 ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
489e589b-ed29-4aba-bd3c-40361807fbac
CPython Docs
file://datasets/cpython/Doc/library/grp.rst
unknown
202ce337-6b26-4999-bff6-dbe7df000977
16,419
supabase-export-v2
b03ad0ae7d2be9ad
.. availability:: Unix, not WASI, not Android, not iOS. Group database entries are reported as a tuple-like object, whose attributes correspond to the members of the ``group`` structure (Attribute field below, see ``<grp.h>``):
trusted_official_docs
CPython Docs
.. availability:: Unix, not WASI, not Android, not iOS. Group database entries are reported as a tuple-like object, whose attributes correspond to the members of the ``group`` structure (Attribute field below, see ``<grp.h>``):
.. availability:: Unix, not WASI, not Android, not iOS. Group database entries are reported as a tuple-like object, whose attributes correspond to the members of the ``group`` structure (Attribute field below, see ``<grp.h>``):
python, official-docs, cpython, P0
Local_Trusted_Corpus
87ffef74-50f9-4f98-8c87-349acc25155e
CPython Docs
file://datasets/cpython/Doc/library/grp.rst
unknown
202ce337-6b26-4999-bff6-dbe7df000977
16,425
supabase-export-v2
485146a2acd42d4c
Return the group database entry for the given numeric group ID. :exc:`KeyError` is raised if the entry asked for cannot be found. .. versionchanged:: 3.10 :exc:`TypeError` is raised for non-integer arguments like floats or strings.
trusted_official_docs
CPython Docs
Return the group database entry for the given numeric group ID. :exc:`KeyError` is raised if the entry asked for cannot be found. .. versionchanged:: 3.10 :exc:`TypeError` is raised for non-integer arguments like floats or strings.
Return the group database entry for the given numeric group ID. :exc:`KeyError` is raised if the entry asked for cannot be found. .. versionchanged:: 3.10 :exc:`TypeError` is raised for non-integer arguments like floats or strings.
python, official-docs, cpython, P0
Local_Trusted_Corpus
e84ca34c-9f5e-4623-a0bc-9900955bbc21
CPython Docs
file://datasets/cpython/Doc/library/grp.rst
unknown
202ce337-6b26-4999-bff6-dbe7df000977
16,421
supabase-export-v2
a554092b0fda2878
gr_gid | the numerical group ID | +-------+-----------+---------------------------------+ | 3 | gr_mem | all the group member's user | | | | names | +-------+-----------+---------------------------------+ The gid is an integer, name and password are strings, and the member list is a list of strings. (Note that most use...
trusted_official_docs
CPython Docs
gr_gid | the numerical group ID | +-------+-----------+---------------------------------+ | 3 | gr_mem | all the group member's user | | | | names | +-------+-----------+---------------------------------+ The gid is an integer, name and password are strings, and the member list is a list of strings. (Note that most use...
gr_gid | the numerical group ID | +-------+-----------+---------------------------------+ | 3 | gr_mem | all the group member's user | | | | names | +-------+-----------+---------------------------------+ The gid is an integer, name and password are strings, and the member list is a list of strings. (Note that most use...
python, official-docs, cpython, P0
Local_Trusted_Corpus
01ab03f1-1658-45c0-95e2-6571dcdb644f
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,533
supabase-export-v2
d2a40ad859ff42b3
.. note:: Beware that if you set ``tempdir`` to a bytes value, there is a nasty side effect: The global default return type of :func:`mkstemp` and :func:`mkdtemp` changes to bytes when no explicit ``prefix``, ``suffix``, or ``dir`` arguments of type str are supplied. Please do not write code expecting or depending...
trusted_official_docs
CPython Docs
.. note:: Beware that if you set ``tempdir`` to a bytes value, there is a nasty side effect: The global default return type of :func:`mkstemp` and :func:`mkdtemp` changes to bytes when no explicit ``prefix``, ``suffix``, or ``dir`` arguments of type str are supplied. Please do not write code expecting or depending...
.. note:: Beware that if you set ``tempdir`` to a bytes value, there is a nasty side effect: The global default return type of :func:`mkstemp` and :func:`mkdtemp` changes to bytes when no explicit ``prefix``, ``suffix``, or ``dir`` arguments of type str are supplied. Please do not write code expecting or depending...
python, official-docs, cpython, P0
Local_Trusted_Corpus
047e9a4d-ecbf-404b-8f36-e666a1bdd4c8
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,457
supabase-export-v2
2b6d79d436ceea47
the :term:`file-like object` is finalized. Deletion is not always guaranteed in this case (see :meth:`object.__del__`). If *delete* is false, the value of *delete_on_close* is ignored. Therefore to use the name of the temporary file to reopen the file after closing it, either make sure not to delete the file upon clos...
trusted_official_docs
CPython Docs
the :term:`file-like object` is finalized. Deletion is not always guaranteed in this case (see :meth:`object.__del__`). If *delete* is false, the value of *delete_on_close* is ignored. Therefore to use the name of the temporary file to reopen the file after closing it, either make sure not to delete the file upon clos...
the :term:`file-like object` is finalized. Deletion is not always guaranteed in this case (see :meth:`object.__del__`). If *delete* is false, the value of *delete_on_close* is ignored. Therefore to use the name of the temporary file to reopen the file after closing it, either make sure not to delete the file upon clos...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0905cf50-c726-42c8-b853-26e7bac5b2c8
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,455
supabase-export-v2
1c8a7614f4bf7540
named file, it extends the parameters of :func:`TemporaryFile` with *delete* and *delete_on_close* parameters that determine whether and how the named file should be automatically deleted. The returned object is always a :term:`file-like object` whose :attr:`!file` attribute is the underlying true file object. This fi...
trusted_official_docs
CPython Docs
named file, it extends the parameters of :func:`TemporaryFile` with *delete* and *delete_on_close* parameters that determine whether and how the named file should be automatically deleted. The returned object is always a :term:`file-like object` whose :attr:`!file` attribute is the underlying true file object. This fi...
named file, it extends the parameters of :func:`TemporaryFile` with *delete* and *delete_on_close* parameters that determine whether and how the named file should be automatically deleted. The returned object is always a :term:`file-like object` whose :attr:`!file` attribute is the underlying true file object. This fi...
python, official-docs, cpython, P0
Local_Trusted_Corpus
0994d1e5-9034-4518-949a-66d8df89e408
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,487
supabase-export-v2
54728dabfda5b0b5
by the creating user ID. If the platform uses permission bits to indicate whether a file is executable, the file is executable by no one. The file descriptor is :ref:`not inherited by child processes <fd_inheritance>`.
trusted_official_docs
CPython Docs
by the creating user ID. If the platform uses permission bits to indicate whether a file is executable, the file is executable by no one. The file descriptor is :ref:`not inherited by child processes <fd_inheritance>`.
by the creating user ID. If the platform uses permission bits to indicate whether a file is executable, the file is executable by no one. The file descriptor is :ref:`not inherited by child processes <fd_inheritance>`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
0fdc7dac-a2e0-49e9-ae78-c6350aa2ec4b
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,459
supabase-export-v2
14c8de41b48d8d60
Opening the temporary file again by its name while it is still open works as follows: * On POSIX the file can always be opened again. * On Windows, make sure that at least one of the following conditions are fulfilled:
trusted_official_docs
CPython Docs
Opening the temporary file again by its name while it is still open works as follows: * On POSIX the file can always be opened again. * On Windows, make sure that at least one of the following conditions are fulfilled:
Opening the temporary file again by its name while it is still open works as follows: * On POSIX the file can always be opened again. * On Windows, make sure that at least one of the following conditions are fulfilled:
python, official-docs, cpython, P0
Local_Trusted_Corpus
127e90f8-b326-4da1-b368-6f1896aa186d
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,445
supabase-export-v2
ffdf31f5929c23ba
The *dir*, *prefix* and *suffix* parameters have the same meaning and defaults as with :func:`mkstemp`. The returned object is a true file object on POSIX platforms. On other platforms, it is a file-like object whose :attr:`!file` attribute is the underlying true file object.
trusted_official_docs
CPython Docs
The *dir*, *prefix* and *suffix* parameters have the same meaning and defaults as with :func:`mkstemp`. The returned object is a true file object on POSIX platforms. On other platforms, it is a file-like object whose :attr:`!file` attribute is the underlying true file object.
The *dir*, *prefix* and *suffix* parameters have the same meaning and defaults as with :func:`mkstemp`. The returned object is a true file object on POSIX platforms. On other platforms, it is a file-like object whose :attr:`!file` attribute is the underlying true file object.
python, official-docs, cpython, P0
Local_Trusted_Corpus
15b89f1c-d48e-47d4-afe3-fbec5f3a8711
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,467
supabase-export-v2
3ce74831bbf02136
.. class:: SpooledTemporaryFile(max_size=0, mode='w+b', buffering=-1, encoding=None, newline=None, suffix=None, prefix=None, dir=None, *, errors=None) This class operates exactly as :func:`TemporaryFile` does, except that data is spooled in memory until the file size exceeds *max_size*, or until the file's :func:`~io...
trusted_official_docs
CPython Docs
.. class:: SpooledTemporaryFile(max_size=0, mode='w+b', buffering=-1, encoding=None, newline=None, suffix=None, prefix=None, dir=None, *, errors=None) This class operates exactly as :func:`TemporaryFile` does, except that data is spooled in memory until the file size exceeds *max_size*, or until the file's :func:`~io...
.. class:: SpooledTemporaryFile(max_size=0, mode='w+b', buffering=-1, encoding=None, newline=None, suffix=None, prefix=None, dir=None, *, errors=None) This class operates exactly as :func:`TemporaryFile` does, except that data is spooled in memory until the file size exceeds *max_size*, or until the file's :func:`~io...
python, official-docs, cpython, P0
Local_Trusted_Corpus
19f0b6b7-e802-47a3-8e41-3d34b307de59
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,537
supabase-export-v2
11e2bca6fc9cf1e4
>>> import tempfile # create a temporary file and write some data to it >>> fp = tempfile.TemporaryFile() >>> fp.write(b'Hello world!') # read data from file >>> fp.seek(0) >>> fp.read() b'Hello world!' # close the file, it will be removed >>> fp.close()
trusted_official_docs
CPython Docs
>>> import tempfile # create a temporary file and write some data to it >>> fp = tempfile.TemporaryFile() >>> fp.write(b'Hello world!') # read data from file >>> fp.seek(0) >>> fp.read() b'Hello world!' # close the file, it will be removed >>> fp.close()
>>> import tempfile # create a temporary file and write some data to it >>> fp = tempfile.TemporaryFile() >>> fp.write(b'Hello world!') # read data from file >>> fp.seek(0) >>> fp.read() b'Hello world!' # close the file, it will be removed >>> fp.close()
python, official-docs, cpython, P0
Local_Trusted_Corpus
27c96aea-b3b1-4d86-b2c0-d5ca24dff77f
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,486
supabase-export-v2
1bce973eff095b98
.. function:: mkstemp(suffix=None, prefix=None, dir=None, text=False) Creates a temporary file in the most secure manner possible. There are no race conditions in the file's creation, assuming that the platform properly implements the :const:`os.O_EXCL` flag for :func:`os.open`. The file is readable and writable onl...
trusted_official_docs
CPython Docs
.. function:: mkstemp(suffix=None, prefix=None, dir=None, text=False) Creates a temporary file in the most secure manner possible. There are no race conditions in the file's creation, assuming that the platform properly implements the :const:`os.O_EXCL` flag for :func:`os.open`. The file is readable and writable onl...
.. function:: mkstemp(suffix=None, prefix=None, dir=None, text=False) Creates a temporary file in the most secure manner possible. There are no race conditions in the file's creation, assuming that the platform properly implements the :const:`os.O_EXCL` flag for :func:`os.open`. The file is readable and writable onl...
python, official-docs, cpython, P0
Local_Trusted_Corpus
32fa0768-838a-4f66-a32b-d26724ac365b
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,438
supabase-export-v2
6b951066a11a0b39
high-level interfaces which provide automatic cleanup and can be used as :term:`context managers <context manager>`. :func:`mkstemp` and :func:`mkdtemp` are lower-level functions which require manual cleanup. All the user-callable functions and constructors take additional arguments which allow direct control over the ...
trusted_official_docs
CPython Docs
high-level interfaces which provide automatic cleanup and can be used as :term:`context managers <context manager>`. :func:`mkstemp` and :func:`mkdtemp` are lower-level functions which require manual cleanup. All the user-callable functions and constructors take additional arguments which allow direct control over the ...
high-level interfaces which provide automatic cleanup and can be used as :term:`context managers <context manager>`. :func:`mkstemp` and :func:`mkdtemp` are lower-level functions which require manual cleanup. All the user-callable functions and constructors take additional arguments which allow direct control over the ...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3510f56c-388d-4ab9-9e61-1781eda18228
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,539
supabase-export-v2
fdb97425e7b07ed0
a context manager >>> with tempfile.TemporaryFile() as fp: ... fp.write(b'Hello world!') ... fp.seek(0) ... fp.read() b'Hello world!' >>> # file is now closed and removed # create a temporary file using a context manager # close the file, use the name to open the file again >>> with tempfile.NamedTemporaryFile(delete...
trusted_official_docs
CPython Docs
a context manager >>> with tempfile.TemporaryFile() as fp: ... fp.write(b'Hello world!') ... fp.seek(0) ... fp.read() b'Hello world!' >>> # file is now closed and removed # create a temporary file using a context manager # close the file, use the name to open the file again >>> with tempfile.NamedTemporaryFile(delete...
a context manager >>> with tempfile.TemporaryFile() as fp: ... fp.write(b'Hello world!') ... fp.seek(0) ... fp.read() b'Hello world!' >>> # file is now closed and removed # create a temporary file using a context manager # close the file, use the name to open the file again >>> with tempfile.NamedTemporaryFile(delete...
python, official-docs, cpython, P0
Local_Trusted_Corpus
3bc331f2-3f21-40cd-9444-9624743db105
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,493
supabase-export-v2
d4ad5e72f3ce9e8c
bytes, the returned name will be bytes instead of str. If you want to force a bytes return value with otherwise default behavior, pass ``suffix=b''``. If *text* is specified and true, the file is opened in text mode. Otherwise, (the default) the file is opened in binary mode.
trusted_official_docs
CPython Docs
bytes, the returned name will be bytes instead of str. If you want to force a bytes return value with otherwise default behavior, pass ``suffix=b''``. If *text* is specified and true, the file is opened in text mode. Otherwise, (the default) the file is opened in binary mode.
bytes, the returned name will be bytes instead of str. If you want to force a bytes return value with otherwise default behavior, pass ``suffix=b''``. If *text* is specified and true, the file is opened in text mode. Otherwise, (the default) the file is opened in binary mode.
python, official-docs, cpython, P0
Local_Trusted_Corpus
458c7f80-ef43-43e9-bb62-5047e78a1d2b
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,437
supabase-export-v2
5ce4ef2c60c4c3e5
-------------- This module creates temporary files and directories. It works on all supported platforms. :class:`TemporaryFile`, :class:`NamedTemporaryFile`, :class:`TemporaryDirectory`, and :class:`SpooledTemporaryFile` are high-level interfaces which provide automatic cleanup and can be used as :term:`context manager...
trusted_official_docs
CPython Docs
-------------- This module creates temporary files and directories. It works on all supported platforms. :class:`TemporaryFile`, :class:`NamedTemporaryFile`, :class:`TemporaryDirectory`, and :class:`SpooledTemporaryFile` are high-level interfaces which provide automatic cleanup and can be used as :term:`context manager...
-------------- This module creates temporary files and directories. It works on all supported platforms. :class:`TemporaryFile`, :class:`NamedTemporaryFile`, :class:`TemporaryDirectory`, and :class:`SpooledTemporaryFile` are high-level interfaces which provide automatic cleanup and can be used as :term:`context manager...
python, official-docs, cpython, P0
Local_Trusted_Corpus
4d1c47d9-9072-4ade-ba41-96954c0a787d
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,444
supabase-export-v2
c51f2202c0c5fd7e
that it behaves consistently on all platforms without regard for the data that is stored. *buffering*, *encoding*, *errors* and *newline* are interpreted as for :func:`open`. The *dir*, *prefix* and *suffix* parameters have the same meaning and defaults as with :func:`mkstemp`.
trusted_official_docs
CPython Docs
that it behaves consistently on all platforms without regard for the data that is stored. *buffering*, *encoding*, *errors* and *newline* are interpreted as for :func:`open`. The *dir*, *prefix* and *suffix* parameters have the same meaning and defaults as with :func:`mkstemp`.
that it behaves consistently on all platforms without regard for the data that is stored. *buffering*, *encoding*, *errors* and *newline* are interpreted as for :func:`open`. The *dir*, *prefix* and *suffix* parameters have the same meaning and defaults as with :func:`mkstemp`.
python, official-docs, cpython, P0
Local_Trusted_Corpus
4d638674-0ff2-48e2-be2f-1c517bc23603
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,442
supabase-export-v2
1f94dadd2c6f69b8
this; your code should not rely on a temporary file created using this function having or not having a visible name in the file system. The resulting object can be used as a :term:`context manager` (see :ref:`tempfile-examples`). On completion of the context or destruction of the file object the temporary file will b...
trusted_official_docs
CPython Docs
this; your code should not rely on a temporary file created using this function having or not having a visible name in the file system. The resulting object can be used as a :term:`context manager` (see :ref:`tempfile-examples`). On completion of the context or destruction of the file object the temporary file will b...
this; your code should not rely on a temporary file created using this function having or not having a visible name in the file system. The resulting object can be used as a :term:`context manager` (see :ref:`tempfile-examples`). On completion of the context or destruction of the file object the temporary file will b...
python, official-docs, cpython, P0
Local_Trusted_Corpus
521138b5-baa5-4f3c-b69e-9d8d606d338d
CPython Docs
file://datasets/cpython/Doc/library/tempfile.rst
unknown
a460fbda-d280-4a6b-8f3a-16ce66b09edd
16,454
supabase-export-v2
8db436e3690c7eba
This function operates exactly as :func:`TemporaryFile` does, except the following differences: * This function returns a file that is guaranteed to have a visible name in the file system. * To manage the named file, it extends the parameters of :func:`TemporaryFile` with *delete* and *delete_on_close* parameters tha...
trusted_official_docs
CPython Docs
This function operates exactly as :func:`TemporaryFile` does, except the following differences: * This function returns a file that is guaranteed to have a visible name in the file system. * To manage the named file, it extends the parameters of :func:`TemporaryFile` with *delete* and *delete_on_close* parameters tha...
This function operates exactly as :func:`TemporaryFile` does, except the following differences: * This function returns a file that is guaranteed to have a visible name in the file system. * To manage the named file, it extends the parameters of :func:`TemporaryFile` with *delete* and *delete_on_close* parameters tha...
python, official-docs, cpython, P0
Local_Trusted_Corpus