# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Danial Behzadi , 2025 # Rafael Fontenelle , 2025 # Revisto , 2025 # Sepehr Rasouli , 2026 # msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-09-16 12:56+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: Sepehr Rasouli , 2026\n" "Language-Team: Persian (https://github.com/python/python-docs-fa/)\n" "Language: fa\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" msgid "Graphic User Interface FAQ" msgstr "پرسش‌های متداول درباره‌ی رابط کاربری گرافیکی" msgid "Contents" msgstr "فهرست" msgid "General GUI Questions" msgstr "پرسش‌های عمومی GUI" msgid "What GUI toolkits exist for Python?" msgstr "چه کیت‌های رابط کاربری گرافیکی (GUI) برای پایتون وجود دارد؟" 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 macOS, Windows, and Unix platforms." msgstr "ساخت‌های استاندارد پایتون شامل یک رابط شیءگرا برای مجموعه ابزارک‌های Tcl/Tk هستند که :ref:`tkinter ` نامیده می‌شود. این احتمالاً ساده‌ترین گزینه برای نصب و استفاده است (زیرا همراه با بیشتر `توزیع‌های دودویی `_ پایتون ارائه می‌شود). برای اطلاعات بیشتر درباره Tk، از جمله پیوندهایی به کد منبع، `صفحه اصلی Tcl/Tk `_ را ببینید. Tcl/Tk کاملاً برای پلتفرم‌های macOS، Windows و Unix قابل حمل است." 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 "بسته به این که چه سکو(هایی) را هدف گرفته‌اید، چندین جایگزین نیز وجود دارد. فهرستی از چارچوب‌های رابط کاربری گرافیکی `چندسکویی `_ و `مختص سکو `_ را می‌توانید در ویکی پایتون پیدا کنید." msgid "Tkinter questions" msgstr "پرسش‌های Tkinter" msgid "How do I freeze Tkinter applications?" msgstr "چگونه می‌توانم برنامه‌های Tkinter را فریز (freeze) کنم؟" 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 ابزاری برای ایجاد برنامه‌های مستقل است. هنگام استفاده از Freeze برای برنامه‌های Tkinter، این برنامه‌ها به‌طور کامل مستقل نخواهند بود، زیرا برنامه همچنان به کتابخانه‌های Tcl و Tk نیاز دارد." 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` به آن‌ها اشاره کنید." msgid "Various third-party freeze libraries such as py2exe and cx_Freeze have handling for Tkinter applications built-in." msgstr "کتابخانه‌های فریز (freeze) شخص ثالث مختلفی مانند py2exe و cx_Freeze، پشتیبانی توکار برای برنامه‌های Tkinter دارند." msgid "Can I have Tk events handled while waiting for I/O?" msgstr "آیا می‌توانم در حین انتظار برای ورودی/خروجی، رویدادهای Tk را مدیریت کنم؟" 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 "در سکوهای غیر از ویندوز، بله، و حتی نیازی به نخ‌ها ندارید! اما باید ساختار کد ورودی/خروجی خود را کمی تغییر دهید. Tk معادلی از فراخوانی :c:func:`!XtAddInput` در Xt دارد، که به شما امکان می‌دهد یک تابع کال‌بک را ثبت کنید تا هنگامی که ورودی/خروجی روی یک توصیف‌گر پرونده امکان‌پذیر باشد، از حلقه‌ی اصلی Tk فراخوانی شود. :ref:`tkinter-file-handlers` را ببینید." msgid "I can't get key bindings to work in Tkinter: why?" msgstr "نمی‌توانم اتصال‌های کلید (key bindings) را در Tkinter به‌کار بیندازم: چرا؟" msgid "An often-heard complaint is that event handlers :ref:`bound ` to events with the :meth:`!bind` method don't get handled even when the appropriate key is pressed." msgstr "شکایتی که اغلب شنیده می‌شود این است که هندلرهای رویداد :ref:`متصل ` به رویدادها با متد :meth:`!bind`، حتی زمانی که کلید مناسب فشرده می‌شود، فراخوانی نمی‌شوند." 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 "شایع‌ترین علت این است که ابزارکی که اتصال به آن اعمال می‌شود، «تمرکز صفحه‌کلید» ندارد. برای دستور focus به مستندات Tk مراجعه کنید. معمولاً با کلیک کردن درون یک ابزارک، تمرکز صفحه‌کلید به آن داده می‌شود (اما نه برای برچسب‌ها؛ گزینه takefocus را ببینید)."