-
出版商:
Packt Publishing
-
出版日期:
2018-03-30
-
售價:
$1,810
-
貴賓價:
9.5 折
$1,720
-
語言:
英文
-
頁數:
242
-
裝訂:
Paperback
-
ISBN:
1788622308
-
ISBN-13:
9781788622301
-
相關分類:
Python
商品描述
A practical guide for GUI development related problems with Python and Tkinter About This Book * Integrate efficient Python GUI programming techniques with Tkinter * Implement advanced MVC architecture in your Python GUI apps efficiently * Solve all your problems related to Tkinter and Python GUI development using this recipe based guide Who This Book Is For The ideal target audience would be Python developers who want to develop GUI applications. What You Will Learn * Add widgets and handle user events * Lay out widgets within windows using frames and the different geometry managers * Configure widgets so they will have a customized appearance and behaviors * Improve the navigation of your apps with menus and dialogs * Apply object-oriented programming techniques in Tkinter applications * Use threads to achieve responsiveness and update the GUI * Explore the capabilities of the canvas widget and the types of items that can be added to it * Extend Tkinter applications with the ttk (themed Tkinter) module In Detail As one of the more versatile programming languages, Python is well-known for its "batteries-included" philosophy, which includes a rich set of modules in its standard library, where Tkinter is the library included for building desktop applications. Due to this, Tkinter is a common choice for rapid GUI development, and more complex applications can benefit of the full capabilities of this library. This book will cover all of your Tkinter and Python GUI development related problems and solutions. It starts with an overview of the Tkinter classes and at the same time it provides recipes for basic topics, such as layout patterns and event handling. Next it will cover how to develop common GUI patterns, such as entering and saving data, navigating through menus and dialogs, and perform long-running actions in background. You will then make the apps leverage the network resources effectively, perform 2D and 3D animation related tasks, create 3D objects and perform advanced graphical operations with it. Finally, this book will dive into the usage of the canvas and themed widgets. At the end of the book, you will have an in-depth knowledge of Tkinter classes, and will know how to use them to build efficient and rich GUI applications.
商品描述(中文翻譯)
一本針對 Python 和 Tkinter 相關的 GUI 開發問題的實用指南
關於本書
* 整合高效的 Python GUI 程式設計技術與 Tkinter
* 在您的 Python GUI 應用程式中有效實現先進的 MVC 架構
* 使用這本食譜式的指南解決所有與 Tkinter 和 Python GUI 開發相關的問題
本書的目標讀者
理想的目標讀者是希望開發 GUI 應用程式的 Python 開發者。
您將學到的內容
* 添加小部件並處理用戶事件
* 使用框架和不同的幾何管理器在窗口中佈局小部件
* 配置小部件,使其具有自定義的外觀和行為
* 通過菜單和對話框改善應用程式的導航
* 在 Tkinter 應用程式中應用物件導向程式設計技術
* 使用執行緒來實現響應性並更新 GUI
* 探索畫布小部件的功能及可添加的項目類型
* 使用 ttk(主題化 Tkinter)模組擴展 Tkinter 應用程式
詳細內容
作為一種多功能的程式語言,Python 以其「內建電池」的理念而聞名,這包括其標準庫中豐富的模組,其中 Tkinter 是用於構建桌面應用程式的庫。因此,Tkinter 是快速 GUI 開發的常見選擇,更複雜的應用程式可以充分利用這個庫的全部功能。本書將涵蓋您所有與 Tkinter 和 Python GUI 開發相關的問題和解決方案。它從 Tkinter 類的概述開始,同時提供基本主題的食譜,例如佈局模式和事件處理。接下來,它將介紹如何開發常見的 GUI 模式,例如輸入和保存數據、通過菜單和對話框導航,以及在背景中執行長時間運行的操作。然後,您將使應用程式有效利用網絡資源,執行與 2D 和 3D 動畫相關的任務,創建 3D 物件並執行高級圖形操作。最後,本書將深入探討畫布和主題小部件的使用。在書的結尾,您將對 Tkinter 類有深入的了解,並知道如何使用它們來構建高效且豐富的 GUI 應用程式。