Learning wxPerl - Table of Contents

Ron Grunwald <[email protected]> Sat, 09 Jan 2016 22:01:11 +0800
Newsgroups gmane.comp.lang.perl.wxperl
Message-ID <D2B733A9.17DD%[email protected]>
Good evening all,

I have begun to think about constructing a detailed table of contents for
the Learning wxPerl book. Since wxPerl is so large in terms of widget
classes and methods that it provides, I thought it might be appropriate to
use the table of contents of the Learning Perl/Tk book as a guide.

I¹ve attached the Learning Perl/Tk table of contents (TOC). What I¹m hoping
is that subscribers of this group who are interested in contributing to the
Learning wxPerl book have a look at the TOC. If you find any entries that
you feel are not applicable to wxPerl, post a reply. Conversely, if you have
used a particular widget that you¹ve found to be very useful, and feel that
it should be described in detail in this book, please post a reply.

My next task is to translate the TOC so it is relevant to wxPerl. There are
already a few additions that I intend to include:

1. James Lynes mentioned ³Simple Application Structure² in his outline of
the book. 
2. wxPerl has an extensive collection of dialog widgets, and I feel most of
them should be covered in detail in the book.
3. Erik Colson, in replying to one of James¹ posts, mentioned wxPerl and
Moose. I think a section entitled ³Using Object Oriented Techniques in
wxPerl² would be a great addition to the book.

Kind Regards.
________________________________________
Ron Grunwald
[email protected]
http://www.dvlcorner.org
Learning PerlTk TOC.txt (application/octet-stream, 3.9 KB)
Table of Contents (Learning Perl/Tk)

1. Introduction to Perl/Tk
	A Bit of History About Perl (and Tk)
	Perl/Tk for Both Unix and Windows 95/NT
	Why Use a Graphical Interface?
	Why Use Perl/Tk?
	Installing the Tk Module
	Creating Widgets
	Coding Style
	Displaying a Widget
	The Anatomy of an Event Loop
	Hello World Example
	Using exit Versus Using destroy
	Naming Conventions for Widget Types
	Using print for Diagnostic/Debugging Purposes
	Designing Your Windows (A Short Lecture)

2. Geometry Management
	Pack
	Grid
	Place
	Geometry Management Summary

3. The Basic Button
	The Button Widget
	Some Fun Things to Try

4. Checkbuttons and Radiobuttons
	The Checkbutton Widget
	The Radiobutton Widget
	Fun Things to Try

5. Label and Entry Widgets
	The Label Widget
	The Entry Widget
	Fun Things to Try

6. Scrollbars
	Defining Scrollbar Parts
	The Scrolled Method
	The Scrollbar Widget
	Examples
	Fun Things to Try

7. The Listbox Widget
	Creating and Filling a Listbox
	Listbox Options
	Selection Modes
	Colors
	Listbox Style
	Configuring a Listbox
	Inserting Items
	Deleting Items
	Retrieving Elements
	Selection Methods
	Moving to a Specific Index
	Translating Indexes
	Counting Items
	Active Versus Selected
	Bounding Box
	Finding an Index by Y Coordinate
	Scrolling Methods
	Listbox Example
	Fun Things to Try

8. The Text Widget
	Creating and Using a Text Widget
	Text Widget Options
	A Short Break for a Simple Example
	Text Indexes
	Text Tags
	Inserting Text
	Deleting Text
	Retrieving Text
	Translating Index Values
	Comparing Index Values
	Showing an Index
	Getting the Size of a Character
	Getting Line Information
	Searching the Contents of a Text Widget
	Scrolling
	Marks
	Embedding Widgets
	Internal Debug Flag
	Fun Things to Try

9. The Canvas Widget
	Creating a Canvas
	Coordinate System
	The Scrollable Region
	Using Bind with a Canvas
	Canvas Options
	Creating Items in a Canvas
	Configuring the Canvas Widget
	Configuring Items in the Canvas Widget
	Tags
	Retrieving Bounding Box Coordinates
	Translating Coordinates
	Moving Items Around
	Changing the Display List
	Deleting Items
	Deleting Tags
	Determining Item Type
	Set Keyboard Focus
	Rendering the Canvas as PostScript
	Scaling the Canvas
	Scanning
	A Drawing Program Example
	Fun Things to Try

10. The Scale Widget
	Creating a Scale
	Assigning a Callback
	Orientation
	Minimum and Maximum Values
	Displayed Versus Stored Value
	Adding a Label
	Displaying Value Increments
	Changing the Size of the Scale
	Options You'll Probably Never Need
	Configuring a Scale
	Getting the Value of a Scale
	Setting the Value of a Scale
	Determining Coordinates
	Identifying Parts of a Scale
	Fun Things to Try

11. Menus
	Different Types of Menus
	The Menubutton Widget
	Complete Menubutton Examples
	The Menu Widget
	Optionmenu Widget
	Fun Things to Try

12. Frames
	Creating a Frame
	Frame Style
	Frames Aren't Interactive
	Colormap Complications
	Frame Methods
	Fun Things to Try

13. Toplevel Widgets
	Creating a Toplevel Widget
	Toplevel Methods
	Review
	Fun Things to Try

14. Binding Events
	The bind Method
	Arguments Sent to the Callback
	Defining Event Sequences
	Event Information
	Bailing Out of a Callback Created with bind
	The bindtags Method
	Ways to Use bind

15. Composite Widgets
	Looking at an Example Sideways
	Location of Files
	Creating a Composite Widget Based on Frame
	Toplevel-Based Composite Widgets

16. Methods for Any Widget
	Building a Family Tree
	Color-Related Methods
	Option Databases
	The Application's Name
	Widget Existence
	Is the Widget Mapped?
	Converting Screen Distances
	Size of Widget
	Widget Position
	Screen Information
	Atom Methods
	Ringing a Bell
	Clipboard Methods
	Selection Methods
	Destroying a Widget
	Focus Methods
	Grab Methods
	Interapplication Communication
	Waiting for Events to Happen
	Parsing Command-Line Options
	Time Delays

Appendix A - Configuring Widgets with configure and cget

Appendix B - Operating System Differences

Appendix C - Fonts