ebook img

wxPython in Action PDF

583 Pages·2006·12.56 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview wxPython in Action

wxPython in Action wxPython in Action NOEL RAPPIN ROBIN DUNN MANNING Greenwich (74° w. long.) For online information and ordering of this and other Manning books, go to www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact: Special Sales Department Manning Publications Co. 209 Bruce Park Avenue Fax: (203) 661-9018 Greenwich, CT 06830 email: [email protected] ©2006 by Manning Publications Co. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps. Recognizing the importance of preserving what has been written, it is Manning’s policy to have the books they publish printed on acid-free paper, and we exert our best efforts to that end. Manning Publications Co. Copyeditor: Elizabeth Martin 209 Bruce Park Avenue Typesetter: Denis Dalinnik Greenwich, CT 06830 Cover designer: Leslie Haimes ISBN 1-932394-62-1 Printed in the United States of America 1 2 3 4 5 6 7 8 9 10 – VHG – 10 09 08 07 06 To every Jane and Joe Programmer, chained to their computer, burning the midnight oil, striving to make a dream come true brief contents PART 1 INTRODUCTION TO WXPYTHON .............................. 1 1 ■ Welcome to wxPython 3 2 ■ Giving your wxPython program a solid foundation 29 3 ■ Working in an event-driven environment 56 4 ■ Making wxPython easier to handle with PyCrust 83 5 ■ Creating your blueprint 116 6 ■ Working with the basic building blocks 146 PART 2 ESSENTIAL WXPYTHON ....................................... 183 7 ■ Working with the basic controls 185 8 ■ Putting widgets in frames 224 9 ■ Giving users choices with dialogs 258 10 ■ Creating and using wxPython menus 293 11 ■ Placing widgets with sizers 323 12 ■ Manipulating basic graphical images 356 vii viii BRIEF CONTENTS PART 3 ADVANCED WXPYTHON ....................................... 391 13 ■ Building list controls and managing items 393 14 ■ Coordinating the grid control 425 15 ■ Climbing the tree control 460 16 ■ Incorporating HTML into your application 485 17 ■ The wxPython printing framework 504 18 ■ Using other wxPython functionality 521 contents preface xix acknowledgments xxii about this book xxiv PART 1 INTRODUCTION TO WXPYTHON...................................1 1 Welcome to wxPython 3 1.1 Getting started with wxPython 5 1.2 Creating the bare-minimum wxPython program 7 Importing wxPython 9 ■ Working with applications and frames 11 1.3 Extending the bare-minimum wxPython program 12 1.4 Creating the final hello.py program 15 1.5 What can wxPython do? 17 1.6 Why choose wxPython? 19 Python programmers 19 ■ wxWidget users 20 ■ New users 20 ix

Description:
needs, I ran into the term “Python bindings” on the wxWidgets website (in this case . you know up front that we don't have a tutorial on Python basics. If you'd
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.