Index
A
- alignment property, text / Getting ready, How to do it..., How it works...
- animation
- about / Introduction
- working / Introduction
- static shifting / Static shifting of a ball, How it works...
- colored disk, shifting / Static shifting of a ball, How it works...
- colored disk, creating / Static shifting of a ball, How it works...
- time controlled shifting / How to do it..., How it works...
- completing, draw-move-pause-erase cycles used / Complete animation using draw-move-pause-erase cycles, How to do it..., How it works...
- multiple objects, moving / More than one moving object, How to do it..., How it works...
- ball, bouncing / A ball that bounces, How to do it..., How it works...
- ball, bouncing in gravity field / Bouncing in a gravity field, How to do it..., How it works...
- simulation flaws, eliminating / Precise collisions using floating point numbers, How to do it..., How it works...
- mid-air collision / Trajectory tracing and ball-to-ball collisions, How to do it..., How it works...
- balls-to-ball collision rebounds / How to do it..., How it works...
- lines, rotating / Rotating line, How to do it..., How it works...
- trajectory tracing, on multiple line rotations / Trajectory tracing on multiple line rotations, How to do it..., How it works...
- digital flower example / A rose for you, How it works...
- image sequence, creating for / How it works..., How it works...
- animdelay() function / How it works...
- ANTIALIAS filters / How it works...
- Apteryx image
- attributes
- defining / Getting ready
B
- background image
- making endless / Endless background, How to do it..., How it works...
- ball
- static shifting / Static shifting of a ball, How it works...
- time controlled shifting / Time-controlled shifting of a ball, How to do it..., How it works...
- bouncing / A ball that bounces, How to do it..., How it works...
- bouncing, in gravity field / Bouncing in a gravity field, How to do it..., How it works...
- bandList specifier / There's more...
- BICUBIC filters / How it works...
- BILINEAR filters / How it works...
- blue raised button
- BMP image
- button arrays
- GIF format images, placing / Images on buttons and button packing, How to do it..., Grid Geometry Manager and button arrays, How to do it..., How it works...
- button focus
- concept, demonstrating / Button focus, How to do it..., How it works...
- buttons
- behaving, differently on Windows / Buttons behave differently on Windows
C
- canvas
- text, placing on / Simple text, How it works..., Getting ready
- canvas() method / Introduction
- canvas.after(milliseconds) function / Time-controlled shifting of a ball
- canvas.after(your-chosen-milliseconds) method / How it works...
- canvas.delete(ALL) method / How it works...
- canvas.update() function / Time-controlled shifting of a ball
- checkbuttons
- about / Checkbuttons (Tickboxes) to select some of many
- example / How to do it...
- working / How it works...
- choice
- about / There's more...
- circle
- drawing, from oval / A circle from an oval, There's more...
- about / How it works...
- drawing, from arc / A circle from an arc, How it works...
- Clever Geometry Manager
- about / The Clever Geometry Manager
- colored disk
- shifting / Static shifting of a ball, How it works...
- creating / Static shifting of a ball, How it works...
- color lists / A more compact color list
- color mixing / How to do it...
- colors
- similar colors, eliminating / How to do it..., How it works...
- rectangular color swatches chart / How to do it..., How it works...
- specifying, ways / Nine ways of specifying color, How to do it...
- altering, in images / Red, green, and blue color alteration in images, How it works...
- color tuples
- converting, to Tkinter Hex compatible specifiers / How it works...
- compiled executable
- creating, under MS Windows / How to do it under MS Windows..., How to compile under both Linux and MS Windows..., How it works...
- creating, under Linux / How to do it under Linux (Debian and Ubuntu)..., How it works...
- complicated shapes
- drawing, mouse clicks used / Simple mouse input, How it works...
- composite image
- concentric squares
- drawing / Draw concentric squares, How it works...
- configuration() method
- about / Widget configuration – a label
- using / How to do it...
- context editor
- about<?AID 0013?> XE / How to do it...
- continuous band of images
- preparing / Continuous band of images, How to do it..., How it works...
- coordinate system
- create-rectangle() method / How it works...
- create_arc() method / A circle from an arc, There's more...
- create_line() method / How it works..., How it works...
- create_line(x0,y0 …) function / Introduction
- create_oval() method / A circle from an oval
- create_polygon() method / How it works...
- create_text() method / Text font type, size, and color
- cx_Freeze program
- about / Make a compiled executable under Windows and Linux
- downloading, URL / Getting ready
D
- dashed line
- drawing / Draw a dashed line, How it works...
- data
- writing, to file / Writing data to a newly-created file
- writing, to multiple files / Writing data to multiple files, How it works...
- adding, to existing file / Adding data to existing files, How it works...
- retrieving, from disk / Retrieving Python data from disk storage, How it works...
- data entry box
- about / A data entry box
- working / How it works...
- data file
- creating, on disk / Creation of a new file on a hard drive
- reading / How it works..., How to read the newly created file
- detect_Wall_Collision() function / How it works...
- diplomat walking at palace recipe / Diplomat walking at the palace, How to do it..., How it works...
- disk
- data file, creating / Creation of a new file on a hard drive
- Tkinter-drawing shape, saving / Saving a Tkinter-drawing shape to disk, How it works...
- data, retrieving from / Retrieving Python data from disk storage, How it works...
- draw-move-pause-erase cycles
- using, in animation / Complete animation using draw-move-pause-erase cycles, How to do it..., How it works...
- drop-down menu widget
E
- EDGE_ENHANCE filter / How it works...
- ellipse
- three arc ellipse, drawing / How to do it..., How it works..., There's more...
- Entry widget
- about / A data entry box
- eval() function / Storing commands, How it works...
- event handler
- about / Key-stroke event handling
- example / How to do it...
- working / How it works...
- event processing
F
- file image formats
- filter effects
- demonstrating, on images / Filter effects: blur, sharpen, contrast, and so on, How to do it...
- filters
- about / How it works...
- BILINEAR / How it works...
- BICUBIC / How it works...
- ANTIALIAS / How it works...
- fonts
- availability, verifying on computer / All the fonts available on your computer, How it works...
- fonts_available.sort() function / How it works...
G
- gedit text editor / How to do it...
- get_list function / How it works...
- GIF beach ball image
- animating / Simple animation of a GIF beach ball, How it works...
- GIF format images
- placing, on button arrays / Images on buttons and button packing, How to do it..., Grid Geometry Manager and button arrays, How to do it..., How it works...
- GIF image
- GIF images
- making, with transparent background / Making GIF images with transparent backgrounds using GIMP, How to do it..., How it works...
- GIMP
- GIF images. making with transparent backgrounds / Making GIF images with transparent backgrounds using GIMP, How to do it..., How it works...
- about / Getting ready
- graphics
- about / Introduction
- grid geometry manager
- about / How it works...
- Grid Layout Geometry Manager
- about / The Grid Layout Geometry Manager
- example / How to do it...
- working / How it works...
- GUI
- about / Introduction
H
- hexadecimal color specification scheme
- color shades series, preparing / A red beachball of varying hue, How to do it..., How it works...
I
- image
- saving, in different format / Open, view, and save an image in a different file format, How it works...
- opening, in different format / Open, view, and save an image in a different file format, How it works...
- converting, to other format / Image format conversion for JPEG, PNG, TIFF, GIF, BMP, How to do it..., How it works...
- rotating, in plane / Image rotation in the plane of the image, How it works...
- size, altering / Image size alteration, How it works...
- re-sizing, with correct aspect ratio / Correct proportion image resizing, How it works...
- color band, isolating / Separating one color band in an image, How it works...
- colors, altering / Red, green, and blue color alteration in images, How it works...
- blending / Combining images by blending, There's more...
- blending, by percentages / Blending images by varying percentages, How it works...
- composite image, making / Make a composite image using a mask image, How it works...
- rolling / Offset (roll) image horizontally and vertically
- transformation effects, applying / Flip horizontally, vertically, and rotate
- filter effects, demonstrating on / Filter effects: blur, sharpen, contrast, and so on, How to do it...
- sequence, creating for animation / How it works..., How it works...
- Image.size() function
- about / Correct proportion image resizing
- working / How it works...
- Image.split() function / How it works...
- image file
- ImageFilter module
- Image module
- image shape
- tracing, InkSpace used / Tracing the shape of an image in Inkscape, How to do it...
- image_open() function / Opening an image file and discovering its attributes
- Inkscape
- about / Using other tools to acquire and re-work images
- drawings, encoding / The structure of an SVG drawing, How it works...
- downloading, URL / Getting ready
- image shape, tracing / Tracing the shape of an image in Inkscape, How to do it...
- insert(…) function / How it works...
- instantiation
- about / There's more...
- intricate shapes
- Isaac Newton's Color Wheel / How to do it...
- item
- selecting, from listbox / Listbox variable selection, How to do it..., How it works...
J
- JPEG image
L
- lines
- drawing, with endcaps / Lines of varying styles with arrows and endcaps, How to do it..., How it works...
- drawing, with arrows / Lines of varying styles with arrows and endcaps, How to do it..., How it works...
- line with curved bend, drawing / A line with a curved bend
- rotating / Rotating line, How to do it..., How it works...
- Linux
- compiled executable, creating / How to do it under Linux (Debian and Ubuntu)..., How it works...
- listbox
- about / Listbox variable selection
- item, selecting from / Listbox variable selection, How to do it..., How it works...
M
- mammal and bird leg motions
- combining / Spider in the forest, How to do it..., How it works...
- mask image
- math module
- about / There's more...
- message box widget
- Microsoft Windows
- Python programs, running / Running Python programs in Microsoft Windows
- mouse-controlled slider positions
- using / How it works...
- mouse-drawn shape
- mouse-shaped editor
- about / Getting ready
- working / How it works...
- mouse events / All possible mouse actions, How it works...
- moving band of images
- preparing / Moving band of images, Getting ready, How it works...
- MS Windows
- compiled executable, creating / How to do it under MS Windows..., How to compile under both Linux and MS Windows..., How it works...
- multi line entry
- versus single line entry / Single-line versus multi-line entry
- multiple line rotations
- trajectory tracing / Trajectory tracing on multiple line rotations, How to do it..., How it works...
- multiple objects
N
- named colors / A limited palette of named colors
- newline character / How it works...
O
- OpenClipArt
- URL / Introduction
- overlapping rectangles
P
- Pack Geometry Manager
- about / How it works..., The Pack Geometry Manager
- example / How to do it...
- working / How it works...
- pair of walking legs
- creating, vector graphics used / The vector walking creature, How to do it..., How it works...
- pickle method / Storing commands
- PIL
- downloading, URL / Getting ready
- pixel / How it works...
- PNG image
- polygons
- drawing / Polygons
- potrace / Another way to get SVG paths from raster images
- potracegui / Another way to get SVG paths from raster images
- print command
- about / How it works...
- working / How it works...
- properties
- changing, for widgets / Widget configuration – a label
- push button
- with validation / The simplest push button with validation, How to do it..., How it works...
- py2exe program
- about / What about py2exe?
- Python 2.7 Windows installer
- URL, for downloading / Where will we find the windows installer?
- python is not recognized… problem
- about / Why do we get "python is not recognized…"?
- solving, ways / Why do we get "python is not recognized…"?
- Python modules
- Python program
- running / How to do it..., How it works...
- Tkinter command, executing / A basic Tkinter program, How to do it..., How it works...
- Python programs
- running, in Microsoft Windows / Running Python programs in Microsoft Windows
R
- radiobuttons
- about / Radiobuttons to select one from many
- example / How to do it...
- working / How it works...
- raster images
- SVG paths, extracting from / Another way to get SVG paths from raster images
- rectangle
- drawing / Draw a rectangle, How it works...
S
- scrollbar
- about / Scrollbar
- example / How to do it...
- working / How it works...
- set of three buttons
- modifying, one another / Complex interaction between buttons, How to do it..., How it works...
- SHARPEN filter / How it works...
- simulation flaws
- single line entry
- versus multi line entry / Single-line versus multi-line entry
- size
- altering, for image / Image size alteration, How it works...
- slide control
- spline fitting / How it works...
- star polygon
- drawing / A star polygon, How it works...
- stars
- re-positioning / Cloning and resizing stars, How to do it..., How it works...
- resizing / Cloning and resizing stars, How to do it..., How it works...
- straight line
- drawing, on canvas / A straight line and the coordinate system, How to do it..., How it works...
- SVG
- about / There's more..., Using other tools to acquire and re-work images, Introduction
- directives / There's more...
- code / SVG code for separate paths
- SVG code / SVG code for separate paths
- SVG directives / There's more...
- SVG drawing
- about / Introduction
- structure / The structure of an SVG drawing, How it works...
- SVG path
- converting, into Tkinter Line / Converting an SVG path into a Tkinter Line, How to do it..., How it works...
- extracting, from raster images / Another way to get SVG paths from raster images
T
- text
- placing, on canvas / Simple text, How it works..., Getting ready
- size attribute / Text font type, size, and color, How it works...
- font type attribute / Text font type, size, and color, How it works...
- color attribute / Text font type, size, and color, How it works...
- placing, position specifiers used / There's more...
- aligning / Getting ready, How to do it..., How it works...
- placing, in window / Text in a window
- Text(root) method / How it works...
- TIFF image
- tkFont module / How it works...
- Tkinter
- robustness / The robustness of Tkinter
- about / Introduction
- Tkinter-drawing shape
- saving, to disk / Saving a Tkinter-drawing shape to disk, How it works...
- Tkinter command
- executing, inside Python program / A basic Tkinter program, How to do it..., How it works...
- Tkintercreate_line() function / Converting an SVG path into a Tkinter Line
- Tkinter frames
- widgets, organizing / Organizing widgets inside frames, How to do it..., How it works...
- Tkinter Hex compatible specifiers
- color tuples, converting to / How it works...
- Tkinter Line
- SVG path, converting to / Converting an SVG path into a Tkinter Line, How to do it..., How it works...
- tool
- constructing, for desirable color mix / Slider controlled color manipulation, How to do it..., How it works...
- trigonometry
- about / The vector walking creature
- using / How it works...
- two segment line
V
- vector images
- pair of walking legs, creating / The vector walking creature, How to do it..., How it works...
W
- wedge-shaped segment
- widget.config(attribute=new value) method / How it works...
- widgets
- about / Introduction
- properties, changing / Widget configuration – a label
- constructing / Custom DIY controller widgets, How to do it..., How it works...
- organizing, in frames / Organizing widgets inside frames, How to do it..., How it works...
- window
- text, placing on / Text in a window
- World Wide Web Consortium / Introduction
Z
- Z shape
- drawing, with pen tool / How to do it..., How it works...