473,405 Members | 2,141 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,405 software developers and data experts.

PYGTK, Google Suggest-like GUI

Ali
Hi there,

I am using pygtk, and i am implementing a "find as you type" in a text
entry. I intend for it to behave like the 'google suggest' box. So,
that as you type, a list of values appear below the text box as in a
list and you can use arrow keys to select a value.

I can't think of a straight-forward way of doing this with pygtk. Do i
have to put a listbox behind the textbox and make it appear and
disappear?

Is there a better way of doing this?

Thanks...

Jul 18 '05 #1
2 1475
Ali
I guess what i am looking for is auto-completion but with a drop-down
list...

Jul 18 '05 #2
Ali
Oh well, the cool guys of GTK have just the thing i wanted called
EntryCompletion.
Here's the link in case someone else stumbles over here:

http://www.pygtk.org/pygtk2tutorial/...ompletion.html

Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jeremy Bowers | last post by:
I have an image in the Python Image Library. I'm trying to get it into PyGTK in color. Is there any way to do this cross-platform, preferably without writing to anything to the disk? PIL...
2
by: srinivas | last post by:
HI, I am a dotnet developer.Ho we can do the functionality exists in google suggest site (http://www.google.com/webhp?complete=1&hl=en).In this site in search text box if we enter some text it...
4
by: guoqi zheng | last post by:
On this link http://www.google.com/webhp?complete=1 when you are typing a word, google will get the suggest outcome immediately, any idea how can they do this? There is a onchange event on...
4
by: Or | last post by:
I am interested in code for creating the dynamic list (not the AJAX data transffer) shown under the text box in google suggest. Just the code for the dynamic list box.
1
by: awebguynow | last post by:
still on the bandwagon to mimic Google suggest ... although, I'd prefer to trigger off of keystrokes rather than timer Can someone give me the skinny on whats best to use ? onKeyPress onKeyDown ...
2
by: awebguynow | last post by:
It seems like I've been reading the code to Google Suggest (GS) for about a week, and I'm going to have to wrap it up shortly. I'm OK with many of the subjects, and I would say I have...
2
by: laredotornado | last post by:
Many have seen Google Suggest, in which you begin typing in your search term, and the system attempts to auto-complete by supplying a list of phrases beneath the text field. ...
2
by: Thierry Lam | last post by:
I implemented the autocomplete/suggest for a text input, however the suggest div table does not overlap the other widgets underneath my text input. All it does is create space between my text input...
4
by: divingIn | last post by:
So this is what i'm trying to do. I have a textbox in a <td> of a table and as you type the results should start to show right underneath in a group of 5. So i put a div under the textbox in the same...
1
by: murarisudha | last post by:
If we have 2 Textboxes in one textbox if we give the hallticket number Immediately it will give result in second textbox.pls send the code for that. using ajax and javascript.
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.