Book Image

Tkinter GUI Application Development HOTSHOT

By : Bhaskar Chaudhary
Book Image

Tkinter GUI Application Development HOTSHOT

By: Bhaskar Chaudhary

Overview of this book

<p>Tkinter is the built-in GUI package that comes with standard python distributions. This means it is easy to get started right away, without any extra installation or configuration. Tkinter’s strength lies in its simplicity of use and its intuitive nature which makes it suited for programmers and non-programmers alike. Once you get started, you will be surprised to see how a few lines of code can produce powerful GUI applications.</p> <p>Tkinter GUI Application Development Hotshot helps you learn the art of GUI programming—building real-world, productive and fun applications like text editor, drum machine, game of chess, media player, drawing application and many more. Each subsequent project builds on the skills acquired in the previous project. Also, learn to write multi-threaded and multi layered applications using Tkinter. Get to know modern best practices involved in writing GUI programs. Tkinter GUI Application Development Hotshot comes with a rich source of sample codes that you can use in your own projects in any discipline of your choice.</p> <p>Starting with a high level overview of Tkinter that covers the most important concepts involved in writing a GUI application, the book then takes you through a series of real world projects of increasing complexity, developing one project per chapter. After you have developed five full projects, the book provides you with some bare-bone skeleton codes for a few functional but incomplete projects, challenging you to put your skills to test by completing them.</p> <p>Finally, you are provided with tips for writing reusable, scalable, and quality GUI code for larger projects. The appendices provide a quick reference sheet for Tkinter.</p>
Table of Contents (16 chapters)
Tkinter GUI Application Development HOTSHOT
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The event details


Event details are optional components for creating an event binding. They generally denote the mouse button or details of a key stroke on the keyboard using a key symbol abbreviated as keysym.

List of all available event details is as follows:.keysym

.keycode

.keysym_num

Key

Alt_L

64

65513

Left Alt key

Alt_R

113

65514

Right Alt key

BackSpace

22

65288

Backspace

Cancel

110

65387

Break

Caps_Lock

66

65549

CapsLock

Control_L

37

65507

Left Ctrl key

Control_R

109

65508

Right Ctrl key

Delete

107

65535

Delete

Down

104

65364

Down arrow key

End

103

65367

End

Escape

9

65307

Esc

Execute

111

65378

SysRq

F1 – F11

67 to 95

65470 to 65480

Function key F1 to F11

F12

96

65481

Function key F12

Home

97

65360

Home

Insert

106

65379

Insert

Left

100

65361

Left side arrow key

Linefeed

54

106

Linefeed/Ctrl + J

KP_0

90

65438

0 on keypad

KP_1

87

65436

1 on keypad

KP_2

88

65433

2 on keypad

KP_3

89

65435

3 on keypad

KP_4

83

65430

4 on keypad

KP_5

84

65437

5 on keypad

KP_6

85

65432

6 on keypad

KP_7

79

65429

7 on keypad

KP_8

80

65431

8 on keypad

KP_9

81

65434

9 on keypad

KP_Add

86

65451

+ on keypad

KP_Begin

84

65437

Center key on keypad (same as key 5)

KP_Decimal

91

65439

Decimal (.) key on keypad

KP_Delete

91

65439

Delete (Del) key on keypad

KP_Divide

112

65455

/ on keypad

KP_Down

88

65433

Down arrow key on keypad

KP_End

87

65436

End on keypad

KP_Enter

108

65421

Enter on keypad

KP_Home

79

65429

Home on keypad

KP_Insert

90

65438

Insert on keypad

KP_Left

83

65430

Left arrow key on keypad

KP_Multiply

63

65450

* on keypad

KP_Next

89

65435

Page Down on keypad

KP_Prior

81

65434

Page Up on keypad

KP_Right

85

65432

Right arrow key on keypad

KP_Subtract

82

65453

- on keypad

KP_Up

80

65431

Up arrow key on keypad

Next

105

65366

Page Down

Num_Lock

77

65407

Num Lock

Pause

110

65299

Pause

Print

111

65377

Prt Scr

Prior

99

65365

Page Up

Return

36

65293

Enter key / Ctrl + M

Right

102

65363

Right arrow key

Scroll_Lock

78

65300

Scroll Lock

Shift_L

50

65505

Left Shift key

Shift_R

62

65506

Right Shift key

Tab

23

65289

Tab key

Up

98

65362

Up arrow key