• Tidak ada hasil yang ditemukan

OReilly Mastering Perl Tk Jan 2002 ISBN 1565927168

N/A
N/A
Protected

Academic year: 2019

Membagikan "OReilly Mastering Perl Tk Jan 2002 ISBN 1565927168 "

Copied!
1477
0
0

Teks penuh

(1)
(2)

Index

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

R | S | T | U | V | W | X | Y | Z

(3)

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

(4)

Index: Symbols & Numbers

& (ampersand)

&& operator used with tags: 9.9. Tags

attachments and: 2.4.2.2. Widget-to-widget attachments

* (asterisk)

as wildcard character: 16. User Customization

pathname separators: 16.2. Using the Option Database

@ (at sign), bitmaps and: 4.5. Displaying an Image or Bitmap 9.6.2. The Bitmap Item

(backslash)

using with @: 4.5. Displaying an Image or Bitmap

Win32 separator: 16.2. Using the Option Database

{} (braces) as string delimiter: 1.3.3. Specifying Options

[] (brackets)

insert method and: 8.6. Inserting Text

in Tcl: 20.2.2. Tcl/Tk Slave Processor Code

Tk::Pretty and: 13.1.1. The configure Method

^ (caret)

grid method and: 2.2.1. Special Characters 2.2.2. grid Options

marks as: 8.16. Marks

operator used with tags: 9.9. Tags

: (colon) as separator: 16. User Customization

, (comma)

-sticky option and: 2.2.5. Forcing a Widget to Fill a Cell

=> equivalent: 1.3.3. Specifying Options

Tk::Pretty and: 13.1.1. The configure Method

$ (dollar sign)

$| as special variable: 1.6. Debugging and PrototypingPerl/Tk Programs

$^O as operating system identifier: 12.3. The Win32 System Menu Item

in Tcl: 20.2.2. Tcl/Tk Slave Processor Code

=> notation as comma equivalent: 1.3.3. Specifying Options

! (exclamation point)

as bang: 1.3.1. Do You Need To Install Anything?

operator used with tags: 9.9. Tags

(5)

as string delimiters: 1.3.3. Specifying Options

Unix pathname separator: 16.2. Using the Option Database

- (hyphen)

as index modifier: 8.4.2. Index Modifiers

configuration parameters and: 1.3.3. Specifying Options

grid method and: 2.1.1. Options for pack 2.2.1. Special Characters

setPalette method and: 13.4.5. Setting Colors 13.4.5. Setting Colors

Text widgets and -- option: 8.16. Marks

( ) parentheses

operator used with tags: 9.9. Tags

as string delimiter: 1.3.3. Specifying Options

. (period)

as pathname separator: 16.2. Using the Option Database

as separator: 13.2. Building a Family Tree 18.4. The HList Family of Widgets

in Tcl: 20.2.2. Tcl/Tk Slave Processor Code

|| (pipes)

as IPC mechanisms: 19. Interprocess Communicationwith Pipes and Sockets

operator used with tags: 9.9. Tags

+ (plus sign) as index modifier: 8.4.2. Index Modifiers

" (quotation marks)

-w switch and: 1.3.3. Specifying Options

indexes and: 8.4. Text Indexes

screen units and: 2.1.8.1. Valid screen distances

in Tcl: 20.2.2. Tcl/Tk Slave Processor Code

text string and: 4.4. Displaying Text on Buttons

~ (tilde) and -label option: 12.2.2. Menubars the Slick, Sophisticated, New-Fashioned Way

_ (underscore)

as private method name: 15.4.2. Tk::ExecuteCommand

reserving keys with: 14.3.9. Mega-Widget Instance Variables

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

(6)
(7)

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

(8)

Index: A

-accelerator option

creating menu items and: 12.2.1. Menubars the Clunky, Casual, Old-Fashioned Way

examples: 13.16.1.3. Menu Traversal

menu item definition and: 12.2.2. Menubars the Slick, Sophisticated, New-Fashioned Way

-activebackground option

activate method and: 6.3.2. Scrollbar Options

Button widgets and: 4.3. Table of Options for Button-Type Widgets

color options and: 4.15. Color Options

Menu widgets and: 12.1.6. Menu Options

Menubutton widgets: 12.4.1. Menubutton Options

mouse cursor and: 4.15. Color Options

Scale widgets and: 10.1. Creating a Scale

Scrollbars and: 6.3.2. Scrollbar Options 6.3.2. Scrollbar Options

Tix widgets and: 18.2. Item Styles

-activeborderwidth option: 12.1.6. Menu Options

-activedash option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-activefill option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-activeforeground option

Button widgets and: 4.3. Table of Options for Button-Type Widgets

Menu widgets and: 12.1.6. Menu Options

Menubutton widgets: 12.4.1. Menubutton Options

mouse cursor and: 4.15. Color Options

Tix widgets and: 18.2. Item Styles

-activeoutline option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-activeoutlinestipple option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-activeoutlinetile option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-activerelief option: 6.3.2. Scrollbar Options 6.3.2. Scrollbar Options

6.3.4. Scrollbar Style

-activestipple option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

(9)

-activewidth option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-after option

add method and: 18.4.2. HList Methods

packing order and: 2.1.1. Options for pack

widget order and: 2.1.7. Widget Order in the Window

-align option: 8.16.1. Setting and Getting the Gravity

-anchor option

add method and: 23.8.1. Creating Pages

allocation rectangle: 2.1.1. Options for pack

Button widgets and: 4.3. Table of Options for Button-Type Widgets

createBitmap method and: 9.6.2. The Bitmap Item

createImage method and: 9.6.3. The Image Item

createText method and: 9.6.8. The Text Item

createWindow method and: 9.6.9. The Widget Item

Label widgets and: 5.1.2. Label Options

Menubutton widgets: 12.4.1. Menubutton Options

option menu example: 12.6.2. A Native Option Menu

place method and: 2.1.1. Options for pack

ProgressBar widgets and: 23.10.1. ProgressBar Options

relative coordinates and: 2.3.3. Relative Coordinates

syntax: 2.1.1. Options for pack

2.1.6. Anchoring a Widget in Its Allocation Rectangle 4.11. Text Manipulation

Tix widgets and: 18.2. Item Styles

-arrow option: 9.6.4. The Line Item

-arrowimage option: 23.6. The BrowseEntry Widget

-arrowshape option: 9.6.4. The Line Item

-ascent option: 3.5. Font Manipulation Methods

-async option: 13.2.1. Widget's Children

-at option: 18.4.2. HList Methods

aboveThis argument: 13.19. Widget Mapping and Layering

absolute coordinates: 2.3.2. Absolute Coordinates

act_fold image: 18.5. Tix Images

Activate event: 15.2.1.2. Event descriptor types 18.4.1. Using Indicators with HList

activate method: 6.3.2. Scrollbar Options 7.2. Listbox Options

12.1.4. Manipulating Menu Items

(10)

ACTIVE_BG color: 23.1.3. Optionally Exported Symbols

ActiveState ) (see PPM (Perl Package Manager) add method

creating pages and: 23.8.1. Creating Pages

DialogBox widgets and: 23.3.3. The DialogBox Widget

HList widgets and: 18.4.2. HList Methods

addchild method: 18.4.2. HList Methods

addOptions method: 12.6.1. Tk::Optionmenu

addtag method: 9.5.3. Canvas Widget Option List 9.9. Tags

9.9.2. Finding Tags

Adjuster widget: 23.4. The Adjuster Widget

adjustSelect method: 8.16.1. Setting and Getting the Gravity

Advertise method: 14.3.8.1. Subroutine Advertise

ADVERTISED value: 14.3.6. Subroutine ConfigSpecs

after method: 13.2.2. Name of a Widget

afterCancel method: 13.22. Time Delays

afterIdle method: 13.22. Time Delays

"all" tag: 9.5.3. Canvas Widget Option List

ALL_EVENTS: 23.1.3. Optionally Exported Symbols

allocation rectangles

-expand option and: 2.1.5. Expanding the Allocation Rectangle

anchoring widgets: 2.1.6. Anchoring a Widget in Its Allocation Rectangle

characteristics of: 2.1.1. Options for pack

filling: 2.1.1. Options for pack

2.1.4. Filling the Allocation Rectangle

ampersand (&)

&& operator used with tags: 9.9. Tags

attachments and: 2.4.2.2. Widget-to-widget attachments

anchor points

defined: 12.5.2. The Popup Method

offsets and: 2.4.2. Attachments

angle brackets: 15.2.1. Event Descriptor Syntax

anonymous arrays

-font option and: 3.3. Using Fonts

callbacks with arguments: 15.1. Creating a Callback

Checkbuttons and: 12.2.1. Menubars the Clunky, Casual, Old-Fashioned Way

(11)

menubar example: 12.2.2. Menubars the Slick, Sophisticated, New-Fashioned Way

tags and: 9.6.1. The Arc Item

API (application programming interface)

C language plug-ins: 22.2. The PerlPlus Browser Plug-in

RCP commands and: 20.3.1.2. The RCP API handles Perl to tclrobots communications

TclRobots and: 20.3. TclRobots

20.3.1. TclRobots.pm, the Perl Interface to TclRobots

Apple operating system: 12.1.5. Menubars

applications

changing colors, fonts, titles: 16.1.1. Colors, Fonts, and Titles

changing name of: 13.5. The Application's Name

communication between: 13.2.1. Widget's Children

drawing program example: 9.5.3. Canvas Widget Option List

recommendations: 1.5.1. Programming Style

synchronizing window messages: 16.1.5. Synchronizing Window Messages

time delays: 13.2.2. Name of a Widget

Tk programs and names: 20.1.1. Application Names

appname method: 13.5. The Application's Name 20.1.1. Application Names

arcs

Canvas widgets and: 9. The Canvas Widget

creating: 9.5.3. Canvas Widget Option List

options lists for: 9.6.1. The Arc Item

@ARGV: 16. User Customization

Arm event: 18.4.1. Using Indicators with HList

arrows

-repeatdelay option and: 6.3.2. Scrollbar Options

as Scrollbar component: 6.1. Defining Scrollbar Parts 6.3.2. Scrollbar Options

using: 6.3.6. Using the Arrows and the Slider

ASCII characters, XPM files and: 17.1. An Overview of Perl/Tk Image Types

aspect method: 11.3. Options

asterisk (*)

as wildcard character: 16. User Customization

pathname separators: 16.2. Using the Option Database

(12)

atom method: 13.12. Atom Methods

atomname method: 13.12. Atom Methods

atoms: 13.12. Atom Methods

attach method: 23.5. The Balloon Widget

attachments: 2.4.2. Attachments

Audio::Play::MPG123 program: 15.4.3. An MPG Player—tkmpg123

authentication

IP address example: 19.1.2. The Media Change Server, mediachanged

Tcl and Perl considerations: 20.1. Security and Inter-Language Considerations

xauth: 20.1. Security and Inter-Language Considerations 20.1. Security and Inter-Language Considerations

xhost: 20.1. Security and Inter-Language Considerations

autosetmode method: 18.4.3. The Tree Widget 18.4.4. Tree Methods

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

R | S | T | U | V | W | X | Y | Z

(13)

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

(14)

Index: B

-background option

Button widgets and: 4.3. Table of Options for Button-Type Widgets

Canvas widgets and: 9.5.3. Canvas Widget Option List

color options and: 4.15. Color Options

ConfigSpecs method and: 14.3.6.1. ConfigSpecs Examples

createBitmap method and: 9.6.2. The Bitmap Item

Entry widgets and: 5.2.2. Entry Options

Frame and Toplevel widgets: 11.3. Options

Label widgets and: 5.1.2. Label Options

Listbox widgets and: 7.2. Listbox Options 7.4. Colors

Menu widgets and: 12.1.6. Menu Options

Menubutton widgets: 12.4.1. Menubutton Options

Radiobutton widgets and: 4.8. Radiobutton Values

Scale widgets and: 10.1. Creating a Scale

Scrollbars and: 6.2.1. Configuring the Scrollbar(s) Created with Scrolled 6.3.2. Scrollbar Options

6.3.2. Scrollbar Options

syntax: 4.15. Color Options

Text widgets and: 8.2. Text Widget Options 8.5.1. Tag Options

Tix widgets and: 18.2. Item Styles

Tk::CmdLine::SetArguments and: 16.1. Using the Command Line

-backwards option: 8.16. Marks

-balloonmsg option: 23.5. The Balloon Widget

-balloonposition option: 23.5. The Balloon Widget

-before option

add method and: 18.4.2. HList Methods

packing order and: 2.1.1. Options for pack

widget order and: 2.1.7. Widget Order in the Window

-bgstipple option: 8.5.1. Tag Options

-bigincrement option: 10.9. Options You'll Probably Never Need 10.9. Options You'll Probably Never Need

-bitmap option

(15)

Button widgets and: 4.3. Table of Options for Button-Type Widgets 4.5. Displaying an Image or Bitmap

createBitmap method and: 9.6.2. The Bitmap Item 9.6.2. The Bitmap Item

Dialog widgets and: 23.3.1. The Dialog Widget

iconbitmap method and: 11.3. Options

images and: 17.3. Bitmap Primitives 17.3. Bitmap Primitives

Label widgets and: 5.1.2. Label Options

Menubutton widgets: 12.4.1. Menubutton Options

-blocks option: 23.10.1. ProgressBar Options

-bordermode option: 2.1.1. Options for pack 2.3.1. place Options

-borderwidth option

Button widgets and: 4.3. Table of Options for Button-Type Widgets

Canvas widgets and: 9.5.3. Canvas Widget Option List

edge thickness: 4.12. Altering the Button's Style 4.12. Altering the Button's Style

Entry widgets and: 5.2.2. Entry Options

Frame and Toplevel widgets: 11.3. Options

Frame widgets and: 11.3.3. Viewing a Frame

headerCreate method: 18.4.2. HList Methods

Label widgets and: 5.1.2. Label Options

Listbox widgets and: 7.2. Listbox Options 7.5. Listbox Style

Menu widgets and: 12.1.6. Menu Options

Menubutton widgets: 12.4.1. Menubutton Options

Scale widgets and: 10.1. Creating a Scale

Scrollbars and: 6.3.2. Scrollbar Options 6.3.4. Scrollbar Style

6.3.4. Scrollbar Style

Text widgets and: 8.2. Text Widget Options 8.2. Text Widget Options

8.5.1. Tag Options

-bottom option: 2.4.1. Options for form 2.4.2.2. Widget-to-widget attachments

-bottomspring option: 2.4.1. Options for form

-browsecmd option

(16)

callbacks and: 15.1. Creating a Callback

HList widgets and: 18.4.1. Using Indicators with HList

TList widgets and: 18.3. The TList Widget

-buttons option

Dialog widgets and: 23.3.1. The Dialog Widget

DialogBox widgets and: 23.3.3. The DialogBox Widget

backslash ()

using with @: 4.5. Displaying an Image or Bitmap

Win32 separator: 16.2. Using the Option Database 16.2. Using the Option Database

backup procedures: 19.1. Handling Unsolicited Media Changes

Balloon widget: 23.5. The Balloon Widget

bang, exclamation point as: 1.3.1. Do You Need To Install Anything?

Barr, Graham: 14.6. Packaging a Mega-Widget for Public Distribution

base indexes: 8.4.1. Base Index Values

Base64 MIME encoding: 17.7. The Photo Image Type 22.1.3. lwp-request and fileevent Rule

bbox method

Canvas widgets and: 9.3. The Scrollable Region 9.10. Retrieving Bounding Box Coordinates

syntax: 7.15. Bounding Box

8.12. Getting the Size of a Character

Tk::NavListbox and: 14.5.1. Tk::NavListbox

Beattie, Malcolm: 1.2.2. The Coming of Tcl/Tk

bell method: 13.13. Ringing a Bell

belowThis argument: 13.19. Widget Mapping and Layering

binary data

image formats and: 17.1. An Overview of Perl/Tk Image Types

Photo images as: 17.7. The Photo Image Type

bind method

Button widgets and: 15.2. Binding to Events

Canvas widgets and: 9.4. Using bind with a Canvas 15.2.6. Canvas Bindings

example: 5.1.2. Label Options 13.16.1.3. Menu Traversal

instance bindings and: 15.2.4. Widget Instance Bindings

Listbox scrolling and: 7.17. Scrolling Methods

purpose: 8.5.6. Using bind with Tags

(17)

bindDump module

as debugging tool: 15.3.2. bindDump—Dump Lots of Binding Information

bindings and: 13.16.1.2. Default widget bindings

sample output: 15.7.1. Tk::Splashscreen

binding

15.2.4. Widget Instance Bindings

(see also instance bindings)

-selectmode option and: 7.2. Listbox Options

browse mode and: 7.3. Selection Modes

different defaults for widgets: 13.16.1.2. Default widget bindings

events: 15.2. Binding to Events

IPADM example: 19.3.1. Creating the Hypertext User Interface

MouseWheel event: 15.2.5. Binding to a MouseWheel Event

pattern matching and: 16.2. Using the Option Database

purpose: 1.1. Perl/Tk Concepts

tags and: 8.5.6. Using bind with Tags 9.5.3. Canvas Widget Option List

Tk::NavListbox and: 14.5.1. Tk::NavListbox

virtual events to class methods: 13.14. Clipboard and Selection Methods

bindtag command: 15.3. The bindtags Command

bisque method: 13.4.6. Predefined Color Scheme

Bitmap command: 17.5. The Bitmap Image Type

Bitmap image type

features: 17.5. The Bitmap Image Type

supported by Perl/Tk: 17.1. An Overview of Perl/Tk Image Types

Bitmap method: 4.5. Displaying an Image or Bitmap

bitmaps

@ and: 4.5. Displaying an Image or Bitmap

-foreground and -background options: 4.15. Color Options

at signs in files: 9.6.2. The Bitmap Item

Canvas widgets and: 9.6.2. The Bitmap Item

displaying: 4.5. Displaying an Image or Bitmap

features: 17.3. Bitmap Primitives

iconifying applications and: 11.3. Options

options for: 9.6.2. The Bitmap Item

tricks with empty: 17.5.1. Cool Tricks with an Empty Bitmap

using -width and -height with: 4.13. Changing the Size of a Button

widgets instead of: 11.3. Options

(18)

blank method: 17.7. The Photo Image Type

BMP format

Photo format handlers and: 17.7. The Photo Image Type

Win32 bitmaps: 17.1. An Overview of Perl/Tk Image Types

Bohnet, Achim: 14.6. Packaging a Mega-Widget for Public Distribution

bounding box

bbox method and: 7.15. Bounding Box 9.3. The Scrollable Region

characteristics of: 8.12. Getting the Size of a Character

retrieving coordinates: 9.10. Retrieving Bounding Box Coordinates

braces {} as string delimiter: 1.3.3. Specifying Options

brackets []

in Tcl: 20.2.2. Tcl/Tk Slave Processor Code

insert method and: 8.6. Inserting Text

Tk::Pretty and: 13.1.1. The configure Method

Brigleb, Ray: 3.2. Dissecting a Font

browse mode: 7.3. Selection Modes

BrowseEntry widget: 23.6. The BrowseEntry Widget

buffers

-padx option and: 2.1.1. Options for pack

-pady option and: 2.2.2. grid Options

Busy method: 13.18. Marking a Widget Busy and Unbusy

Button event: 15.2.1.2. Event descriptor types

Button widget

altering style for: 4.12. Altering the Button's Style

changing size of: 4.13. Changing the Size of a Button

characteristics of: 4. Button, Checkbutton, and Radiobutton Widgets

configuring: 4.20. Configuring a Button

creating: 4.1. Creating Button Widgets

disabling: 4.10. Disabling a Button

naming conventions for: 1.5.2. Naming Conventions for Widget Types

options for: 4.2. Standard Options for Each Button Type 4.3. Table of Options for Button-Type Widgets

placement order of: 2.1.3. Allocation Rectangles

types available: 4. Button, Checkbutton, and Radiobutton Widgets

ButtonPress event

Busy method and: 13.18. Marking a Widget Busy and Unbusy

description of: 15.2.1.2. Event descriptor types

(19)

Busy method and: 13.18. Marking a Widget Busy and Unbusy

description of: 15.2.1.2. Event descriptor types

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

R | S | T | U | V | W | X | Y | Z

(20)

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

(21)

Index: C

-capstyle option: 9.6.4. The Line Item

-char option: 18.4.2. HList Methods

-choices option: 23.6. The BrowseEntry Widget

-class option

as command-line option: 16.1.4. Option Database Lookups

example: 16.2. Using the Option Database 21.1.3.3. Tk::Square instance constructor

Frame and Toplevel widgets: 11.3. Options 11.3.7. The Magical Class Option

Tk::CmdLine::SetArguments and: 16.1. Using the Command Line

-closecmd option: 18.4.3. The Tree Widget

-closeenough option

Canvas widgets and: 9.5.3. Canvas Widget Option List

default value for: 9.5. Canvas Options

-colormap option

considerations using: 11.3. Options

Frame and Toplevel widgets: 11.3. Options

postscript method and: 9.18. Rendering the Canvas as PostScript

-colormode option: 9.18. Rendering the Canvas as PostScript

-colors option

ProgressBar widgets and: 23.10.1. ProgressBar Options

Tk::CanvasPlot widgets and: 14.5.2. Tk::CanvasPlot

-column option

grid method and: 2.1.1. Options for pack 2.2. The grid Geometry Manager 2.2.2. grid Options

gridSlaves method and: 2.2.13. gridSlaves

syntax: 2.2.3. Specifying Rows and Columns Explicitly

-columnbreak option: 12.6.2. A Native Option Menu

-columns option: 18.4.1. Using Indicators with HList 18.4.1. Using Indicators with HList

-columnspan option

grid method and: 2.2.2. grid Options

spanning columns with: 2.2.4. Spanning Rows and Columns Explicitly

(22)

Button widgets and: 4.2. Standard Options for Each Button Type 4.3. Table of Options for Button-Type Widgets

4.9. The -command Option

callbacks and: 6.3.7. Assigning a Callback 8.5.6. Using bind with Tags

10.2. Assigning a Callback 15.1. Creating a Callback

Optionmenus and: 12.6.1. Tk::Optionmenu

Scale widgets and: 10.1. Creating a Scale

Scrollbars and: 6.3.2. Scrollbar Options

SelectionOwn method and: 13.14.2.5. Setting the owner

Thermometer example: 14.4.1. Tk::Thermometer

-confine option: 9.5. Canvas Options 9.5.3. Canvas Widget Option List

-container option: 11.3. Options

-count option: 8.16. Marks

-createcmd option: 23.8.1. Creating Pages

-cursor option

Busy method and: 13.18. Marking a Widget Busy and Unbusy

Button widgets and: 4.3. Table of Options for Button-Type Widgets

Canvas widgets and: 9.5.3. Canvas Widget Option List

Entry widgets and: 5.2.2. Entry Options

Frame and Toplevel widgets: 11.3. Options

images and: 17.3. Bitmap Primitives

Label widgets and: 5.1.2. Label Options

Listbox widgets and: 7.2. Listbox Options

Menu widgets and: 12.1.6. Menu Options

Menubutton widgets: 12.4.1. Menubutton Options

Scale widgets and: 10.1. Creating a Scale

Scrollbars and: 6.3.2. Scrollbar Options

syntax: 23.2. Manipulating the Cursor

Text widgets and: 8.2. Text Widget Options

XBM filename and: 23.2.1. Creating Your Own Custom Cursor Shape

C programming

plug-ins API: 22.2. The PerlPlus Browser Plug-in

text files and: 17.1. An Overview of Perl/Tk Image Types

widget internals: 21. C Widget Internals

C widget: 21.1.3. Layout of a Typical C Widget

(23)

proper use for callbacks: 15.2.3. Widget Class Bindings

syntax: 14.3.8.2. Subroutine Callback

CALLBACK value: 14.3.6. Subroutine ConfigSpecs

callbacks (see <-seealso>-also--xscrollcommand-option">-xscrollcommand option also -xscrollcommand option)

8.2. Text Widget Options

(see also -xscrollcommand option) assigning: 6.3.7. Assigning a Callback

10.2. Assigning a Callback 13.14.2.3. Assigning a callback

bind method and: 8.5.6. Using bind with Tags

Button widgets and: 4.1. Creating Button Widgets

creating: 15.1. Creating a Callback

defined: 1.1. Perl/Tk Concepts 15. Anatomy of the MainLoop

Entry widget validation and: 5.1.2. Label Options

fileevent method and: 13.21.1. File Events

function of: 4.9. The -command Option

MainLoop statement and: 15. Anatomy of the MainLoop

as method names: 15.2.4. Widget Instance Bindings

option menus and: 12.6. Option Menus

Scrollbars and: 6.3.2. Scrollbar Options

shift command and: 8.5.6. Using bind with Tags

window properties and: 11.3. Options

canvas groups: 14.5.2. Tk::CanvasPlot

Canvas widget (see <-seealso>-also-Tk--CanvasPlot-widget">TkCanvasPlot widget also TkCanvasPlot widget)

(see also TkCanvasPlot widget)

-fill option and: 2.1.4. Filling the Allocation Rectangle

bind method with: 15.2.6. Canvas Bindings

features: 9. The Canvas Widget

filling transparent: 17.5.1.2. Filling a transparent Canvas item

hidden: 17.10. tkneko—Animating the Neko on a Canvas

scrollbars and: 6.1. Defining Scrollbar Parts

Scrollbars example: 6.4.2. Listbox, Text, and Canvas Widgets

CanvasBind method

Canvas widgets and: 15.2.6. Canvas Bindings

syntax: 9.4. Using bind with a Canvas

(24)

canvasx method: 9.11. Translating Coordinates

canvasy method: 9.11. Translating Coordinates

caret (^)

grid method and: 2.2.1. Special Characters 2.2.2. grid Options

marks as: 8.16. Marks

operator used with tags: 9.9. Tags

cascade menu item: 12.1.1. Menus and Menu Items 12.1.5. Menubars

cascade menubuttons: 12.2.1. Menubars the Clunky, Casual, Old-Fashioned Way

catch subroutine: 23.1.3. Optionally Exported Symbols

cells

determining size: 2.1.1. Options for pack

empty: 2.2.1.2. Empty cells

forcing widgets to fill: 2.2.5. Forcing a Widget to Fill a Cell

minimum size with -minsize option: 2.2.8.2. Minimum cell size

resizing: 2.2.8. Configuring Columns and Rows

cells method: 13.4.2. Cell Count

cget method

C widget example: 21.1.3.4. Tk::Square method processors

Canvas widgets and: 9.7. Configuring the Canvas Widget

configuring and: 4.20. Configuring a Button

configuring Listboxes with: 7.6. Configuring a Listbox

Entry widgets: 5.1.2. Label Options

Frame widgets and: 11.3. Options

ItemStyle method and: 18.2.1. Item Style Methods

Label widgets and: 5.1.2. Label Options

Menu widgets and: 12.1.3. Manipulating Menus

Scale widgets and: 10.10. Configuring a Scale

Scrollbar configuration with: 6.3.9. Scrollbar Configuration

syntax: 13.1.2. The cget Method

17.2. Methods Common to All Image Types

characters

deleting: 9.6.8.2. Deleting characters

getting sizes: 8.12. Getting the Size of a Character

index values and: 8.16. Marks

wildcard: 16. User Customization

chdir method: 18.4.6. Adding a Directory

(25)

Checkbutton widget

-bitmap option and: 4.5.1. Images with Checkbuttons and Radiobuttons

-offvalue option and: 4.7. On and Off Values for a Checkbutton

-onvalue option and: 4.7. On and Off Values for a Checkbutton

-variable option and: 4.6. Checkbutton and Radiobutton Indicator Status

characteristics of: 4. Button, Checkbutton, and Radiobutton Widgets

example: 4. Button, Checkbutton, and Radiobutton Widgets

indicator colors and: 4.16. Indicator Colors

Listboxes as substitutes for: 7. The Listbox Widget

standard options for: 4.2. Standard Options for Each Button Type

table of options for: 4.3. Table of Options for Button-Type Widgets

turning off/on: 4.23. Turning a Checkbutton/Radiobutton On and Off

variables and: 4.9. The -command Option

check_my_lock method: 19.5.3. Locking an SDB File

child widgets: 1.3.2. Creating Widgets 1.3.2. Creating Widgets

1.3.3. Specifying Options 13.2.1. Widget's Children

children method: 13.2.1. Widget's Children

CHILDREN value: 14.3.6. Subroutine ConfigSpecs

chooseColor Dialog: 23.3.5. chooseColor Dialog

circles: 9. The Canvas Widget 9.9. Tags

circular references: 2.4.4.5. Circular dependency check

Circulate event: 15.2.1.2. Event descriptor types

class bindings

characteristics of: 15.2.3. Widget Class Bindings

overriding: 15.3.1. How Might We Use bindtags?

class hierarchy: 14.2. The Perl/Tk Class Hierarchy

class method: 13.2.6. The Widget's class

classes: 1.1. Perl/Tk Concepts 13.11.5. Color Type

15.3.1. How Might We Use bindtags?

classical menubars: 12.4. Classical Menubars

ClassInit method: 14.1. A Mega-Widget Quick-Start

14.3.1. Tk::Widget::new, the Real Perl/Tk Widget Constructor

client method: 11.3. Options

ClientData parameter: 21.1.3.3. Tk::Square instance constructor

(26)

13.14.3. Exporting the Selection to the Outside World

clipboardAppend method: 13.14.1. Clipboard Methods

clipboardClear method: 13.14.1. Clipboard Methods

clipboardColumnCopy method: 8.5.6.1. The Perl/Tk Text widget extended bindings

8.16.1. Setting and Getting the Gravity

clipboardColumnCut method: 8.5.6.1. The Perl/Tk Text widget extended bindings

8.16.1. Setting and Getting the Gravity

clipboardColumnPaste method: 8.5.6.1. The Perl/Tk Text widget extended bindings

8.16.1. Setting and Getting the Gravity

clone method: 12.1.3. Manipulating Menus

close method: 18.4.4. Tree Methods

closures, lexical variables and: 15.1.1. Callbacks and Closures

CmdLine method: 13.23. Parsing Command-Line Options

colon (:) as separator: 16. User Customization

color palettes: 17.7.1. Creating a Color Palette with the put Method

ColorMap event: 15.2.1.2. Event descriptor types

colormapfull method: 13.4.1. Is the Colormap Full?

colormaps

cell count in: 13.11.3. Cell Count

complications with: 11.3.6. Colormap Complications

number of cells in: 13.4.2. Cell Count

private: 11.3. Options

colormapwindows method: 11.3. Options

colors

changing in applications: 16.1.1. Colors, Fonts, and Titles

common to Perl/Tk: 23.1.3. Optionally Exported Symbols

highlight rectangle: 4.19. Altering the Highlight Rectangle

indicator: 4.16. Indicator Colors

Listboxes: 7.2. Listbox Options 7.4. Colors

methods related to: 13.4. Color-Related Methods

options: 4.15. Color Options

predefined schemes: 13.4.6. Predefined Color Scheme

Radiobutton widgets and background: 4.8. Radiobutton Values

Scrollbars and: 6.3.3. Scrollbar Colors

(27)

types of: 13.11.5. Color Type

:colors tags: 23.1.4. Exporter Tags

columns

configuring: 2.2.8. Configuring Columns and Rows

spanning: 2.2.1.1. Spanning columns 2.2.2. grid Options

2.2.4. Spanning Rows and Columns Explicitly

columnWidth method: 18.4.2. HList Methods

comma (,)

-sticky option and: 2.2.5. Forcing a Widget to Fill a Cell

=> equivalent: 1.3.3. Specifying Options

Tk::Pretty and: 13.1.1. The configure Method

command-line options

@ARGV and: 16. User Customization

customizing and: 16. User Customization

parsing: 13.23. Parsing Command-Line Options

using: 16.1. Using the Command Line

command menu item: 12.1.1. Menus and Menu Items

command method: 11.3. Options

commands

nonblocking wait activities: 15.6. Nonblocking Wait Activities

system: 15.4. Executing Nonblocking System Commands

communication

between applications: 13.2.1. Widget's Children

between processes: 19. Interprocess Communicationwith Pipes and Sockets

send command: 20. IPC with send

unsolicited media changes: 19.1. Handling Unsolicited Media Changes

compare method: 8.10. Comparing Index Values

COMPLETE key: 22.1.5.3. Win32::Process and shared memory

Component method: 14.3.8.3. Subroutine Component

Composite widget: 6.2.1. Configuring the Scrollbar(s) Created with Scrolled 14. Creating Custom Widgets in Pure Perl/Tk

compound image type: 17.8. The Compound Image Type

ConfigSpecs method

function of: 14.3.6. Subroutine ConfigSpecs

SUPER::Populate and: 14.3.5. Subroutine Populate

Thermometer example: 14.4.1. Tk::Thermometer

(28)

configuration files: 19.2. IPADM Design Considerations

19.5.4. Updating the DHCP and DNS Configuration Files

Configure event: 15.2.1.2. Event descriptor types

configure method

-colormap and -visual options and: 11.3.6. Colormap Complications

-screen option and: 11.3. Options

Button widgets and: 4.4. Displaying Text on Buttons

C widget example: 21.1.3.4. Tk::Square method processors

Canvas widgets and: 9.7. Configuring the Canvas Widget

configuring Listboxes with: 7.6. Configuring a Listbox

configuring widgets: 6.2.1. Configuring the Scrollbar(s) Created with Scrolled

entry widget: 5.1.2. Label Options

features: 13.1.1. The configure Method

Frame widgets and: 11.3. Options

function of: 4.20. Configuring a Button

ItemStyle method and: 18.2.1. Item Style Methods

Label widgets and: 5.1.2. Label Options

Menu widgets and: 12.1.3. Manipulating Menus

Scale widgets and: 10.10. Configuring a Scale

Scrollbar configuration with: 6.3.9. Scrollbar Configuration

syntax: 17.2. Methods Common to All Image Types

widgets and: 4.20. Configuring a Button

configuring

columns and rows: 2.2.8. Configuring Columns and Rows

command-line options and: 16.1. Using the Command Line

tags: 8.5.4. Configuring and Creating Tags

ConfirmDiscard method: 8.16.1. Setting and Getting the Gravity

ConfirmEmptyDocument method: 8.16.1. Setting and Getting the Gravity

ConfirmExit method: 8.16.1. Setting and Getting the Gravity

Construct widget: 21.2.3. Square.pm

constructors: 1.1. Perl/Tk Concepts

14.3.1. Tk::Widget::new, the Real Perl/Tk Widget Constructor

containers

attachments and: 2.4.2. Attachments

characteristics of: 5.1.6. Container Frames

form method and: 2.4. The form Geometry Manager

Frame widgets as: 1.3.4. Toplevel, MainWindow, and Frame Widgets

(29)

removing widgets from: 2.4.4.2. Removing a widget from a container

containing method: 13.10.1. Position Relative to the Root Window

CONTENT key: 22.1.5.3. Win32::Process and shared memory

Conway, Damian: 14.1. A Mega-Widget Quick-Start

coordinate system, Canvas widgets: 9.2. The Canvas Coordinate System

coordinates

absolute: 2.3.2. Absolute Coordinates

determining: 10.13. Determining Coordinates

finding with nearest method: 7.16. Finding an Index by y Coordinate

locating in trough: 6.3.2. Scrollbar Options

relative: 2.3.3. Relative Coordinates

relative to desktop: 13.10.5. Cursor Coordinates Relative to the Desktop

translating: 9.11. Translating Coordinates

virtual desktops: 13.10.4. Virtual Desktop Coordinates

coords method: 9.12. Moving Items Around 10.13. Determining Coordinates

copy method: 17.7.4. Tk::Thumbnail

Copy virtual events: 13.14. Clipboard and Selection Methods

CPAN (Comprehensive Perl Archive Network)

image formats on: 17.1. An Overview of Perl/Tk Image Types

packaging for: 14.6.1. Packaging for CPAN

registering as developer: 14.6. Packaging a Mega-Widget for Public Distribution

Tie::Watch module: 15.5. Tracing Perl/Tk Variables

version information: 14.1. A Mega-Widget Quick-Start

web site: 14.1. A Mega-Widget Quick-Start

CPAN ID Link: 14.6. Packaging a Mega-Widget for Public Distribution

cperl-mode.el, for Emacs users: 1.5.1. Programming Style

createArc method: 9.5.3. Canvas Widget Option List

CreateArgs method: 14.3.1. Tk::Widget::new, the Real Perl/Tk Widget Constructor

14.3.3. Subroutine CreateArgs

createBitmap method: 9.6.2. The Bitmap Item

CreateFileSelect method: 8.16.1. Setting and Getting the Gravity

createGrid method: 9.6.10. The Grid Item

createGroup method: 9.6.11. The Group Item

createImage method: 9.5.3. Canvas Widget Option List

(30)

createOval method: 9.6.5. The Oval Item

createPiePlot method: 14.5.2. Tk::CanvasPlot 14.5.2. Tk::CanvasPlot

14.5.2. Tk::CanvasPlot 14.5.2. Tk::CanvasPlot

createPlotAxis method: 14.5.2. Tk::CanvasPlot

createPolygon method: 9.5.3. Canvas Widget Option List 9.6.6. The Polygon Item

createRectangle method: 9.6.7. The Rectangle Item

createText method: 9.5.3. Canvas Widget Option List

createWindow method: 9.6.9. The Widget Item

"current" mark: 8.16. Marks

"current" tag: 9.5.3. Canvas Widget Option List

curselection method: 7.1. Creating and Filling a Listbox 7.2. Listbox Options

cursor specification: 23.2.1. Creating Your Own Custom Cursor Shape

cursors

bitmaps as: 17.3. Bitmap Primitives

coordinates relative to desktop: 13.10.5. Cursor Coordinates Relative to the Desktop

invisible: 17.5.1.1. An invisible cursor

linear menus and: 12.8. Pie Menus

manipulating: 23.2. Manipulating the Cursor

positioning: 9.6.8.3. Positioning the cursor

Cut virtual event: 13.14. Clipboard and Selection Methods

CVS command: 22.2.3. How You Can Contribute to the PerlPlus Plug-in Project Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

R | S | T | U | V | W | X | Y | Z

(31)

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

(32)

Index: D

-d option: 1.6. Debugging and PrototypingPerl/Tk Programs

-dash option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-dashoffset option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-data option

add method and: 18.4.2. HList Methods

Photo image type and: 17.7. The Photo Image Type

Pixmap constructor and: 17.6. The Pixmap Image Type

syntax: 17.7.3. Capturing a Window with Tk::WinPhoto

Text widgets and: 8.5.1. Tag Options

Tk::CanvasPlot widgets and: 14.5.2. Tk::CanvasPlot

TList widgets and: 18.3.1. TList Indexes and Methods

-dbl option: 21.1.3.2. Tk::Square configuration specifications

-default option: 23.3.1. The Dialog Widget

-default_button option: 23.3.3. The DialogBox Widget

-defaultextension option: 23.3.6. getOpenFile and getSaveFile Dialogs

-descent option: 3.5. Font Manipulation Methods

-digits option: 10.1. Creating a Scale

10.9. Options You'll Probably Never Need

-dircmd option: 18.4.5. The DirTree Widget

-direction option: 12.4.1. Menubutton Options 12.6.2. A Native Option Menu

-directory option: 18.4.5. The DirTree Widget

-disabledbackground option

disabling Buttons: 4.10. Disabling a Button

Tix widgets and: 18.2. Item Styles

-disableddash option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-disabledfill option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-disabledforeground option

Buttons and: 4.3. Table of Options for Button-Type Widgets 4.10. Disabling a Button

color options and: 4.15. Color Options

Menu widgets and: 12.1.6. Menu Options

Menubutton widgets: 12.4.1. Menubutton Options

mouse cursor and: 4.15. Color Options

(33)

-disabledoutline option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-disabledoutlinestipple option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-disabledoutlinetile option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-disabledstipple option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-disabledtile option: 17.11. Tile and Transparent Images

-disabledwidth option: 9.5.1. Common Canvas Dash, Stipple, and Tile Options

-display option: 16.1. Using the Command Line 16.1.3. Choosing a Display

-drawbranch option: 18.4.1. Using Indicators with HList

daemon (IPADM): 19.5. The IPADM Daemon, ipadmd

dash ) (see hyphen (-)

data method: 17.7. The Photo Image Type

Data::Dumper: 13.1.1. The configure Method

dchars method: 9.6.8.2. Deleting characters

Deactivate event: 15.2.1.2. Event descriptor types

debug function: 8.18. Internal Debug Flag

debugging

-synchronous option and: 16.1.5. Synchronizing Window Messages

bindDump subroutine and: 15.3.2. bindDump—Dump Lots of Binding Information

bindtags as: 15.3.2. bindDump—Dump Lots of Binding Information

callback example: 15.1. Creating a Callback

O command and: 1.6. Debugging and PrototypingPerl/Tk Programs

Perl/Tk programs: 1.6. Debugging and PrototypingPerl/Tk Programs

DefineBitmap method: 17.3. Bitmap Primitives 17.4. DefineBitmap

deiconify method: 11.2. Creating a Toplevel Widget 11.3. Options

Delegates method: 14.3.7. Subroutine Delegates

delete method

BrowseEntry widgets and: 23.6. The BrowseEntry Widget

entry widget: 5.1.2. Label Options

HList widgets and: 18.4.2. HList Methods

ItemStyle method and: 18.2.1. Item Style Methods

(34)

12.1.4. Manipulating Menu Items

17.2. Methods Common to All Image Types 17.2. Methods Common to All Image Types

deleteSelected method: 8.16.1. Setting and Getting the Gravity

deleteStringAtStartOfSelectedLines method: 8.16.1. Setting and Getting the Gravity

DeleteTextTaggedWith method: 8.16.1. Setting and Getting the Gravity

deleteToEndofLine method: 8.16.1. Setting and Getting the Gravity

deleting

characters: 9.6.8.2. Deleting characters

items from Canvas widgets: 9.14. Deleting Items

marks: 8.2. Text Widget Options

tags: 9.5.3. Canvas Widget Option List

text: 5.1.2. Label Options 8.7. Deleting Text

delta method: 6.3.13. Calculating Change from Pixels

demo programs: 2.1.11. Demo Programs for pack 4.15. Color Options

depth method: 13.4.3. Color Depth

derived widgets: 14. Creating Custom Widgets in Pure Perl/Tk 14.5. Derived Mega-Widgets

Descendants method: 14.3.8.4. Subroutine Descendants

DESCENDANTS value: 14.3.6. Subroutine ConfigSpecs 14.4.1. Tk::Thermometer

deselect method: 4.23. Turning a Checkbutton/Radiobutton On and Off

desktop, cursor coordinates relative to: 13.10.5. Cursor Coordinates Relative to the Desktop

Destroy event type: 15.2.1.2. Event descriptor types 15.6. Nonblocking Wait Activities

destroy method

syntax: 13.15. Destroying a Widget

17.2. Methods Common to All Image Types

Tie::Watch and: 15.5.1. Tie::Watch

versus exit: 1.4.1. exit Versus destroy

Devel::ptkdb module: 1.6. Debugging and PrototypingPerl/Tk Programs

DHCP (Dynamic Host Configuration Protocol): 19.2. IPADM Design Considerations

19.5.4. Updating the DHCP and DNS Configuration Files

(35)

Dialog widget: 12.5.2. The Popup Method 23.3.1. The Dialog Widget

DialogBox widget: 12.5.2. The Popup Method 23.3.3. The DialogBox Widget

DirTree widget: 18. A Tk Interface Extension Tour 18.4.5. The DirTree Widget

DISABLED color: 23.1.3. Optionally Exported Symbols

Disarm event: 18.4.1. Using Indicators with HList

display items: 18.1. Display Items

display list: 9.5.3. Canvas Widget Option List

display notification: 11.3. Options

distribution

packaging for CPAN: 14.6.1. Packaging for CPAN

packaging for PPM: 14.6.2. Packaging for PPM

Perl/Tk: 21.1.2. Overview of the Perl/Tk Distribution

distribution directory: 14.6. Packaging a Mega-Widget for Public Distribution

dlineinfo method: 8.13. Getting Line Information

.dll (file extension): 21.2.2. Square.xs

DNS (Domain Name System): 19.2. IPADM Design Considerations 19.5.4. Updating the DHCP and DNS Configuration Files

do_command, message handling and: 19.3.4. fileevent Keeps ipadm Happy

dollar sign ($)

$| as special variable: 1.6. Debugging and PrototypingPerl/Tk Programs

in Tcl: 20.2.2. Tcl/Tk Slave Processor Code

$^O as operating system identifier: 12.3. The Win32 System Menu Item

DONT_WAIT: 15. Anatomy of the MainLoop 15.9. Coexisting with Other GUI Main Loops 23.1.3. Optionally Exported Symbols

DoOneEvent subroutine

bit patterns for: 23.1.3. Optionally Exported Symbols

coexisting with main loops: 15.9. Coexisting with Other GUI Main Loops

event types and: 15. Anatomy of the MainLoop

example: 15. Anatomy of the MainLoop

Exporter symbols and: 23.1.2. Symbols Exported by Default

dot ) (see period (.)

drawing programs: 9.5.3. Canvas Widget Option List

(36)

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

R | S | T | U | V | W | X | Y | Z

(37)

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

(38)

Index: E

-echo option: 16.2.2. Manipulating Resources with Tk::CmdLine Subroutines

-elementborderwidth option: 6.3.2. Scrollbar Options 6.3.4. Scrollbar Style

-elements option: 14.5.3. Tk::LCD

-elide option: 8.5.1. Tag Options

-exact option: 8.16. Marks

-expand option

allocation rectangle: 2.1.1. Options for pack

anchoring and: 2.1.1. Options for pack

2.1.6. Anchoring a Widget in Its Allocation Rectangle

pack method and: 8.2.2. Widget Size

syntax: 2.1.5. Expanding the Allocation Rectangle

-exportselection option

Entry widgets and: 5.2.2. Entry Options 5.2.6. Text Selection Options

Listbox modes and: 7.3.1. Operating System Differences

Listbox widgets and: 7.2. Listbox Options

Text widgets and: 8.2. Text Widget Options

-extent option: 9.6.1. The Arc Item

Emacs users, cperl-mode.el and: 1.5.1. Programming Style

embedding

applications: 11.3. Options

OpenGL in Perl/Tk window: 15.9.1. Embedding OpenGL in a Perl/Tk Window

Perl/Tk in other windows: 22.2.1. Embedding Perl/Tk in Other Windows

Tk window with id method: 13.3. Widget's ID

widgets: 8.17. Embedding Widgets 9.6.9. The Widget Item

empty cells: 2.2.1.2. Empty cells

EmptyDocument method: 8.16.1. Setting and Getting the Gravity

end keyword: 12.1.2. Menu Indexes

__END__ statement: 21.2.3. Square.pm

Enter event: 15.2.1.2. Event descriptor types

Entry widget

(39)

calling focus: 13.16. Focus Methods

configuring: 5.2.11. Configuring an Entry Widget

deleting text: 5.1.2. Label Options

features: 5.1.2. Label Options

Listbox scrolling example: 7.19. Listbox Example

Scrollbars and: 6.1. Defining Scrollbar Parts 6.4.1. Entry Widget

validation and: 5.1.2. Label Options

entrycget method: 12.1.4. Manipulating Menu Items

entryconfigure method: 12.1.4. Manipulating Menu Items

error handling: 23.3.6. getOpenFile and getSaveFile Dialogs

ErrorDialog: 23.3.4. Using ErrorDialog

Ev method: 15.1. Creating a Callback

15.2.5. Binding to a MouseWheel Event

Ev subroutine: 23.1.2. Symbols Exported by Default

event descriptor: 15.2.1.2. Event descriptor types

event handling: 1.3.6. The Event Loop 21.1.3.6. Tk::Square event handler

event loops

after method and: 13.2.2. Name of a Widget

coexisting: 15.9. Coexisting with Other GUI Main Loops

defined: 15. Anatomy of the MainLoop

purpose: 1.3.6. The Event Loop

event object: 15.2.2. The Event Structure

event structure: 15.2.2. The Event Structure

event subroutine: 23.1.3. Optionally Exported Symbols

event types: 15. Anatomy of the MainLoop 15.2. Binding to Events

15.2.1.2. Event descriptor types

eventDelete method: 15.8. Synthesizing Virtual Events

eventGenerate method: 15.2.1. Event Descriptor Syntax 15.8. Synthesizing Virtual Events

eventInfo method: 15.8. Synthesizing Virtual Events

events

binding to: 15.2. Binding to Events

callbacks and: 1.1. Perl/Tk Concepts

defined: 1.3.6. The Event Loop

waiting for: 13.21. Waiting for Events to Happen

(40)

23.1.4. Exporter Tags

exclamation point (!)

as bang: 1.3.1. Do You Need To Install Anything?

operator used with tags: 9.9. Tags

Exists method: 13.6. Widget Existence

Exists subroutine: 23.1.2. Symbols Exported by Default

exit subroutine: 1.4.1. exit Versus destroy 4.9. The -command Option

23.1.2. Symbols Exported by Default

Exporter module: 15.3.2. bindDump—Dump Lots of Binding Information

Expose event: 15.2.1.2. Event descriptor types

extend_lock method: 19.5.3. Locking an SDB File

extensions: 20.3. TclRobots 21.2.2. Square.xs 21.2.2. Square.xs

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

R | S | T | U | V | W | X | Y | Z

(41)

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

(42)

Index: F

-family option: 3.2. Dissecting a Font

-fgstipple option: 8.5.1. Tag Options

-file option

Photo image type and: 17.7. The Photo Image Type

postscript method and: 9.18. Rendering the Canvas as PostScript

Tk::CmdLine::LoadResources and: 16.2.2. Manipulating Resources with Tk::CmdLine Subroutines

-filetypes option: 23.3.6. getOpenFile and getSaveFile Dialogs

-fill option

allocation rectangle: 2.1.1. Options for pack

createArc method and: 9.6.1. The Arc Item

createLine method and: 9.6.4. The Line Item

createOval method and: 9.6.5. The Oval Item

createPolygon method and: 9.5.3. Canvas Widget Option List

createRectangle method and: 9.6.7. The Rectangle Item

createText method and: 9.6.8. The Text Item

form method syntax: 2.4.1. Options for form

syntax: 2.1.4. Filling the Allocation Rectangle

transparent Canvas items and: 17.5.1.2. Filling a transparent Canvas item

-fixed option: 3.5. Font Manipulation Methods

-font option

anonymous arrays and: 3.3. Using Fonts

Button widgets and: 4.3. Table of Options for Button-Type Widgets

command-line example: 16.1.1. Colors, Fonts, and Titles

createText method and: 9.6.8. The Text Item

Entry widgets and: 5.2.2. Entry Options

Label widgets and: 5.1.2. Label Options

Listbox widgets and: 7.2. Listbox Options

Menu widgets and: 12.1.6. Menu Options

Menubutton widgets: 12.4.1. Menubutton Options

Scale widgets and: 10.1. Creating a Scale

syntax: 3. Fonts

text manipulation and: 4.11. Text Manipulation

(43)

8.2.1. Fonts

Tix widgets and: 18.2. Item Styles

Tk::CanvasPlot widgets and: 14.5.2. Tk::CanvasPlot

Tk::CmdLine::SetArguments and: 16.1. Using the Command Line

-fontmap option: 9.18. Rendering the Canvas as PostScript

-foreground option

Button widgets and: 4.3. Table of Options for Button-Type Widgets

color options and: 4.15. Color Options

command-line example: 16.1.1. Colors, Fonts, and Titles

createBitmap method and: 9.6.2. The Bitmap Item

Entry widgets and: 5.2.2. Entry Options

Label widgets and: 5.1.2. Label Options

Listbox widgets and: 7.2. Listbox Options 7.4. Colors

Menu widgets and: 12.1.6. Menu Options

Menubutton widgets: 12.4.1. Menubutton Options

Scale widgets and: 10.1. Creating a Scale

syntax: 4.15. Color Options

Text widgets and: 8.2. Text Widget Options 8.5.1. Tag Options

Tix widgets and: 18.2. Item Styles

Tk::CmdLine::SetArguments and: 16.1. Using the Command Line

-format option: 17.7. The Photo Image Type

-forwards option: 8.16. Marks

-from option

ConfigSpecs method and: 14.3.6.1. ConfigSpecs Examples

ProgressBar widgets and: 23.10.1. ProgressBar Options

Scale widgets and: 10.1. Creating a Scale 10.4. Minimum and Maximum Values

Thermometer example: 14.4.1. Tk::Thermometer

Fellows, Donald K.: 14.5.3. Tk::LCD

fetch operation: 15.5.1. Tie::Watch

file folder image: 18.5. Tix Images

file service, LWP support for: 22.1. Library for WWW Access in Perl

fileevent method

considerations: 22.1.3. lwp-request and fileevent Rule

example: 15.4. Executing Nonblocking System Commands

IPADM example: 19.3.4. fileevent Keeps ipadm Happy

(44)

syntax: 13.21.1. File Events 15.4.1. fileevent Syntax

Win32 and: 19. Interprocess Communicationwith Pipes and Sockets

FILE_EVENTS: 15. Anatomy of the MainLoop 15.9. Coexisting with Other GUI Main Loops 23.1.3. Optionally Exported Symbols

FileName method: 8.16.1. Setting and Getting the Gravity

files

absolute pathnames of: 13.24. Really Miscellaneous Methods

displaying with Text widget: 8.1. Creating and Using a Text Widget

events for: 13.21.1. File Events

locking: 19.5.3. Locking an SDB File

Perl/Tk distribution: 21.1.2. Overview of the Perl/Tk Distribution

reading with Text widget: 8.1. Creating and Using a Text Widget

required for Perl modules: 14.6.1. Packaging for CPAN

find command: 9.9.2. Finding Tags

FindAll method: 8.16.1. Setting and Getting the Gravity

FindAndReplaceAll method: 8.16.1. Setting and Getting the Gravity

FindAndReplacePopUp method: 8.16.1. Setting and Getting the Gravity

findINC method: 13.24. Really Miscellaneous Methods

FindNext method: 8.16.1. Setting and Getting the Gravity

FindPopUp method: 8.16.1. Setting and Getting the Gravity

FindSelectionNext method: 8.16.1. Setting and Getting the Gravity

FindSelectionPrevious method: 8.16.1. Setting and Getting the Gravity

Fitts' Law: 12.8.1. Fitts' Law

flash method: 4.21. Flashing the Button

focus (see keyboard focus)

focus method: 5.2.14. Moving the Insertion Cursor 9.17. Setting Keyboard Focus

13.16. Focus Methods

focus order: 13.16. Focus Methods

focusCurrent method: 13.16. Focus Methods

focusFollowsMouse method: 13.16. Focus Methods

focusForce method: 13.16. Focus Methods

FocusIn event: 15.2.1.2. Event descriptor types

focusLast method: 13.16. Focus Methods

focusmodel method: 11.3. Options

focusNext method: 13.16. Focus Methods

(45)

focusPrev method: 13.16. Focus Methods

font viewers: 3.1. Experimenting with Fonts

fontActual method: 3.5. Font Manipulation Methods

fontConfigure method: 3.3. Using Fonts 3.5. Font Manipulation Methods

fontCreate method: 3.3. Using Fonts

fontDelete method: 3.5. Font Manipulation Methods

fontFamilies method: 3.1. Experimenting with Fonts 3.5. Font Manipulation Methods

fontMeasure method: 3.5. Font Manipulation Methods

fontMetrics method: 3.5. Font Manipulation Methods

fontNames method: 3.5. Font Manipulation Methods

fonts

available: 3. Fonts

changing: 3. Fonts

3.5. Font Manipulation Methods 8.2.1. Fonts

16.1.1. Colors, Fonts, and Titles

defined font lists: 3.5. Font Manipulation Methods

deleting definition: 3.5. Font Manipulation Methods

dissecting: 3.2. Dissecting a Font

getting attributes: 3.5. Font Manipulation Methods

measuring with fontMetrics method: 3.5. Font Manipulation Methods

Perl/Tk and: 1.1. Perl/Tk Concepts

proportional: 8.2. Text Widget Options

system fonts: 3.3.1. System Fonts

using: 3.3. Using Fonts

3.4. Using Fonts Dynamically

X Logical Font Descriptions: 3.2. Dissecting a Font

fork method: 22.1.5.1. fork and local Win32 sockets 22.1.5.2. fork and LWP::UserAgent

form geometry manager: 1.3.5. Displaying a Widget 2.4. The form Geometry Manager

form method: 2.4.1. Options for form

formCheck method: 2.4.4.5. Circular dependency check

formForget method: 2.4.4.2. Removing a widget from a container

formGrid method: 2.4.4.1. Changing the grid size

formInfo method: 2.4.4.3. Options info for form

(46)

forward slash (/)

as string delimiters: 1.3.3. Specifying Options

Unix pathname separator: 16.2. Using the Option Database

fpixels method: 13.8. Converting Screen Distances

fraction method: 6.3.2. Scrollbar Options

fractional pixels, fpixels method and: 13.8. Converting Screen Distances

Frame widget

absolute coordinates and: 2.3.2. Absolute Coordinates

adding labels: 11.3.4. Adding a Label to a Frame

allocation rectangles and: 2.1.3. Allocation Rectangles

defined: 1.3.4. Toplevel, MainWindow, and Frame Widgets

features: 11. Frame, MainWindow,and Toplevel Widgets 11.3. Options

forcing with -class option: 11.3.7. The Magical Class Option

interactiveness and: 11.3.5. Frames Aren't Interactive

options for: 11.3. Options 11.3. Options

pack method and: 2.1.2. Positioning Widgets

packPropagate method and: 2.1.1. Options for pack

packSlaves method and: 2.1.10.4. Listing widgets

scrollbars and: 6.1. Defining Scrollbar Parts

Toplevel widgets and: 11.3. Options

unpacking from: 2.1.10.1. Unpacking a widget

viewing: 11.3.3. Viewing a Frame

free method: 19.5.3. Locking an SDB File

FTP service, LWP support for: 22.1. Library for WWW Access in Perl

FullScreen method: 13.24. Really Miscellaneous Methods

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

R | S | T | U | V | W | X | Y | Z

(47)

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

(48)

Index: G

-gap option

ProgressBar widgets and: 23.10.1. ProgressBar Options

Tix widgets and: 18.2. Item Styles

-geometry option: 16.1. Using the Command Line 16.1.2. Initial MainWindow Placement

20.2.3. Tcl/Tk Master Processor Code

-gridded option: 23.9.1. Pane Options

geometry managers (see <-seealso>-also-specific-managers">specific managers also specific managers)

(see also specific managers)

arranging widgets with: 1.1. Perl/Tk Concepts

comparisons: 2.5. Geometry Management Summary

finding one used: 13.2.5. Widget's Manager

listed: 1.3.5. Displaying a Widget

managing widgets: 13.19. Widget Mapping and Layering

overview: 1.3.5. Displaying a Widget

geometry method

preferred window size with: 2.1.1. Options for pack

syntax: 13.9.1. Widget's Geometry

Toplevel widgets and: 11.3. Options

geometry strings: 11.3. Options

get function: 8.8. Retrieving Text

get method

current view and: 6.3.11. Getting the Current View

Entry widgets and: 5.2.3. Assigning the Entry's Contents to a Variable 5.2.13. Getting the Contents of an Entry Widget

Listboxes and: 7.1. Creating and Filling a Listbox

password entries and: 5.2.8. Password Entries

Photo image type and: 17.7. The Photo Image Type

retrieving elements: 7.9. Retrieving Elements

syntax: 10.11. Getting the Value of a Scale

get subroutine: 22.1.1. LWP::Simple, the Easiest Way to the Web

Getimage method: 13.24. Really Miscellaneous Methods 17.12. Miscellaneous Image Methods

(49)

getOpenFile Dialog: 23.3.6. getOpenFile and getSaveFile Dialogs

getSaveFile Dialog: 23.3.6. getOpenFile and getSaveFile Dialogs

getSelected method: 8.5.3. Selections in a Text Widget Using the "sel" Tag 8.16.1. Setting and Getting the Gravity

get_subnet_file (IPADM): 19.2. IPADM Design Considerations

get_subnet_list (IPADM): 19.2. IPADM Design Considerations

gettags method: 9.9.3. Getting Tags from a Specific Item

GetTextTaggedWith method: 8.16.1. Setting and Getting the Gravity

GIF (graphic interchange format)

-image option and: 4.5. Displaying an Image or Bitmap 4.5.1. Images with Checkbuttons and Radiobuttons

Photo format handlers and: 17.7. The Photo Image Type

Photo image type and: 17.1. An Overview of Perl/Tk Image Types

GIF89 images, Tk::Animation widgets and: 17.9. Tk::Animation

global variables: 12.2.2. Menubars the Slick, Sophisticated, New-Fashioned Way 23.1.1. Global Variables

glpOpenWindow command: 15.9.1. Embedding OpenGL in a Perl/Tk Window

glue files: 21.1.2. Overview of the Perl/Tk Distribution

gopher service, LWP support for: 22.1. Library for WWW Access in Perl

GotoLineNumber method: 8.16.1. Setting and Getting the Gravity

GotoLineNumberPopUp method: 8.16.1. Setting and Getting the Gravity

grab method: 13.17. Grab Methods 13.17. Grab Methods

grabCurrent method: 13.17. Grab Methods

grabGlobal method: 13.17. Grab Methods

grabRelease method: 13.17. Grab Methods

grabs method: 13.17. Grab Methods

grabStatus method: 13.17. Grab Methods

graphical user interface ) (see GUI (graphical user interface) Gravity event: 15.2.1.2. Event descriptor types

gravity, marks and: 8.16. Marks

grid geometry manager

advantages of: 2.5. Geometry Management Summary

avoiding conflicts with: 11.3. Options

displaying widgets: 1.3.5. Displaying a Widget

features: 2.2. The grid Geometry Manager

grid items: 9.6.10. The Grid Item 9.6.10. The Grid Item

(50)

-sticky option and: 8.2.2. Widget Size

options for: 2.2.2. grid Options

2.2.7. Specifying a Different Parent

syntax: 2.2. The grid Geometry Manager

Toplevel widgets and: 11.3. Options

gridBbox method: 2.1.1. Options for pack

gridColumnconfigure method: 2.2.8. Configuring Columns and Rows

gridForget method: 2.2.9. Removing a Widget

gridInfo method: 2.1.1. Options for pack

gridLocation method: 2.1.1. Options for pack

gridPropagate method: 2.1.1. Options for pack

gridRowconfigure method: 2.2.8. Configuring Columns and Rows

grids

-setgrid option and: 7.2. Listbox Options

attaching to: 2.4.2.1. Attaching to the grid

changing size: 2.4.4.1. Changing the grid size

gridSize method: 2.1.1. Options for pack

gridSlaves method: 2.1.1. Options for pack

group item: 9.6.11. The Group Item

group method: 11.3. Options

GUI (graphical user interface)

coexisting main loops: 15.9. Coexisting with Other GUI Main Loops

design considerations: 1.5.2. Naming Conventions for Widget Types

event loops and: 1.3.6. The Event Loop

Tk and: 1. Hello, Perl/Tk

gzip program: 14.6.2. Packaging for PPM

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

R | S | T | U | V | W | X | Y | Z

(51)

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

(52)

Index: H

-header option: 18.4.1. Using Indicators with HList 18.4.1. Using Indicators with HList

-headerbackground option: 18.4.2. HList Methods

-height option

Button widgets and: 4.3. Table of Options for Button-Type Widgets

Canvas widgets and: 9.5.3. Canvas Widget Option List

createWindow method and: 9.6.9. The Widget Item

default value: 4.13. Changing the Size of a Button

Frame and Toplevel widgets: 11.3. Options

Label widgets and: 5.1.2. Label Options

Listbox widgets and: 7.2. Listbox Options

Menubutton widgets: 12.4.1. Menubutton Options

place method and: 2.1.1. Options for pack 2.3.1. place Options

postscript method and: 9.18. Rendering the Canvas as PostScript

syntax: 4.13. Changing the Size of a Button

Text widgets and: 8.2. Text Widget Options 8.2.2. Widget Size

-hidden option: 8.16. Marks

-hidemargin option: 12.6.2. A Native Option Menu

-highlightbackground option

Button widgets and: 4.3. Table of Options for Button-Type Widgets

Canvas widgets and: 9.5.3. Canvas Widget Option List

Entry widgets and: 5.2.2. Entry Options

Frame and Toplevel widgets: 11.3. Options

Label widgets and: 5.1.2. Label Options

Listbox widgets and: 7.2. Listbox Options

Menubutton widgets: 12.4.1. Menubutton Options

Scale widgets and: 10.1. Creating a Scale

Scrollbars and: 6.3.2. Scrollbar Options

syntax: 4.19. Altering the Highlight Rectangle

Text widgets and: 8.2. Text Widget Options

-highlightcolor option

Button widgets and: 4.3. Table of Options for Button-Type Widgets

(53)

Entry widgets and: 5.2.2. Entry Options

Frame and Toplevel widgets: 11.3. Options

Label widgets and: 5.1.2. Label Options

Listbox widgets and: 7.2. Listbox Options

Menubutton widgets: 12.4.1. Menubutton Options

Scale widgets and: 10.1. Creating a Scale

Scrollbars and: 6.3.2. Scrollbar Options

syntax: 4.19. Altering the Highlight Rectangle

Text widgets and: 8.2. Text Widget Options

-highlightthickness option

Button widgets and: 4.3. Table of Options for Button-Type Widgets

Canvas widgets and: 9.5.3. Canvas Widget Option List

ConfigSpecs method and: 14.3.6.1. ConfigSpecs Examples

Entry widgets and: 5.2.2. Entry Options

Frame and Toplevel widgets: 11.3. Options

Label widgets: 5.1.2. Label Options

Label widgets and: 5.1.2. Label Options

Listbox widgets and: 7.2. Listbox Options

Menubutton widgets: 12.4.1. Menubutton Options

Scale widgets and: 10.1. Creating a Scale

Scrollbars and: 6.3.2. Scrollbar Options

syntax: 4.19. Altering the Highlight Rectangle

Text widgets and: 8.2. Text Widget Options

Thermometer example: 14.4.1. Tk::Thermometer

hanging indent, -lmargin2 option and: 8.5.1. Tag Options

hash keys (see keys)

headerCget method: 18.4.2. HList Methods

headerConfigure method: 18.4.2. HList Methods

headerCreate method: 18.4.2. HList Methods

headerDelete method: 18.4.2. HList Methods

headerExists method: 18.4.2. HList Methods

headerSize method: 18.4.2. HList Methods

height method: 13.9.5. Actual Height

17.2. Methods Common to All Image Types

Hello World example: 1.4. Hello World Example 2.1.2. Positioning Widgets

11.3. Options

help Label: 5.1.2. Label Options

(54)

hide method: 18.4.2. HList Methods

highlight rectangle

-takefocus option and: 5.1.2. Label Options

focus on: 7.2. Listbox Options

Listbox color selection and: 7.2. Listbox Options

Hilton, Brand: 19.6. Polling Win32 Sockets

HList widget

features: 18. A Tk Interface Extension Tour 18.4. The HList Family of Widgets

Listbox alternatives and: 7. The Listbox Widget

scrollbars and: 6.1. Defining Scrollbar Parts

Holtry, Frank: 22.2. The PerlPlus Browser Plug-in

22.2.3. How You Can Contribute to the PerlPlus Plug-in Project

HOME variable: 20.1.2. Tk::Receive

Hopkins, Don: 12.8. Pie Menus

Hopwell, Grant: 22.1.5.3. Win32::Process and shared memory

host, display notification and: 11.3. Options

HTML documents: 8. The Text, TextUndo,and ROText Widgets

HTTP (Hypertext Transfer Protocol): 22.1. Library for WWW Access in Perl

HWND (window handle), -use option and: 11.3. Options

hyperlinks, binding and: 8.5.6. Using bind with Tags

hypertext

Text widgets and: 8. The Text, TextUndo,and ROText Widgets

user interface example: 19.3.1. Creating the Hypertext User Interface

hyphen (-)

as index modifier: 8.4.2. Index Modifiers

configuration parameters and: 1.3.3. Specifying Options 1.3.3. Specifying Options

grid method and: 2.1.1. Options for pack 2.2.1. Special Characters

setPalette method and: 13.4.5. Setting Colors

Text widgets and -- option: 8.16. Marks

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

R | S | T | U | V | W | X | Y | Z

(55)

Symbols & Numbers | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q |

(56)

Index: I

-icon option: 23.3.2. The messageBox Method

-iconic option: 16.1. Using the Command Line 16.1.2. Initial MainWindow Placement

-ignoreinvoke option: 18.4.3. The Tree Widget

-image option

add method and: 23.8.1. Creating Pages

Button widgets and: 4.3. Table of Options for Button-Type Widgets

createImage method and: 9.6.3. The Image Item

Label widgets and: 5.1.2. Label Options

Menubutton widgets: 12.4.1. Menubutton Options

Radiobuttons and: 17.7.1. Creating a Color Palette with the put Method

using: 4.5. Displaying an Image or Bitmap

-imagetype option: 18.1. Display Items

-in option

form method and: 2.4.1. Options for form

grid method and: 2.2.2. grid Options 2.2.7. Specifying a Different Parent

packInfo method: 2.1.10.2. Retrieving pack information

packing order and: 2.1.1. Options for pack

place method and: 2.3.1. place Options

syntax: 2.1.9. Displaying in a Parent Other Than Your Own

-indent option: 18.4.1. Using Indicators with HList

-indicator option: 18.4.1. Using Indicators with HList 18.4.1. Using Indicators with HList

-indicatorcmd option: 18.4.1. Using Indicators with HList 18.4.1. Using Indicators with HList

-indicatoron option

Button widgets and: 4.3. Table of Options for Button-Type Widgets 4.17. Hiding the Indicator

Menubutton widgets: 12.4.1. Menubutton Options

option menu example: 12.6.2. A Native Option Menu

selection indicator and: 4.5.1. Images with Checkbuttons and Radiobuttons

-initialcolor option: 23.3.5. chooseColor Dialog

-initialdir option: 23.3.6. getOpenFile and getSaveFile Dialogs

Gambar

Figure 2-48 and you'll see what happens when we resize this window. Noticethat the widgets overlap each other and move as the window is resized
Table 16-1. Command-line options recognized byTk::CmdLine::SetArguments
Figure 16-1. frog application with a huge font
Figure 9-5. A canvas with three grid items
+7

Referensi

Dokumen terkait