# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001-2021, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # tomo, 2021 # mollinaca, 2021 # Shin Saito, 2021 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.10\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-08-17 13:45+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: Shin Saito, 2021\n" "Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ja\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../../faq/gui.rst:5 msgid "Graphic User Interface FAQ" msgstr "グラフィックユーザインターフェース FAQ" #: ../../faq/gui.rst:8 msgid "Contents" msgstr "内容" #: ../../faq/gui.rst:15 msgid "General GUI Questions" msgstr "一般的な GUI の質問" #: ../../faq/gui.rst:18 msgid "What GUI toolkits exist for Python?" msgstr "Python の GUI ツールキットには何がありますか?" #: ../../faq/gui.rst:20 msgid "" "Standard builds of Python include an object-oriented interface to the Tcl/Tk" " widget set, called :ref:`tkinter `. This is probably the easiest " "to install (since it comes included with most `binary distributions " "`_ of Python) and use. For more info " "about Tk, including pointers to the source, see the `Tcl/Tk home page " "`_. Tcl/Tk is fully portable to the Mac OS X, Windows, " "and Unix platforms." msgstr "" "Python の標準的なビルドには、 :ref:`tkinter 1` という Tcl/Tk " "ウィジェットセットのオブジェクト指向インターフェースが含まれています。これは最も簡単にインストールして使えるでしょう (なぜなら、これは Python " "のほとんどの `バイナリディストリビューション `_ " "に同梱されているからです)。ソースへのポインタなど、 Tk に関する詳しい情報は、 `Tcl/Tk ホームページ " "`_ を参照してください。 Tcl/Tk は、 Mac OS X 、Windows 、 Unix " "プラットフォームに完全にポータブルです。" #: ../../faq/gui.rst:28 msgid "" "Depending on what platform(s) you are aiming at, there are also several " "alternatives. A `list of cross-platform " "`_ " "and `platform-specific `_ GUI frameworks can be found on the python " "wiki." msgstr "" "対象とするプラットフォームによっては他の選択肢もあります。`プラットフォーム互換 " "`_ " "および `プラットフォーム固有 `_ の GUI フレームワークのリストを python wiki で参照できます。" #: ../../faq/gui.rst:36 msgid "Tkinter questions" msgstr "Tkinter の質問" #: ../../faq/gui.rst:39 msgid "How do I freeze Tkinter applications?" msgstr "Tkinter アプリケーションを凍結するにはどうしますか?" #: ../../faq/gui.rst:41 msgid "" "Freeze is a tool to create stand-alone applications. When freezing Tkinter " "applications, the applications will not be truly stand-alone, as the " "application will still need the Tcl and Tk libraries." msgstr "" "Freeze はスタンドアロンアプリケーションを生成するツールです。Tkinter アプリケーションを凍結するとき、それは Tcl と Tk " "ライブラリを必要とするので、真のスタンドアロンにはなりません。" #: ../../faq/gui.rst:45 msgid "" "One solution is to ship the application with the Tcl and Tk libraries, and " "point to them at run-time using the :envvar:`TCL_LIBRARY` and " ":envvar:`TK_LIBRARY` environment variables." msgstr "" "一つの解決策は、アプリケーションに Tcl と Tk ライブラリを同梱し、環境変数 :envvar:`TCL_LIBRARY` と " ":envvar:`TK_LIBRARY` でランタイムに指定することです。" #: ../../faq/gui.rst:49 msgid "" "To get truly stand-alone applications, the Tcl scripts that form the library" " have to be integrated into the application as well. One tool supporting " "that is SAM (stand-alone modules), which is part of the Tix distribution " "(http://tix.sourceforge.net/)." msgstr "" "真にスタンドアロンなアプリケーションにするためには、ライブラリを成す Tcl " "スクリプトもアプリケーションに統合されていなければなりません。それをサポートするツールの一つは SAM (stand-alone modules) " "で、Tix ディストリビューション (http://tix.sourceforge.net/) の一部です。" #: ../../faq/gui.rst:54 msgid "" "Build Tix with SAM enabled, perform the appropriate call to " ":c:func:`Tclsam_init`, etc. inside Python's :file:`Modules/tkappinit.c`, and" " link with libtclsam and libtksam (you might include the Tix libraries as " "well)." msgstr "" "SAM を有効にするように Tix をビルドして、Python の :file:`Modules/tkappinit.c` 内部の " ":c:func:`Tclsam_init` 等への適切なコールを実行し、libtclsam と libtksam にリンクしてください (Tix " "ライブラリを含んでも良いです)。" #: ../../faq/gui.rst:61 msgid "Can I have Tk events handled while waiting for I/O?" msgstr "I/O を待つ間に扱われる Tk イベントを作れますか?" #: ../../faq/gui.rst:63 msgid "" "On platforms other than Windows, yes, and you don't even need threads! But " "you'll have to restructure your I/O code a bit. Tk has the equivalent of " "Xt's :c:func:`XtAddInput()` call, which allows you to register a callback " "function which will be called from the Tk mainloop when I/O is possible on a" " file descriptor. See :ref:`tkinter-file-handlers`." msgstr "" "Windows 以外のプラットフォームについては、はい、スレッドさえ必要ありません! ただし、I/O コードを少し再構成しなければなりません。Tk " "には Xt の :c:func:`XtAddInput()` コールと同等なものがあるので、ファイルディスクリプタ上で I/O が可能なときに Tk " "メインループから呼ばれるコールバック関数を登録できます。 :ref:`tkinter-file-handlers` を参照してください。" #: ../../faq/gui.rst:71 msgid "I can't get key bindings to work in Tkinter: why?" msgstr "Tkinter で働くキーバインディングが得られません。なぜですか?" #: ../../faq/gui.rst:73 msgid "" "An often-heard complaint is that event handlers bound to events with the " ":meth:`bind` method don't get handled even when the appropriate key is " "pressed." msgstr "" ":meth:`bind` " "メソッドでイベントに結び付けられたイベントハンドラが、適切なキーが押されたときにさえハンドルされないという苦情がよく聞かれます。" #: ../../faq/gui.rst:76 msgid "" "The most common cause is that the widget to which the binding applies " "doesn't have \"keyboard focus\". Check out the Tk documentation for the " "focus command. Usually a widget is given the keyboard focus by clicking in " "it (but not for labels; see the takefocus option)." msgstr "" "最も一般的な原因は、バインディングが適用されるウィジェットが \"キーボードフォーカス\" を持たないことです。Tk " "ドキュメントでフォーカスコマンドを確認してください。通常はウィジェットの中をクリックすることでキーボードフォーカスを与えられます " "(ただしラベルには与えられません。takefocus オプションを参照してください)。"