forked from python/python-docs-zh-tw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtkinter.dnd.po
More file actions
120 lines (100 loc) · 4.86 KB
/
tkinter.dnd.po
File metadata and controls
120 lines (100 loc) · 4.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2022, Python Software Foundation
# This file is distributed under the same license as the Python package.
# Dr-XYZ <dr.xyz.tw@gmail.com>, 2025
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-09 00:03+0000\n"
"PO-Revision-Date: 2025-08-21 00:00+0800\n"
"Last-Translator: Dr-XYZ <dr.xyz.tw@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../../library/tkinter.dnd.rst:2
msgid ":mod:`!tkinter.dnd` --- Drag and drop support"
msgstr ":mod:`!tkinter.dnd` --- 拖放支援"
#: ../../library/tkinter.dnd.rst:8
msgid "**Source code:** :source:`Lib/tkinter/dnd.py`"
msgstr "**原始碼:**\\ :source:`Lib/tkinter/dnd.py`"
#: ../../library/tkinter.dnd.rst:12
msgid ""
"This is experimental and due to be deprecated when it is replaced with the "
"Tk DND."
msgstr "這是一個實驗性的功能,並將在被 Tk DND 取代時棄用。"
#: ../../library/tkinter.dnd.rst:15
msgid ""
"The :mod:`tkinter.dnd` module provides drag-and-drop support for objects "
"within a single application, within the same window or between windows. To "
"enable an object to be dragged, you must create an event binding for it that "
"starts the drag-and-drop process. Typically, you bind a ButtonPress event to "
"a callback function that you write (see :ref:`Bindings-and-Events`). The "
"function should call :func:`dnd_start`, where 'source' is the object to be "
"dragged, and 'event' is the event that invoked the call (the argument to "
"your callback function)."
msgstr ""
":mod:`tkinter.dnd` 模組為單一應用程式內、同一個視窗內或視窗之間的物件提供拖放"
"支援。要讓一個物件可以被拖動,你必須為它建立一個事件繫結來啟動拖放過程。通"
"常,你會將一個 ButtonPress 事件繫結到你所寫的回呼函式(請參閱 :ref:`Bindings-"
"and-Events`)。該函式應該呼叫 :func:`dnd_start`,其中 'source' 是要被拖動的物"
"件,而 'event' 是觸發呼叫的事件(你的回呼函式的引數)。"
#: ../../library/tkinter.dnd.rst:23
msgid "Selection of a target object occurs as follows:"
msgstr "目標物件的選擇過程如下:"
#: ../../library/tkinter.dnd.rst:25
msgid "Top-down search of area under mouse for target widget"
msgstr "由上而下搜尋滑鼠下方的區域以尋找目標元件(widget)"
#: ../../library/tkinter.dnd.rst:27
msgid "Target widget should have a callable *dnd_accept* attribute"
msgstr "目標元件應該要有一個可呼叫的 *dnd_accept* 屬性(attribute)"
#: ../../library/tkinter.dnd.rst:28
msgid ""
"If *dnd_accept* is not present or returns ``None``, search moves to parent "
"widget"
msgstr "如果 *dnd_accept* 不存在或回傳 ``None``,搜尋會移至父元件"
#: ../../library/tkinter.dnd.rst:29
msgid "If no target widget is found, then the target object is ``None``"
msgstr "如果找不到目標元件,則目標物件為 ``None``"
#: ../../library/tkinter.dnd.rst:31
msgid "Call to *<old_target>.dnd_leave(source, event)*"
msgstr "呼叫 *<old_target>.dnd_leave(source, event)*"
#: ../../library/tkinter.dnd.rst:32
msgid "Call to *<new_target>.dnd_enter(source, event)*"
msgstr "呼叫 *<new_target>.dnd_enter(source, event)*"
#: ../../library/tkinter.dnd.rst:33
msgid "Call to *<target>.dnd_commit(source, event)* to notify of drop"
msgstr "呼叫 *<target>.dnd_commit(source, event)* 以通知放下動作"
#: ../../library/tkinter.dnd.rst:34
msgid ""
"Call to *<source>.dnd_end(target, event)* to signal end of drag-and-drop"
msgstr "呼叫 *<source>.dnd_end(target, event)* 以表示拖放結束"
#: ../../library/tkinter.dnd.rst:39
msgid ""
"The *DndHandler* class handles drag-and-drop events tracking Motion and "
"ButtonRelease events on the root of the event widget."
msgstr ""
"*DndHandler* 類別處理拖放事件,它會追蹤事件元件的根上的 Motion 和 "
"ButtonRelease 事件。"
#: ../../library/tkinter.dnd.rst:44
msgid "Cancel the drag-and-drop process."
msgstr "取消拖放過程。"
#: ../../library/tkinter.dnd.rst:48
msgid "Execute end of drag-and-drop functions."
msgstr "執行拖放結束函式。"
#: ../../library/tkinter.dnd.rst:52
msgid "Inspect area below mouse for target objects while drag is performed."
msgstr "在拖動過程中檢查滑鼠下方的區域以尋找目標物件。"
#: ../../library/tkinter.dnd.rst:56
msgid "Signal end of drag when the release pattern is triggered."
msgstr "當釋放模式被觸發時,發出拖動結束的訊號。"
#: ../../library/tkinter.dnd.rst:60
msgid "Factory function for drag-and-drop process."
msgstr "用於拖放過程的工廠函式。"
#: ../../library/tkinter.dnd.rst:64
msgid ":ref:`Bindings-and-Events`"
msgstr ":ref:`Bindings-and-Events`"