# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001-2016, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-10-13 22:28+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../Doc/library/tkinter.ttk.rst:2 msgid ":mod:`tkinter.ttk` --- Tk themed widgets" msgstr "" #: ../Doc/library/tkinter.ttk.rst:9 msgid "**Source code:** :source:`Lib/tkinter/ttk.py`" msgstr "" #: ../Doc/library/tkinter.ttk.rst:15 msgid "" "The :mod:`tkinter.ttk` module provides access to the Tk themed widget set, " "introduced in Tk 8.5. If Python has not been compiled against Tk 8.5, this " "module can still be accessed if *Tile* has been installed. The former " "method using Tk 8.5 provides additional benefits including anti-aliased font " "rendering under X11 and window transparency (requiring a composition window " "manager on X11)." msgstr "" #: ../Doc/library/tkinter.ttk.rst:22 msgid "" "The basic idea for :mod:`tkinter.ttk` is to separate, to the extent " "possible, the code implementing a widget's behavior from the code " "implementing its appearance." msgstr "" #: ../Doc/library/tkinter.ttk.rst:29 msgid "`Tk Widget Styling Support `_" msgstr "" #: ../Doc/library/tkinter.ttk.rst:30 msgid "A document introducing theming support for Tk" msgstr "" #: ../Doc/library/tkinter.ttk.rst:34 msgid "Using Ttk" msgstr "" #: ../Doc/library/tkinter.ttk.rst:36 msgid "To start using Ttk, import its module::" msgstr "" #: ../Doc/library/tkinter.ttk.rst:40 msgid "" "To override the basic Tk widgets, the import should follow the Tk import::" msgstr "" #: ../Doc/library/tkinter.ttk.rst:45 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:51 msgid "" "This has the direct benefit of using the new widgets which gives a better " "look and feel across platforms; however, the replacement widgets are not " "completely compatible. The main difference is that widget options such as " "\"fg\", \"bg\" and others related to widget styling are no longer present in " "Ttk widgets. Instead, use the :class:`ttk.Style` class for improved " "styling effects." msgstr "" #: ../Doc/library/tkinter.ttk.rst:62 msgid "" "`Converting existing applications to use Tile widgets `_" msgstr "" #: ../Doc/library/tkinter.ttk.rst:62 msgid "" "A monograph (using Tcl terminology) about differences typically encountered " "when moving applications to use the new widgets." msgstr "" #: ../Doc/library/tkinter.ttk.rst:67 msgid "Ttk Widgets" msgstr "" #: ../Doc/library/tkinter.ttk.rst:69 msgid "" "Ttk comes with 17 widgets, eleven 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` and :class:`Scrollbar`. 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`." msgstr "" #: ../Doc/library/tkinter.ttk.rst:77 msgid "" "Using the Ttk widgets gives the application an improved look and feel. As " "discussed above, there are differences in how the styling is coded." msgstr "" #: ../Doc/library/tkinter.ttk.rst:80 msgid "Tk code::" msgstr "" #: ../Doc/library/tkinter.ttk.rst:86 msgid "Ttk code::" msgstr "" #: ../Doc/library/tkinter.ttk.rst:94 msgid "" "For more information about TtkStyling_, see the :class:`Style` class " "documentation." msgstr "" #: ../Doc/library/tkinter.ttk.rst:98 msgid "Widget" msgstr "" #: ../Doc/library/tkinter.ttk.rst:100 msgid "" ":class:`ttk.Widget` defines standard options and methods supported by Tk " "themed widgets and is not supposed to be directly instantiated." msgstr "" #: ../Doc/library/tkinter.ttk.rst:105 msgid "Standard Options" msgstr "" #: ../Doc/library/tkinter.ttk.rst:107 msgid "All the :mod:`ttk` Widgets accepts the following options:" msgstr "" #: ../Doc/library/tkinter.ttk.rst:112 ../Doc/library/tkinter.ttk.rst:147 #: ../Doc/library/tkinter.ttk.rst:173 ../Doc/library/tkinter.ttk.rst:216 #: ../Doc/library/tkinter.ttk.rst:319 ../Doc/library/tkinter.ttk.rst:400 #: ../Doc/library/tkinter.ttk.rst:426 ../Doc/library/tkinter.ttk.rst:590 #: ../Doc/library/tkinter.ttk.rst:661 ../Doc/library/tkinter.ttk.rst:729 #: ../Doc/library/tkinter.ttk.rst:780 ../Doc/library/tkinter.ttk.rst:808 msgid "Option" msgstr "Option" #: ../Doc/library/tkinter.ttk.rst:112 ../Doc/library/tkinter.ttk.rst:147 #: ../Doc/library/tkinter.ttk.rst:173 ../Doc/library/tkinter.ttk.rst:216 #: ../Doc/library/tkinter.ttk.rst:232 ../Doc/library/tkinter.ttk.rst:319 #: ../Doc/library/tkinter.ttk.rst:400 ../Doc/library/tkinter.ttk.rst:426 #: ../Doc/library/tkinter.ttk.rst:590 ../Doc/library/tkinter.ttk.rst:661 #: ../Doc/library/tkinter.ttk.rst:729 ../Doc/library/tkinter.ttk.rst:780 #: ../Doc/library/tkinter.ttk.rst:808 ../Doc/library/tkinter.ttk.rst:853 msgid "Description" msgstr "Description" #: ../Doc/library/tkinter.ttk.rst:114 msgid "class" msgstr "classe" #: ../Doc/library/tkinter.ttk.rst:114 msgid "" "Specifies the window class. The class is used when querying the option " "database for the window's other options, to determine the default bindtags " "for the window, and to select the widget's default layout and style. This " "option is read-only, and may only be specified when the window is created." msgstr "" #: ../Doc/library/tkinter.ttk.rst:121 msgid "cursor" msgstr "" #: ../Doc/library/tkinter.ttk.rst:121 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:125 msgid "takefocus" msgstr "" #: ../Doc/library/tkinter.ttk.rst:125 msgid "" "Determines whether the window accepts the focus during keyboard traversal. " "0, 1 or an empty string is returned. If 0 is returned, it means that the " "window should be skipped entirely during keyboard traversal. If 1, it means " "that the window should receive the input focus as long as it is viewable. " "And an empty string means that the traversal scripts make the decision about " "whether or not to focus on the window." msgstr "" #: ../Doc/library/tkinter.ttk.rst:134 msgid "style" msgstr "" #: ../Doc/library/tkinter.ttk.rst:134 msgid "May be used to specify a custom widget style." msgstr "" #: ../Doc/library/tkinter.ttk.rst:139 msgid "Scrollable Widget Options" msgstr "" #: ../Doc/library/tkinter.ttk.rst:141 msgid "" "The following options are supported by widgets that are controlled by a " "scrollbar." msgstr "" #: ../Doc/library/tkinter.ttk.rst:149 msgid "xscrollcommand" msgstr "" #: ../Doc/library/tkinter.ttk.rst:149 msgid "Used to communicate with horizontal scrollbars." msgstr "" #: ../Doc/library/tkinter.ttk.rst:151 msgid "" "When the view in the widget's window change, the widget will generate a Tcl " "command based on the scrollcommand." msgstr "" #: ../Doc/library/tkinter.ttk.rst:154 msgid "" "Usually this option consists of the method :meth:`Scrollbar.set` of some " "scrollbar. This will cause the scrollbar to be updated whenever the view in " "the window changes." msgstr "" #: ../Doc/library/tkinter.ttk.rst:159 msgid "yscrollcommand" msgstr "" #: ../Doc/library/tkinter.ttk.rst:159 msgid "" "Used to communicate with vertical scrollbars. For some more information, see " "above." msgstr "" #: ../Doc/library/tkinter.ttk.rst:165 msgid "Label Options" msgstr "" #: ../Doc/library/tkinter.ttk.rst:167 msgid "" "The following options are supported by labels, buttons and other button-like " "widgets." msgstr "" #: ../Doc/library/tkinter.ttk.rst:175 ../Doc/library/tkinter.ttk.rst:442 #: ../Doc/library/tkinter.ttk.rst:782 msgid "text" msgstr "" #: ../Doc/library/tkinter.ttk.rst:175 msgid "Specifies a text string to be displayed inside the widget." msgstr "" #: ../Doc/library/tkinter.ttk.rst:177 ../Doc/library/tkinter.ttk.rst:341 msgid "textvariable" msgstr "" #: ../Doc/library/tkinter.ttk.rst:177 msgid "" "Specifies a name whose value will be used in place of the text option " "resource." msgstr "" #: ../Doc/library/tkinter.ttk.rst:180 ../Doc/library/tkinter.ttk.rst:451 msgid "underline" msgstr "" #: ../Doc/library/tkinter.ttk.rst:180 msgid "" "If set, specifies the index (0-based) of a character to underline in the " "text string. The underline character is used for mnemonic activation." msgstr "" #: ../Doc/library/tkinter.ttk.rst:184 ../Doc/library/tkinter.ttk.rst:444 #: ../Doc/library/tkinter.ttk.rst:784 ../Doc/library/tkinter.ttk.rst:816 msgid "image" msgstr "" #: ../Doc/library/tkinter.ttk.rst:184 msgid "" "Specifies an image to display. This is a list of 1 or more elements. The " "first element is the default image name. The rest of the list if a sequence " "of statespec/value pairs as defined by :meth:`Style.map`, specifying " "different images to use when the widget is in a particular state or a " "combination of states. All images in the list should have the same size." msgstr "" #: ../Doc/library/tkinter.ttk.rst:192 ../Doc/library/tkinter.ttk.rst:447 msgid "compound" msgstr "" #: ../Doc/library/tkinter.ttk.rst:192 msgid "" "Specifies how to display the image relative to the text, in the case both " "text and images options are present. Valid values are:" msgstr "" #: ../Doc/library/tkinter.ttk.rst:196 msgid "text: display text only" msgstr "" #: ../Doc/library/tkinter.ttk.rst:197 msgid "image: display image only" msgstr "" #: ../Doc/library/tkinter.ttk.rst:198 msgid "" "top, bottom, left, right: display image above, below, left of, or right of " "the text, respectively." msgstr "" #: ../Doc/library/tkinter.ttk.rst:200 msgid "none: the default. display the image if present, otherwise the text." msgstr "" #: ../Doc/library/tkinter.ttk.rst:203 ../Doc/library/tkinter.ttk.rst:349 #: ../Doc/library/tkinter.ttk.rst:412 msgid "width" msgstr "width" #: ../Doc/library/tkinter.ttk.rst:203 msgid "" "If greater than zero, specifies how 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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:211 msgid "Compatibility Options" msgstr "" #: ../Doc/library/tkinter.ttk.rst:218 ../Doc/library/tkinter.ttk.rst:334 #: ../Doc/library/tkinter.ttk.rst:428 msgid "state" msgstr "state" #: ../Doc/library/tkinter.ttk.rst:218 msgid "" "May be set to \"normal\" or \"disabled\" to control the \"disabled\" state " "bit. This is a write-only option: setting it changes the widget state, but " "the :meth:`Widget.state` method does not affect this option." msgstr "" #: ../Doc/library/tkinter.ttk.rst:225 msgid "Widget States" msgstr "" #: ../Doc/library/tkinter.ttk.rst:227 msgid "The widget state is a bitmap of independent state flags." msgstr "" #: ../Doc/library/tkinter.ttk.rst:232 msgid "Flag" msgstr "Option" #: ../Doc/library/tkinter.ttk.rst:234 msgid "active" msgstr "" #: ../Doc/library/tkinter.ttk.rst:234 msgid "" "The mouse cursor is over the widget and pressing a mouse button will cause " "some action to occur" msgstr "" #: ../Doc/library/tkinter.ttk.rst:237 msgid "disabled" msgstr "" #: ../Doc/library/tkinter.ttk.rst:237 msgid "Widget is disabled under program control" msgstr "" #: ../Doc/library/tkinter.ttk.rst:239 msgid "focus" msgstr "focus" #: ../Doc/library/tkinter.ttk.rst:239 msgid "Widget has keyboard focus" msgstr "" #: ../Doc/library/tkinter.ttk.rst:241 msgid "pressed" msgstr "" #: ../Doc/library/tkinter.ttk.rst:241 msgid "Widget is being pressed" msgstr "" #: ../Doc/library/tkinter.ttk.rst:243 msgid "selected" msgstr "" #: ../Doc/library/tkinter.ttk.rst:243 msgid "" "\"On\", \"true\", or \"current\" for things like Checkbuttons and " "radiobuttons" msgstr "" #: ../Doc/library/tkinter.ttk.rst:246 ../Doc/library/tkinter.ttk.rst:812 msgid "background" msgstr "" #: ../Doc/library/tkinter.ttk.rst:246 msgid "" "Windows and Mac have a notion of an \"active\" or foreground window. The " "*background* state is set for widgets in a background window, and cleared " "for those in the foreground window" msgstr "" #: ../Doc/library/tkinter.ttk.rst:251 msgid "readonly" msgstr "" #: ../Doc/library/tkinter.ttk.rst:251 msgid "Widget should not allow user modification" msgstr "" #: ../Doc/library/tkinter.ttk.rst:253 msgid "alternate" msgstr "" #: ../Doc/library/tkinter.ttk.rst:253 msgid "A widget-specific alternate display format" msgstr "" #: ../Doc/library/tkinter.ttk.rst:255 msgid "invalid" msgstr "" #: ../Doc/library/tkinter.ttk.rst:255 msgid "The widget's value is invalid" msgstr "" #: ../Doc/library/tkinter.ttk.rst:258 msgid "" "A state specification is a sequence of state names, optionally prefixed with " "an exclamation point indicating that the bit is off." msgstr "" #: ../Doc/library/tkinter.ttk.rst:263 msgid "ttk.Widget" msgstr "" #: ../Doc/library/tkinter.ttk.rst:265 msgid "" "Besides the methods described below, the :class:`ttk.Widget` supports the " "methods :meth:`tkinter.Widget.cget` and :meth:`tkinter.Widget.configure`." msgstr "" #: ../Doc/library/tkinter.ttk.rst:272 msgid "" "Returns the name of the element at position *x* *y*, or the empty string if " "the point does not lie within any element." msgstr "" #: ../Doc/library/tkinter.ttk.rst:275 msgid "*x* and *y* are pixel coordinates relative to the widget." msgstr "" #: ../Doc/library/tkinter.ttk.rst:280 msgid "" "Test the widget's state. If a callback is not specified, returns ``True`` if " "the widget state matches *statespec* and ``False`` otherwise. If callback is " "specified then it is called with args if widget state matches *statespec*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:288 msgid "" "Modify or inquire widget state. If *statespec* is specified, sets the widget " "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:293 msgid "*statespec* will usually be a list or a tuple." msgstr "" #: ../Doc/library/tkinter.ttk.rst:297 msgid "Combobox" msgstr "" #: ../Doc/library/tkinter.ttk.rst:299 msgid "" "The :class:`ttk.Combobox` widget combines a text field with a pop-down list " "of values. This widget is a subclass of :class:`Entry`." msgstr "" #: ../Doc/library/tkinter.ttk.rst:302 msgid "" "Besides the methods inherited from :class:`Widget`: :meth:`Widget.cget`, :" "meth:`Widget.configure`, :meth:`Widget.identify`, :meth:`Widget.instate` " "and :meth:`Widget.state`, and the following inherited from :class:`Entry`: :" "meth:`Entry.bbox`, :meth:`Entry.delete`, :meth:`Entry.icursor`, :meth:`Entry." "index`, :meth:`Entry.insert`, :meth:`Entry.selection`, :meth:`Entry.xview`, " "it has some other methods, described at :class:`ttk.Combobox`." msgstr "" #: ../Doc/library/tkinter.ttk.rst:312 ../Doc/library/tkinter.ttk.rst:393 #: ../Doc/library/tkinter.ttk.rst:583 ../Doc/library/tkinter.ttk.rst:654 #: ../Doc/library/tkinter.ttk.rst:722 msgid "Options" msgstr "Options" #: ../Doc/library/tkinter.ttk.rst:314 ../Doc/library/tkinter.ttk.rst:395 #: ../Doc/library/tkinter.ttk.rst:585 ../Doc/library/tkinter.ttk.rst:724 msgid "This widget accepts the following specific options:" msgstr "" #: ../Doc/library/tkinter.ttk.rst:321 msgid "exportselection" msgstr "" #: ../Doc/library/tkinter.ttk.rst:321 msgid "" "Boolean value. If set, the widget selection is linked to the Window Manager " "selection (which can be returned by invoking Misc.selection_get, for " "example)." msgstr "" #: ../Doc/library/tkinter.ttk.rst:325 msgid "justify" msgstr "" #: ../Doc/library/tkinter.ttk.rst:325 msgid "" "Specifies how the text is aligned within the widget. One of \"left\", " "\"center\", or \"right\"." msgstr "" #: ../Doc/library/tkinter.ttk.rst:328 ../Doc/library/tkinter.ttk.rst:402 #: ../Doc/library/tkinter.ttk.rst:739 msgid "height" msgstr "height" #: ../Doc/library/tkinter.ttk.rst:328 msgid "Specifies the height of the pop-down listbox, in rows." msgstr "" #: ../Doc/library/tkinter.ttk.rst:330 msgid "postcommand" msgstr "" #: ../Doc/library/tkinter.ttk.rst:330 msgid "" "A script (possibly registered with Misc.register) that is called immediately " "before displaying the values. It may specify which values to display." msgstr "" #: ../Doc/library/tkinter.ttk.rst:334 msgid "" "One of \"normal\", \"readonly\", or \"disabled\". In the \"readonly\" state, " "the value may not be edited directly, and the user can only selection of the " "values from the dropdown list. In the \"normal\" state, the text field is " "directly editable. In the \"disabled\" state, no interaction is possible." msgstr "" #: ../Doc/library/tkinter.ttk.rst:341 msgid "" "Specifies a name whose value is linked to the widget value. Whenever the " "value associated with that name changes, the widget value is updated, and " "vice versa. See :class:`tkinter.StringVar`." msgstr "" #: ../Doc/library/tkinter.ttk.rst:346 ../Doc/library/tkinter.ttk.rst:786 msgid "values" msgstr "valeurs" #: ../Doc/library/tkinter.ttk.rst:346 msgid "Specifies the list of values to display in the drop-down listbox." msgstr "" #: ../Doc/library/tkinter.ttk.rst:349 msgid "" "Specifies an integer value indicating the desired width of the entry window, " "in average-size characters of the widget's font." msgstr "" #: ../Doc/library/tkinter.ttk.rst:356 msgid "Virtual events" msgstr "" #: ../Doc/library/tkinter.ttk.rst:358 msgid "" "The combobox widgets generates a **<>** virtual event when " "the user selects an element from the list of values." msgstr "" #: ../Doc/library/tkinter.ttk.rst:363 msgid "ttk.Combobox" msgstr "" #: ../Doc/library/tkinter.ttk.rst:369 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:376 msgid "Returns the current value of the combobox." msgstr "" #: ../Doc/library/tkinter.ttk.rst:381 msgid "Sets the value of the combobox to *value*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:385 msgid "Notebook" msgstr "" #: ../Doc/library/tkinter.ttk.rst:387 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:402 msgid "" "If present and greater than zero, specifies the desired height of the pane " "area (not including internal padding or tabs). Otherwise, the maximum height " "of all panes is used." msgstr "" #: ../Doc/library/tkinter.ttk.rst:406 ../Doc/library/tkinter.ttk.rst:438 #: ../Doc/library/tkinter.ttk.rst:743 msgid "padding" msgstr "" #: ../Doc/library/tkinter.ttk.rst:406 msgid "" "Specifies the amount of extra space to add around the outside of the " "notebook. The padding is a list up to four length specifications left top " "right bottom. If fewer than four elements are specified, bottom defaults to " "top, right defaults to left, and top defaults to left." msgstr "" #: ../Doc/library/tkinter.ttk.rst:412 msgid "" "If present and greater than zero, specified the desired width of the pane " "area (not including internal padding). Otherwise, the maximum width of all " "panes is used." msgstr "" #: ../Doc/library/tkinter.ttk.rst:419 msgid "Tab Options" msgstr "" #: ../Doc/library/tkinter.ttk.rst:421 msgid "There are also specific options for tabs:" msgstr "" #: ../Doc/library/tkinter.ttk.rst:428 msgid "" "Either \"normal\", \"disabled\" or \"hidden\". If \"disabled\", then the tab " "is not selectable. If \"hidden\", then the tab is not shown." msgstr "" #: ../Doc/library/tkinter.ttk.rst:432 msgid "sticky" msgstr "" #: ../Doc/library/tkinter.ttk.rst:432 msgid "" "Specifies how the child window is positioned within the pane area. Value is " "a string containing zero or more of the characters \"n\", \"s\", \"e\" or \"w" "\". Each letter refers to a side (north, south, east or west) that the child " "window will stick to, as per the :meth:`grid` geometry manager." msgstr "" #: ../Doc/library/tkinter.ttk.rst:438 msgid "" "Specifies the amount of extra space to add between the notebook and this " "pane. Syntax is the same as for the option padding used by this widget." msgstr "" #: ../Doc/library/tkinter.ttk.rst:442 msgid "Specifies a text to be displayed in the tab." msgstr "" #: ../Doc/library/tkinter.ttk.rst:444 msgid "" "Specifies an image to display in the tab. See the option image described in :" "class:`Widget`." msgstr "" #: ../Doc/library/tkinter.ttk.rst:447 msgid "" "Specifies how to display the image relative to the text, in the case both " "options text and image are present. See `Label Options`_ for legal values." msgstr "" #: ../Doc/library/tkinter.ttk.rst:451 msgid "" "Specifies the index (0-based) of a character to underline in the text " "string. The underlined character is used for mnemonic activation if :meth:" "`Notebook.enable_traversal` is called." msgstr "" #: ../Doc/library/tkinter.ttk.rst:459 msgid "Tab Identifiers" msgstr "" #: ../Doc/library/tkinter.ttk.rst:461 msgid "" "The tab_id present in several methods of :class:`ttk.Notebook` may take any " "of the following forms:" msgstr "" #: ../Doc/library/tkinter.ttk.rst:464 msgid "An integer between zero and the number of tabs" msgstr "" #: ../Doc/library/tkinter.ttk.rst:465 msgid "The name of a child window" msgstr "" #: ../Doc/library/tkinter.ttk.rst:466 msgid "" "A positional specification of the form \"@x,y\", which identifies the tab" msgstr "" #: ../Doc/library/tkinter.ttk.rst:467 msgid "" "The literal string \"current\", which identifies the currently-selected tab" msgstr "" #: ../Doc/library/tkinter.ttk.rst:468 msgid "" "The literal string \"end\", which returns the number of tabs (only valid " "for :meth:`Notebook.index`)" msgstr "" #: ../Doc/library/tkinter.ttk.rst:473 ../Doc/library/tkinter.ttk.rst:846 msgid "Virtual Events" msgstr "" #: ../Doc/library/tkinter.ttk.rst:475 msgid "" "This widget generates a **<>** virtual event after a new " "tab is selected." msgstr "" #: ../Doc/library/tkinter.ttk.rst:480 msgid "ttk.Notebook" msgstr "" #: ../Doc/library/tkinter.ttk.rst:486 msgid "Adds a new tab to the notebook." msgstr "" #: ../Doc/library/tkinter.ttk.rst:488 msgid "" "If window is currently managed by the notebook but hidden, it is restored to " "its previous position." msgstr "" #: ../Doc/library/tkinter.ttk.rst:491 ../Doc/library/tkinter.ttk.rst:529 msgid "See `Tab Options`_ for the list of available options." msgstr "" #: ../Doc/library/tkinter.ttk.rst:496 msgid "" "Removes the tab specified by *tab_id*, unmaps and unmanages the associated " "window." msgstr "" #: ../Doc/library/tkinter.ttk.rst:502 msgid "Hides the tab specified by *tab_id*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:504 msgid "" "The tab will not be displayed, but the associated window remains managed by " "the notebook and its configuration remembered. Hidden tabs may be restored " "with the :meth:`add` command." msgstr "" #: ../Doc/library/tkinter.ttk.rst:511 msgid "" "Returns the name of the tab element at position *x*, *y*, or the empty " "string if none." msgstr "" #: ../Doc/library/tkinter.ttk.rst:517 msgid "" "Returns the numeric index of the tab specified by *tab_id*, or the total " "number of tabs if *tab_id* is the string \"end\"." msgstr "" #: ../Doc/library/tkinter.ttk.rst:523 msgid "Inserts a pane at the specified position." msgstr "" #: ../Doc/library/tkinter.ttk.rst:525 msgid "" "*pos* is either the string \"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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:534 msgid "Selects the specified *tab_id*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:536 msgid "" "The associated child window will be displayed, and the previously-selected " "window (if different) is unmapped. If *tab_id* is omitted, returns the " "widget name of the currently selected pane." msgstr "" #: ../Doc/library/tkinter.ttk.rst:543 msgid "Query or modify the options of the specific *tab_id*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:545 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:552 msgid "Returns a list of windows managed by the notebook." msgstr "" #: ../Doc/library/tkinter.ttk.rst:557 msgid "" "Enable keyboard traversal for a toplevel window containing this notebook." msgstr "" #: ../Doc/library/tkinter.ttk.rst:559 msgid "" "This will extend the bindings for the toplevel window containing the " "notebook as follows:" msgstr "" #: ../Doc/library/tkinter.ttk.rst:562 msgid "" ":kbd:`Control-Tab`: selects the tab following the currently selected one." msgstr "" #: ../Doc/library/tkinter.ttk.rst:563 msgid "" ":kbd:`Shift-Control-Tab`: selects the tab preceding the currently selected " "one." msgstr "" #: ../Doc/library/tkinter.ttk.rst:564 msgid "" ":kbd:`Alt-K`: where *K* is the mnemonic (underlined) character of any tab, " "will select that tab." msgstr "" #: ../Doc/library/tkinter.ttk.rst:567 msgid "" "Multiple notebooks in a single toplevel may be enabled for traversal, " "including nested notebooks. However, notebook traversal only works properly " "if all panes have the notebook they are in as master." msgstr "" #: ../Doc/library/tkinter.ttk.rst:573 msgid "Progressbar" msgstr "" #: ../Doc/library/tkinter.ttk.rst:575 msgid "" "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 " "know that work is progressing." msgstr "" #: ../Doc/library/tkinter.ttk.rst:592 ../Doc/library/tkinter.ttk.rst:663 msgid "orient" msgstr "" #: ../Doc/library/tkinter.ttk.rst:592 msgid "" "One of \"horizontal\" or \"vertical\". Specifies the orientation of the " "progress bar." msgstr "" #: ../Doc/library/tkinter.ttk.rst:595 msgid "length" msgstr "" #: ../Doc/library/tkinter.ttk.rst:595 msgid "" "Specifies the length of the long axis of the progress bar (width if " "horizontal, height if vertical)." msgstr "" #: ../Doc/library/tkinter.ttk.rst:598 msgid "mode" msgstr "" #: ../Doc/library/tkinter.ttk.rst:598 msgid "One of \"determinate\" or \"indeterminate\"." msgstr "" #: ../Doc/library/tkinter.ttk.rst:600 msgid "maximum" msgstr "" #: ../Doc/library/tkinter.ttk.rst:600 msgid "A number specifying the maximum value. Defaults to 100." msgstr "" #: ../Doc/library/tkinter.ttk.rst:602 msgid "value" msgstr "valeur" #: ../Doc/library/tkinter.ttk.rst:602 msgid "" "The current value of the progress bar. In \"determinate\" mode, this " "represents the amount of work completed. In \"indeterminate\" mode, it is " "interpreted as modulo *maximum*; that is, the progress bar completes one " "\"cycle\" when its value increases by *maximum*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:608 msgid "variable" msgstr "" #: ../Doc/library/tkinter.ttk.rst:608 msgid "" "A name which is linked to the option value. If specified, the value of the " "progress bar is automatically set to the value of this name whenever the " "latter is modified." msgstr "" #: ../Doc/library/tkinter.ttk.rst:612 msgid "phase" msgstr "" #: ../Doc/library/tkinter.ttk.rst:612 msgid "" "Read-only option. The widget periodically increments the value of this " "option whenever its value is greater than 0 and, in determinate mode, less " "than maximum. This option may be used by the current theme to provide " "additional animation effects." msgstr "" #: ../Doc/library/tkinter.ttk.rst:620 msgid "ttk.Progressbar" msgstr "" #: ../Doc/library/tkinter.ttk.rst:626 msgid "" "Begin autoincrement mode: schedules a recurring timer event that calls :meth:" "`Progressbar.step` every *interval* milliseconds. If omitted, *interval* " "defaults to 50 milliseconds." msgstr "" #: ../Doc/library/tkinter.ttk.rst:633 msgid "Increments the progress bar's value by *amount*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:635 msgid "*amount* defaults to 1.0 if omitted." msgstr "" #: ../Doc/library/tkinter.ttk.rst:640 msgid "" "Stop autoincrement mode: cancels any recurring timer event initiated by :" "meth:`Progressbar.start` for this progress bar." msgstr "" #: ../Doc/library/tkinter.ttk.rst:645 msgid "Separator" msgstr "" #: ../Doc/library/tkinter.ttk.rst:647 msgid "" "The :class:`ttk.Separator` widget displays a horizontal or vertical " "separator bar." msgstr "" #: ../Doc/library/tkinter.ttk.rst:650 msgid "" "It has no other methods besides the ones inherited from :class:`ttk.Widget`." msgstr "" #: ../Doc/library/tkinter.ttk.rst:656 msgid "This widget accepts the following specific option:" msgstr "" #: ../Doc/library/tkinter.ttk.rst:663 msgid "" "One of \"horizontal\" or \"vertical\". Specifies the orientation of the " "separator." msgstr "" #: ../Doc/library/tkinter.ttk.rst:669 msgid "Sizegrip" msgstr "" #: ../Doc/library/tkinter.ttk.rst:671 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:674 msgid "" "This widget has neither specific options nor specific methods, besides the " "ones inherited from :class:`ttk.Widget`." msgstr "" #: ../Doc/library/tkinter.ttk.rst:679 msgid "Platform-specific notes" msgstr "" #: ../Doc/library/tkinter.ttk.rst:681 msgid "" "On MacOS X, 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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:687 msgid "Bugs" msgstr "" #: ../Doc/library/tkinter.ttk.rst:689 msgid "" "If the containing toplevel's position was specified relative to the right or " "bottom of the screen (e.g. ....), the :class:`Sizegrip` widget will not " "resize the window." msgstr "" #: ../Doc/library/tkinter.ttk.rst:692 msgid "This widget supports only \"southeast\" resizing." msgstr "" #: ../Doc/library/tkinter.ttk.rst:696 msgid "Treeview" msgstr "" #: ../Doc/library/tkinter.ttk.rst:698 msgid "" "The :class:`ttk.Treeview` widget displays a hierarchical collection of " "items. Each item has 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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:703 msgid "" "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 be accessed by number or symbolic names listed " "in the widget option columns. See `Column Identifiers`_." msgstr "" #: ../Doc/library/tkinter.ttk.rst:708 msgid "" "Each item is identified by a unique name. The widget will generate item IDs " "if they are not supplied by the caller. There is a distinguished root item, " "named ``{}``. The root item itself is not displayed; its children appear at " "the top level of the hierarchy." msgstr "" #: ../Doc/library/tkinter.ttk.rst:713 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:716 msgid "" "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:`Treeview.yview`." msgstr "" #: ../Doc/library/tkinter.ttk.rst:731 msgid "columns" msgstr "" #: ../Doc/library/tkinter.ttk.rst:731 msgid "" "A list of column identifiers, specifying the number of columns and their " "names." msgstr "" #: ../Doc/library/tkinter.ttk.rst:734 msgid "displaycolumns" msgstr "" #: ../Doc/library/tkinter.ttk.rst:734 msgid "" "A list of column identifiers (either symbolic or integer indices) specifying " "which data columns are displayed and the order in which they appear, or the " "string \"#all\"." msgstr "" #: ../Doc/library/tkinter.ttk.rst:739 msgid "" "Specifies the number of rows which should be visible. Note: the requested " "width is determined from the sum of the column widths." msgstr "" #: ../Doc/library/tkinter.ttk.rst:743 msgid "" "Specifies the internal padding for the widget. The padding is a list of up " "to four length specifications." msgstr "" #: ../Doc/library/tkinter.ttk.rst:746 msgid "selectmode" msgstr "" #: ../Doc/library/tkinter.ttk.rst:746 msgid "" "Controls how the built-in class bindings manage the selection. One of " "\"extended\", \"browse\" or \"none\". If set to \"extended\" (the default), " "multiple items may be selected. If \"browse\", only a single item will be " "selected at a time. If \"none\", the selection will not be changed." msgstr "" #: ../Doc/library/tkinter.ttk.rst:753 msgid "" "Note that the application code and tag bindings can set the selection " "however they wish, regardless of the value of this option." msgstr "" #: ../Doc/library/tkinter.ttk.rst:757 msgid "show" msgstr "" #: ../Doc/library/tkinter.ttk.rst:757 msgid "" "A list containing zero or more of the following values, specifying which " "elements of the tree to display." msgstr "" #: ../Doc/library/tkinter.ttk.rst:760 msgid "tree: display tree labels in column #0." msgstr "" #: ../Doc/library/tkinter.ttk.rst:761 msgid "headings: display the heading row." msgstr "" #: ../Doc/library/tkinter.ttk.rst:763 msgid "The default is \"tree headings\", i.e., show all elements." msgstr "" #: ../Doc/library/tkinter.ttk.rst:766 msgid "" "**Note**: Column #0 always refers to the tree column, even if show=\"tree\" " "is not specified." msgstr "" #: ../Doc/library/tkinter.ttk.rst:772 msgid "Item Options" msgstr "" #: ../Doc/library/tkinter.ttk.rst:774 msgid "" "The following item options may be specified for items in the insert and item " "widget commands." msgstr "" #: ../Doc/library/tkinter.ttk.rst:782 msgid "The textual label to display for the item." msgstr "" #: ../Doc/library/tkinter.ttk.rst:784 msgid "A Tk Image, displayed to the left of the label." msgstr "" #: ../Doc/library/tkinter.ttk.rst:786 msgid "The list of values associated with the item." msgstr "" #: ../Doc/library/tkinter.ttk.rst:788 msgid "" "Each item should have the same number of 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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:793 msgid "open" msgstr "" #: ../Doc/library/tkinter.ttk.rst:793 msgid "" "True/False value indicating whether the item's children should be displayed " "or hidden." msgstr "" #: ../Doc/library/tkinter.ttk.rst:796 msgid "tags" msgstr "" #: ../Doc/library/tkinter.ttk.rst:796 msgid "A list of tags associated with this item." msgstr "" #: ../Doc/library/tkinter.ttk.rst:801 msgid "Tag Options" msgstr "" #: ../Doc/library/tkinter.ttk.rst:803 msgid "The following options may be specified on tags:" msgstr "" #: ../Doc/library/tkinter.ttk.rst:810 msgid "foreground" msgstr "" #: ../Doc/library/tkinter.ttk.rst:810 msgid "Specifies the text foreground color." msgstr "" #: ../Doc/library/tkinter.ttk.rst:812 msgid "Specifies the cell or item background color." msgstr "" #: ../Doc/library/tkinter.ttk.rst:814 msgid "font" msgstr "" #: ../Doc/library/tkinter.ttk.rst:814 msgid "Specifies the font to use when drawing text." msgstr "" #: ../Doc/library/tkinter.ttk.rst:816 msgid "Specifies the item image, in case the item's image option is empty." msgstr "" #: ../Doc/library/tkinter.ttk.rst:822 msgid "Column Identifiers" msgstr "" #: ../Doc/library/tkinter.ttk.rst:824 msgid "Column identifiers take any of the following forms:" msgstr "" #: ../Doc/library/tkinter.ttk.rst:826 msgid "A symbolic name from the list of columns option." msgstr "" #: ../Doc/library/tkinter.ttk.rst:827 msgid "An integer n, specifying the nth data column." msgstr "" #: ../Doc/library/tkinter.ttk.rst:828 msgid "" "A string of the form #n, where n is an integer, specifying the nth display " "column." msgstr "" #: ../Doc/library/tkinter.ttk.rst:831 msgid "Notes:" msgstr "Notes : " #: ../Doc/library/tkinter.ttk.rst:833 msgid "" "Item's option values may be displayed in a different order than the order in " "which they are stored." msgstr "" #: ../Doc/library/tkinter.ttk.rst:835 msgid "" "Column #0 always refers to the tree column, even if show=\"tree\" is not " "specified." msgstr "" #: ../Doc/library/tkinter.ttk.rst:838 msgid "" "A data column number is an index into an item's option values list; a " "display column number is the column number in the tree where the values are " "displayed. Tree labels are displayed in column #0. If option displaycolumns " "is not set, then data column n is displayed in column #n+1. Again, **column " "#0 always refers to the tree column**." msgstr "" #: ../Doc/library/tkinter.ttk.rst:848 msgid "The Treeview widget generates the following virtual events." msgstr "" #: ../Doc/library/tkinter.ttk.rst:853 msgid "Event" msgstr "" #: ../Doc/library/tkinter.ttk.rst:855 msgid "<>" msgstr "" #: ../Doc/library/tkinter.ttk.rst:855 msgid "Generated whenever the selection changes." msgstr "" #: ../Doc/library/tkinter.ttk.rst:857 msgid "<>" msgstr "" #: ../Doc/library/tkinter.ttk.rst:857 msgid "Generated just before settings the focus item to open=True." msgstr "" #: ../Doc/library/tkinter.ttk.rst:860 msgid "<>" msgstr "" #: ../Doc/library/tkinter.ttk.rst:860 msgid "Generated just after setting the focus item to open=False." msgstr "" #: ../Doc/library/tkinter.ttk.rst:864 msgid "" "The :meth:`Treeview.focus` and :meth:`Treeview.selection` methods can be " "used to determine the affected item or items." msgstr "" #: ../Doc/library/tkinter.ttk.rst:869 msgid "ttk.Treeview" msgstr "" #: ../Doc/library/tkinter.ttk.rst:875 msgid "" "Returns the bounding box (relative to the treeview widget's window) of the " "specified *item* in the form (x, y, width, height)." msgstr "" #: ../Doc/library/tkinter.ttk.rst:878 msgid "" "If *column* is specified, returns the bounding box of that cell. If the " "*item* is not visible (i.e., if it is a descendant of a closed item or is " "scrolled offscreen), returns an empty string." msgstr "" #: ../Doc/library/tkinter.ttk.rst:885 msgid "Returns the list of children belonging to *item*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:887 msgid "If *item* is not specified, returns root children." msgstr "" #: ../Doc/library/tkinter.ttk.rst:892 msgid "Replaces *item*'s child with *newchildren*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:894 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:902 msgid "Query or modify the options for the specified *column*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:904 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:908 ../Doc/library/tkinter.ttk.rst:963 msgid "The valid options/values are:" msgstr "" #: ../Doc/library/tkinter.ttk.rst:910 msgid "id" msgstr "" #: ../Doc/library/tkinter.ttk.rst:911 msgid "Returns the column name. This is a read-only option." msgstr "" #: ../Doc/library/tkinter.ttk.rst:913 msgid "anchor: One of the standard Tk anchor values." msgstr "" #: ../Doc/library/tkinter.ttk.rst:913 msgid "" "Specifies how the text in this column should be aligned with respect to the " "cell." msgstr "" #: ../Doc/library/tkinter.ttk.rst:917 msgid "minwidth: width" msgstr "" #: ../Doc/library/tkinter.ttk.rst:916 msgid "" "The minimum width of the column in pixels. The treeview widget will not make " "the column any smaller than specified by this option when the widget is " "resized or the user drags a column." msgstr "" #: ../Doc/library/tkinter.ttk.rst:920 msgid "stretch: True/False" msgstr "" #: ../Doc/library/tkinter.ttk.rst:920 msgid "" "Specifies whether the column's width should be adjusted when the widget is " "resized." msgstr "" #: ../Doc/library/tkinter.ttk.rst:923 msgid "width: width" msgstr "" #: ../Doc/library/tkinter.ttk.rst:923 msgid "The width of the column in pixels." msgstr "" #: ../Doc/library/tkinter.ttk.rst:925 msgid "To configure the tree column, call this with column = \"#0\"" msgstr "" #: ../Doc/library/tkinter.ttk.rst:929 msgid "Delete all specified *items* and all their descendants." msgstr "" #: ../Doc/library/tkinter.ttk.rst:931 msgid "The root item may not be deleted." msgstr "" #: ../Doc/library/tkinter.ttk.rst:936 msgid "Unlinks all of the specified *items* from the tree." msgstr "" #: ../Doc/library/tkinter.ttk.rst:938 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:941 msgid "The root item may not be detached." msgstr "" #: ../Doc/library/tkinter.ttk.rst:946 msgid "Returns ``True`` if the specified *item* is present in the tree." msgstr "" #: ../Doc/library/tkinter.ttk.rst:951 msgid "" "If *item* is specified, sets the focus item to *item*. Otherwise, returns " "the current focus item, or '' if there is none." msgstr "" #: ../Doc/library/tkinter.ttk.rst:957 msgid "Query or modify the heading options for the specified *column*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:959 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:965 msgid "text: text" msgstr "" #: ../Doc/library/tkinter.ttk.rst:966 msgid "The text to display in the column heading." msgstr "" #: ../Doc/library/tkinter.ttk.rst:967 msgid "image: imageName" msgstr "" #: ../Doc/library/tkinter.ttk.rst:968 msgid "Specifies an image to display to the right of the column heading." msgstr "" #: ../Doc/library/tkinter.ttk.rst:970 msgid "anchor: anchor" msgstr "" #: ../Doc/library/tkinter.ttk.rst:970 msgid "" "Specifies how the heading text should be aligned. One of the standard Tk " "anchor values." msgstr "" #: ../Doc/library/tkinter.ttk.rst:973 msgid "command: callback" msgstr "" #: ../Doc/library/tkinter.ttk.rst:973 msgid "A callback to be invoked when the heading label is pressed." msgstr "" #: ../Doc/library/tkinter.ttk.rst:975 msgid "To configure the tree column heading, call this with column = \"#0\"." msgstr "" #: ../Doc/library/tkinter.ttk.rst:980 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:987 msgid "Returns the item ID of the item at position *y*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:992 msgid "Returns the data column identifier of the cell at position *x*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:994 msgid "The tree column has ID #0." msgstr "" #: ../Doc/library/tkinter.ttk.rst:999 msgid "Returns one of:" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1002 msgid "region" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1002 msgid "meaning" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1004 msgid "heading" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1004 msgid "Tree heading area." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1006 msgid "separator" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1006 msgid "Space between two columns headings." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1008 msgid "tree" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1008 msgid "The tree area." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1010 msgid "cell" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1010 msgid "A data cell." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1013 ../Doc/library/tkinter.ttk.rst:1020 msgid "Availability: Tk 8.6." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1018 msgid "Returns the element at position *x*, *y*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1025 msgid "" "Returns the integer index of *item* within its parent's list of children." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1030 msgid "" "Creates a new item and returns the item identifier of the newly created item." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1033 msgid "" "*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 equal to zero, the new node is inserted at the beginning; if " "*index* is greater than or equal to the current number of children, it is " "inserted at the end. If *iid* is specified, it is used as the item " "identifier; *iid* must not already exist in the tree. Otherwise, a new " "unique identifier is generated." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1042 msgid "See `Item Options`_ for the list of available points." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1047 msgid "Query or modify the options for the specified *item*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1049 msgid "" "If no options are given, a dict with options/values for the item is " "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*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1057 msgid "Moves *item* to position *index* in *parent*'s list of children." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1059 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1067 msgid "" "Returns the identifier of *item*'s next sibling, or '' if *item* is the last " "child of its parent." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1073 msgid "" "Returns the ID of the parent of *item*, or '' if *item* is at the top level " "of the hierarchy." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1079 msgid "" "Returns the identifier of *item*'s previous sibling, or '' if *item* is the " "first child of its parent." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1085 msgid "An alias for :meth:`Treeview.move`." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1090 msgid "Ensure that *item* is visible." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1092 msgid "" "Sets all of *item*'s ancestors open option to ``True``, and scrolls the " "widget if necessary so that *item* is within the visible portion of the tree." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1099 msgid "" "If *selop* is not specified, returns selected items. Otherwise, it will act " "according to the following selection methods." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1104 msgid "" "Deprecated since version 3.6, will be removed in version 3.8: Using " "selection() for changing the selection state is deprecated. Use the " "following selection methods instead." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1104 msgid "" "Using ``selection()`` for changing the selection state is deprecated. Use " "the following selection methods instead." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1109 msgid "*items* becomes the new selection." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1111 ../Doc/library/tkinter.ttk.rst:1119 #: ../Doc/library/tkinter.ttk.rst:1127 ../Doc/library/tkinter.ttk.rst:1135 msgid "" "*items* can be passed as separate arguments, not just as a single tuple." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1117 msgid "Add *items* to the selection." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1125 msgid "Remove *items* from the selection." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1133 msgid "Toggle the selection state of each item in *items*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1141 msgid "" "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*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1149 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1156 msgid "Query or modify the options for the specified *tagname*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1158 msgid "" "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*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1166 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1170 msgid "Availability: Tk 8.6" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1175 msgid "Query or modify horizontal position of the treeview." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1180 msgid "Query or modify vertical position of the treeview." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1186 msgid "Ttk Styling" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1188 msgid "" "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's " "style option. If you don't know the class name of a widget, use the method :" "meth:`Misc.winfo_class` (somewidget.winfo_class())." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1197 msgid "" "`Tcl'2004 conference presentation `_" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1198 msgid "This document explains how the theme engine works" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1203 msgid "This class is used to manipulate the style database." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1208 msgid "Query or set the default value of the specified option(s) in *style*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1210 msgid "" "Each key in *kw* is an option and each value is a string identifying the " "value for that option." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1213 msgid "" "For example, to change every default button to be a flat button with some " "padding and a different background color::" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1232 msgid "Query or sets dynamic values of the specified option(s) in *style*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1234 msgid "" "Each key in *kw* is an option and each value should be a list or a tuple " "(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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1239 msgid "An example may make it more understandable::" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1257 msgid "" "Note that the order of the (states, value) sequences for an option does " "matter, if the order is changed to ``[('active', '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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1265 msgid "Returns the value specified for *option* in *style*." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1267 msgid "" "If *state* is specified, it is expected to be a sequence of one or more " "states. If the *default* argument is set, it is used as a fallback value in " "case no specification for option is found." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1271 msgid "To check what font a Button uses by default::" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1280 msgid "" "Define the widget layout for given *style*. If *layoutspec* is omitted, " "return the layout specification for given style." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1283 msgid "" "*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 should have the format described " "in `Layouts`_." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1288 msgid "" "To understand the format, see the following example (it is not intended to " "do anything useful)::" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1315 msgid "" "Create a new element in the current theme, of the given *etype* which is " "expected to be either \"image\", \"from\" or \"vsapi\". The latter is only " "available in Tk 8.6a for Windows XP and Vista and is not described here." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1319 msgid "" "If \"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:" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1325 msgid "border=padding" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1324 msgid "" "padding is a list of up to four integers, specifying the left, top, right, " "and bottom borders, respectively." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1329 msgid "height=height" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1328 msgid "" "Specifies a minimum height for the element. If less than zero, the base " "image's height is used as a default." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1333 msgid "padding=padding" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1332 msgid "" "Specifies the element's interior padding. Defaults to border's value if not " "specified." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1337 msgid "sticky=spec" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1336 msgid "" "Specifies how the image is placed within the final parcel. spec contains " "zero or more characters \"n\", \"s\", \"w\", or \"e\"." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1341 msgid "width=width" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1340 msgid "" "Specifies a minimum width for the element. If less than zero, the base " "image's width is used as a default." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1343 msgid "" "If \"from\" is used as the value of *etype*, :meth:`element_create` will " "clone an existing element. *args* is expected to contain a themename, from " "which the element will be cloned, and optionally an element to clone from. " "If this element to clone from is not specified, an empty element will be " "used. *kw* is discarded." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1353 msgid "Returns the list of elements defined in the current theme." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1358 msgid "Returns the list of *elementname*'s options." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1363 msgid "Create a new theme." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1365 msgid "" "It is an error if *themename* already exists. If *parent* is specified, the " "new theme will inherit styles, elements and layouts from the parent theme. " "If *settings* are present they are expected to have the same syntax used " "for :meth:`theme_settings`." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1373 msgid "" "Temporarily sets the current theme to *themename*, apply specified " "*settings* and then restore the previous theme." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1376 msgid "" "Each key in *settings* is a style and each value may contain the keys " "'configure', 'map', 'layout' and 'element create' and they are expected to " "have the same format as specified by the methods :meth:`Style.configure`, :" "meth:`Style.map`, :meth:`Style.layout` and :meth:`Style.element_create` " "respectively." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1382 msgid "As an example, let's change the Combobox for the default theme a bit::" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1410 msgid "Returns a list of all known themes." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1415 msgid "" "If *themename* is not given, returns the theme in use. Otherwise, sets the " "current theme to *themename*, refreshes all widgets and emits a " "<> event." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1421 msgid "Layouts" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1423 msgid "" "A layout can be just ``None``, if it takes no options, or a dict of options " "specifying how to arrange the element. The layout mechanism uses a " "simplified version of the pack geometry manager: given an initial cavity, " "each element is allocated a parcel. Valid options/values are:" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1432 msgid "side: whichside" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1430 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1435 msgid "sticky: nswe" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1435 msgid "Specifies where the element is placed inside its allocated parcel." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1440 msgid "unit: 0 or 1" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1438 msgid "" "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." msgstr "" #: ../Doc/library/tkinter.ttk.rst:1445 msgid "children: [sublayout... ]" msgstr "" #: ../Doc/library/tkinter.ttk.rst:1443 msgid "" "Specifies a list of elements to place inside the element. Each element is a " "tuple (or other sequence type) where the first item is the layout name, and " "the other is a `Layout`_." msgstr ""