logo       

Using Combox Box: msg#00140

gnome.gtk+.python

Subject: Using Combox Box

I am very, very pleased with my first use of the ComboxBoxEntry in pygtk,
so I want to try it again, but this time, with a little more work. I
want the source of the strings to be a database, and I would ideally want
those strings to be completely refreshed every time the list is popped
down.

I am probably wrong, but I figured that the way to do this would be to get
to the button widget part of things, and look for a 'pressed' signal. I
can't figure out how to get the button widget, though ... the 'child'
attribute gets you the Entry widget, not the button (which I did use, in
my first attempt, and that worked great).

Can I get some help in doing the task I want to accomplish? Should I
perhaps not go after that button? Or, how would I detect that the popdown
list is about to pop down?

Thanks

----------------------------------------------------------------------------
Chuck Robey | Interests include C & Java programming, FreeBSD,
chuckr@xxxxxxxxxx | electronics, communications, and SF/Fantasy.

New Year's Resolution: I will not sphroxify gullible people into looking up
fictitious words in the dictionary (on the wall at my old fraternity,
Signa Phi Nothing).
----------------------------------------------------------------------------
_______________________________________________
pygtk mailing list pygtk@xxxxxxxxxx
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise