473,394 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

TK Entry Widget - Events?

I am new in perl
I want to know the all events from the entry widget

I am adding text into hlist from the entry widget.
when I goto the add button then only the text is adding into the hlist.
but I want to add the text without add button, I want to use keyboard enter key event so i can add easily wihout add button .

please guide me...
toopillu...
Feb 2 '07 #1
2 1571
KevinADC
4,059 Expert 2GB
I assume you are using Tk? Search on cpan for the Tk modules that interest you:

http://search.cpan.org/
Feb 2 '07 #2
Natti
15
Hi,
You can probably use the delete method on hlist and refresh it on any keystroke on the entry box. However, I would not recommend this as it would do a redraw of your hlist each time.
You will have to form your hlist array each time the keystroke is entered.
Feb 17 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Mickel Grönroos | last post by:
Hi, I'm trying to put an Tkinter.Entry of fixed size onto a specific location on a canvas using the place manager. The idea is that one can double-click a rectangle object on a canvas to get an...
3
by: Phil Schmidt | last post by:
I'm trying to make a custom entry widget, as in the code that follows. There are two problems I'm trying to fix: 1) I would like the widget to behave as myEntry.Escape() does now, except that it...
4
by: Clara | last post by:
Hi, can somebody help me,..I have an assignment due next week but now I'm stuck with this problem.... I tried to get values from entry widget using the widgetcontrolvariable.get(),..but it seems...
0
by: Clara | last post by:
I tried to print the value of my entry widget by passing the result of controlvariable.get() in Tkinter to a function. However, I kept printing empty string (eventhough I've written something...
2
by: wanwan | last post by:
let's say I already have some content. How do I set the widget so user cannot change it/?
2
by: Dustan | last post by:
How do I limit what the user can enter in an Entry Widget? I know I can set it to display '*' to hide a password, but what I want to do is limit the contents to numeric characters. What is the...
4
by: Dustan | last post by:
Back in this post, I attempted to make a label look like a button:...
1
by: bkunjitam | last post by:
Hi, I have an Entry widget where in i can enter string. Clarifications needed: 1. The user should not be able to exceed 15 characters at the max in the Entry widget. How do i set the limit...
2
Strider1066
by: Strider1066 | last post by:
Is it a bug or a feature? I'm trying to sub-class an Entry widget that displays a template (i.e. '____-__-__') for users and does keystroke validation. It is starting to work but with one problem....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.