Flylib.com
Cross-Platform GUI Programming with wxWidgets
Cross-Platform GUI Programming with wxWidgets
ISBN: 0131473816
EAN: 2147483647
Year: 2005
Pages: 262
Authors:
Julian Smart
,
Kevin Hock
,
Stefan Csomor
BUY ON AMAZON
Cross-Platform GUI Programming with wxWidgets
Table of Contents
Copyright
Bruce Perens Open Source Series
About Prentice Hall Professional Technical Reference
Foreword
Preface
Who This Book Is For
The CD-ROM
How to Use This Book
Conventions
Chapter Summary
Acknowledgments
About the Authors
Chapter1.Introduction
What Is wxWidgets?
Why Use wxWidgets?
A Brief History of wxWidgets
The wxWidgets Community
wxWidgets and Object-Oriented Programming
License Considerations
The wxWidgets Architecture
Summary
Chapter2.Getting Started
A Small wxWidgets Sample
The Application Class
The Frame Class
The Event Handlers
The Frame Constructor
The Whole Program
Compiling and Running the Program
Program Flow
Summary
Chapter3.Event Handling
Event-Driven Programming
Event Tables and Handlers
Skipping Events
Pluggable Event Handlers
Dynamic Event Handlers
Window Identifiers
Defining Custom Events
Summary
Chapter4.Window Basics
Anatomy of a Window
A Quick Guide to the Window Classes
Base Window Classes
Top-Level Windows
Container Windows
Non-Static Controls
Static Controls
Menus
Control Bars
Summary
Chapter5.Drawing and Printing
Understanding Device Contexts
Drawing Tools
Device Context Drawing Functions
Using the Printing Framework
3D Graphics with wxGLCanvas
Summary
Chapter6.Handling Input
Mouse Input
Handling Keyboard Events
Handling Joystick Events
Summary
Chapter7.Window Layout Using Sizers
Layout Basics
Sizers
Programming with Sizers
Further Layout Issues
Summary
Chapter8.Using Standard Dialogs
Informative Dialogs
File and Directory Dialogs
Choice and Selection Dialogs
Entry Dialogs
Printing Dialogs
Summary
Chapter9.Writing Custom Dialogs
Steps in Creating a Custom Dialog
An Example: PersonalRecordDialog
Adapting Dialogs for Small Devices
Further Considerations in Dialog Design
Using wxWidgets Resource Files
Summary
Chapter10.Programming with Images
Image Classes in wxWidgets
Programming with wxBitmap
Programming with wxIcon
Programming with wxCursor
Programming with wxImage
Image Lists and Icon Bundles
Customizing Art in wxWidgets
Summary
Chapter11.Clipboard and Drag and Drop
Data Objects
Using the Clipboard
Implementing Drag and Drop
Summary
Chapter12.Advanced Window Classes
wxTreeCtrl
wxListCtrl
wxWizard
wxHtmlWindow
wxGrid
wxTaskBarIcon
Writing Your Own Controls
Summary
Chapter13.Data Structure Classes
Why Not STL?
Strings
wxArray
wxList and wxNode
wxHashMap
Storing and Processing Dates and Times
Helper Data Structures
Summary
Chapter14.Files and Streams
File Classes and Functions
Stream Classes
Summary
Chapter15.Memory Management, Debugging, and Error Checking
Memory Management Basics
Detecting Memory Leaks and Other Errors
Facilities for Defensive Programming
Error Reporting
Providing Run-Time Type Information
Using wxModule
Loading Dynamic Libraries
Exception Handling
Debugging Tips
Summary
Chapter16.Writing International Applications
Introduction to Internationalization
Providing Translations
Character Encodings and Unicode
Numbers and Dates
Other Media
A Simple Sample
Summary
Chapter17.Writing Multithreaded Applications
When to Use Threads, and When Not To
Using wxThread
Synchronization Objects
The wxWidgets Threads Sample
Alternatives to Multithreading
Summary
Chapter18.Programming with wxSocket
Socket Classes and Functionality Overview
Introduction to Sockets and Basic Socket Processing
Socket Flags
Using Socket Streams
Alternatives to wxSocket
Summary
Chapter19.Working with Documents and Views
DocumentView Basics
Other DocumentView Capabilities
Strategies for Implementing UndoRedo
Summary
Chapter20.Perfecting Your Application
Single Instance or Multiple Instances?
Modifying Event Handling
Reducing Flicker
Implementing Online Help
Parsing the Command Line
Storing Application Resources
Invoking Other Applications
Managing Application Settings
Application Installation
Following UI Design Guidelines
Summary
AppendixA.Installing wxWidgets
Choosing Your Development Tools
Downloading and Unpacking wxWidgets
ConfigurationBuild Options
WindowsMicrosoft Visual Studio
WindowsMicrosoft Visual C Command Line
WindowsBorland C
WindowsMinGW with MSYS
WindowsMinGW without MSYS
Linux, Unix, and Mac OS XGCC
Modifying Setup.h for Further Customizations
Rebuilding After Updating wxWidgets Files
Using Contrib Libraries
AppendixB.Building Your Own wxWidgets Applications
WindowsMicrosoft Visual Studio
LinuxKDevelop
Mac OS XXcode
Any PlatformMakefiles
Cross-Platform Builds Using Bakefile
Using wx-config
wxWidgets Symbols and Headers
AppendixC.Creating Applications with DialogBlocks
What is DialogBlocks?
Installing DialogBlocks
The DialogBlocks Interface
The DialogBlocks Sample Project
Compiling the Sample
Creating a New Project
Creating a Dialog
Creating a Frame
Creating an Application Object
Debugging Your Application
Further Information
AppendixD.Other Features in wxWidgets
Further Window Classes
ODBC Classes
MIME Types Manager
Network Functionality
Multimedia Classes
Embedded Web Browsers
Accessibility
OLE Automation
Renderer Classes
Event Loops
AppendixE.Third-Party Tools for wxWidgets
Language Bindings
Tools
Add-on Libraries
AppendixF.wxWidgets Application Showcase
AppendixG.Using the CD-ROM
Browsing the CD-ROM
The CD-ROM Contents
AppendixH.How wxWidgets Processes Events
AppendixI.Event Classes and Macros
AppendixJ.Code Listings
Custom Dialog Class Implementation
wxWizard Sample Code
AppendixK.Porting from MFC
General Observations
Feature Comparison
Equivalent Functionality
Further Information
GLOSSARY
Index
SYMBOL
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
R
S
T
U
V
W
X
Y
Z
Cross-Platform GUI Programming with wxWidgets
ISBN: 0131473816
EAN: 2147483647
Year: 2005
Pages: 262
Authors:
Julian Smart
,
Kevin Hock
,
Stefan Csomor
BUY ON AMAZON
Interprocess Communications in Linux: The Nooks and Crannies
Environment Variables
Introduction
Shared Memory Operations
Debugging RPC Applications
Out of Band Messages
Kanban Made Simple: Demystifying and Applying Toyotas Legendary Manufacturing Process
Forming Your Kanban Team
Conduct Data Collection
Appendix B Kanban Supermarkets
Appendix E EOQ vs. Kanban
Appendix I Case Study 2: Rubber Extrusion Plant
Developing Tablet PC Applications (Charles River Media Programming)
Introduction to Visual Basic .NET
Your First Program
Tablet PC Full Screen Utility
Form Effects
Using Gestures to Control Tablet Media Player
Managing Enterprise Systems with the Windows Script Host
Introduction
Network Administration/WMI
Internet Applications
Data Access
Internet Information Server
An Introduction to Design Patterns in C++ with Qt 4
Example Project: Using QApplication and QLabel
Overloading Functions
Reusing Other Libraries
public, protected, and private Derivation
C++ References
Microsoft VBScript Professional Projects
Customizing the Desktop
Project Case Study Creating a Centralized Report Management Station
Reporting Application Summary Data via the Web
Appendix A Windows XP Command Reference
Appendix B Whats on the Companion Web Site
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies