售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
wxPython Application Development Cookbook
Table of Contents
wxPython Application Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. wxPython Starting Points
Introduction
Creating an application object
How to do it…
How it works…
There's more…
See also
Adding the main frame
How to do it…
How it works…
There's more…
Using bitmaps
How to do it…
How it works…
There's more…
Binding to events
How to do it…
How it works…
There's more…
See also
Understanding the hierarchy of the UI
How to do it…
How it works…
There's more…
See also
Controlling the propagation of events
How to do it…
How it works…
There's more…
Accessing the clipboard
How to do it…
How it works…
There's more…
See also
Supporting drag and drop
How to do it…
How it works…
There's more…
Handling AppleEvents
How to do it…
How it works…
There's more…
2. Common User Controls
Introduction
Starting with the easy button
How to do it…
How it works…
See also
Pushing all the buttons
How to do it…
How it works…
There's more…
Offering options with CheckBoxes
How to do it…
How it works…
Using TextCtrl
How to do it…
How it works…
There's more…
See also
Processing key events
How to do it…
How it works…
There's more…
Picking dates with DatePickerCtrl
How to do it…
How it works…
There's more…
Exploring menus and shortcuts
How to do it…
How it works…
There's more…
See also
Displaying a context menu
How to do it…
How it works…
See also
Working with ToolBars
Getting ready
How to do it…
How it works…
There's more…
See also
Managing UI states
Getting ready
How to do it…
How it works…
There's more…
3. UI Layout and Organization
Introduction
Laying out controls with Sizers
How to do it…
How it works…
See also
Controlling layout behavior
Getting ready
How to do it…
How it works…
There's more…
Grouping controls with a StaticBox control
How to do it…
How it works…
There's more…
Creating an automatic wrapping layout
How to do it…
How it works…
Using the standard dialog button sizer
How to do it…
How it works…
There's more…
Simplifying the panel layout
How to do it…
How it works…
There's more…
See also
Making dialog layout easy
Getting ready
How to do it…
How it works…
Building XML resource-based layouts
How to do it…
How it works…
There's more…
Extending XRC for custom controls
How to do it…
How it works…
There's more…
Advancing your UI with AuiManager
How to do it…
How it works…
There's more…
Additional AuiPaneInfo options
Saving and restoring a window's state
4. Containers and Advanced Controls
Introduction
Adding tabs with the Notebook control
How to do it…
How it works…
There's more…
See also
Enhancing ComboBox with bitmaps
How to do it…
How it works…
There's more…
See also
Configuring properties
How to do it…
How it works…
There's more…
Taking control with FlatNotebook
How to do it…
How it works…
There's more…
See also
Styling text in StyledTextCtrl
How to do it…
How it works…
There's more…
See also
Annotating StyledTextCtrl
Getting started
How to do it…
How it works…
There's more…
Displaying hierarchical data with TreeCtrl
How to do it…
How it works…
There's more…
Building a system tray application
Getting started
How to do it…
How it works…
There's more…
Surfing the Web in your app
How to do it…
How it works…
There's more…
5. Data Displays and Grids
Introduction
Displaying lists of data
How to do it…
How it works…
There's more…
See also
Editing data lists
Getting ready
How to do it…
How it works…
There's more…
Implementing a data source
How to do it…
How it works…
There's more…
See also
Getting started with the data grid
Getting ready
How to do it…
How it works…
There's more…
Custom Editors
Managing Attributes
See also
Displaying dynamic data
How to do it…
How it works…
There's more…
See also
Modeling your data
How to do it…
How it works…
There's more…
See also
Displaying your data model
Getting ready
How to do it…
How it works…
There's more…
6. Ways to Notify and Alert
Introduction
Showing MessageBox
How to do it…
How it works…
There's more…
Button flags
Icon flags
Using InfoBar
How to do it…
How it works…
There's more…
See also
Providing extra tips on usage
How to do it…
How it works…
Displaying transient notifications
How to do it…
How it works…
There's more…
See also
Making a splash at startup
How to do it…
How it works…
There's more…
See also
Giving busy feedback
How to do it…
How it works…
Showing information about your app
How to do it…
How it works…
There's more…
See also
7. Requesting and Retrieving Information
Introduction
Selecting files with FileDialog
Getting ready
How to do it…
How it works…
See also
Searching text with FindReplaceDialog
Getting ready
How to do it…
How it works…
There's more…
Filtering through choices
How to do it…
How it works…
There's more…
See also
Retrieving multiple selections
How to do it…
How it works…
There's more…
See also
Using Print dialogs
How to do it…
How it works…
There's more…
See also
Guiding selections with Wizard
How to do it…
How it works…
There's more…
8. User Interface Primitives
Introduction
Painting in your UI
How to do it…
How it works…
See also
Drawing basic shapes
How to do it…
How it works…
There's more…
Customizing grid labels
Getting ready
How to do it…
How it works…
There's more…
See also
Drawing gradients with GraphicsContext
How to do it…
How it works…
There's more…
Recreating native controls with RendererNative
How to do it…
How it works…
There's more…
9. Creating and Customizing Components
Introduction
Making your own dialog
How to do it…
How it works…
There's more…
See also
Validating user input
How to do it…
How it works…
There's more…
Interacting with StatusBar
How to do it…
How it works…
There's more…
Providing your own information window
How to do it…
How it works…
See also
Creating a managed layout
How to do it…
How it works…
Drawing your own list control
How to do it…
How it works…
There's more…
Implementing highlighting in StyledTextCtrl
Getting ready
How to do it…
How it works…
See also
Creating a composite control
How to do it…
How it works…
See also
Designing an owner-drawn control
Getting ready
How to do it…
How it works
See also
10. Getting Your Application Ready for Release
Introduction
Storing your configuration with StandardPaths
How to do it…
How it works...
There's more...
Saving the application's state
How to do it…
How it works...
See also
Supporting internationalization
How to do it…
How it works…
There's more…
See also
Optimizing for OS X
How to do it…
How it works…
There's more…
ToolBars
See also
Handling errors gracefully
How to do it…
How it works…
Embedding your resources
How to do it…
How it works…
There's more…
See also
Distributing an application
Getting ready
How to do it…
How it works…
There's more…
See also
Updating your software
Getting ready
How to do it…
How it works…
There's more…
See also
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜