Python知识分享网 - 专业的Python学习网站 学Python,上Python222
Wxpython in Action PDF 下载
匿名网友发布于:2023-08-15 10:59:13
(侵权举报)
(假如点击没反应,多刷新两次就OK!)

Wxpython in Action PDF 下载  图1

 

 

资料内容:

 

 

How this book is organized
We’ve divided wxPython In Action into three parts. The first part is an introduc
tion to wxPython concepts, a tutorial on how to get started with wxPython, and
some information on wxPython best practices. The chapters in part 1 are:
Chapter 1, Welcome to wxPython
In this chapter, we introduce wxPython, explain to you why it’s the greatest
thing since sliced bread, and give some background on the technologies used
to create wxPython.
Chapter 2, Giving your wxPython program a solid foundation
The two most important objects in wxPython are discussed. Every application
must have an application object and a top-level window. This chapter will
show you how to start a wxPython program, and how to manage its lifecycle.
Chapter 3, Working in an event-driven environment
Like all GUI toolkits, control in wxPython is managed by events. This chapter
discusses how events are handled, and how you can use them as hooks to drive
your functionality.
Chapter 4, Making wxPython easier to handle with PyCrust
PyCrust is a Python shell written in wxPython that contains many advanced
and useful features. Not only can you use PyCrust for your wxPython develop
ment, you can wrap your program inside it for debugging purposes, and you
can reuse the PyCrust components in your own applications.
Chapter 5, Creating your blueprint
This chapter discusses best practices in three areas that are often difficult for
GUI programmers. We show how to use refactoring to improve the structure
and maintainability of your code. The Model/View/Controller design pattern is
explored, and we’ll show you how to unit test our GUI code to minimize errors.
Chapter 6, Working with the basic building blocks
This chapter is a bridge between parts one and two. Building on the basic
ideas already shown, we give hints of some of the features discussed in parts 2
and 3 as we build a sketchpad application.