•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Python section within the Software Development category of DaniWeb, a massive community of 391,558 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,695 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Python advertiser:
Views: 1112 | Replies: 1
![]() |
•
•
Join Date: Jun 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hello everyone, I'm new to DaniWeb and a sort of beginner at Python. I've created a GUI in Python using Glade and GTK and I have two questions. I'm having trouble with comboboxes. Particularly with entering data into a combo box from Python. I've tried the following....
to no avail... apparently you have to first do gtk.combo_box_new_text() before you can append text. Is this possible when using Glade to construct my GUI?
My second question is this.. How do I create a ListBox using Glade or GTK. I would like eventually to be able to grab text from a line via mouse click. For example, a list of files appear in a text area and the user would be able to double click on the file and be able to delete it etc... Any help would be greatly appreciated. Thank you.
myCombo = self.wTree.get_widget('comboboxentry')
myCombo.append_text('blah blah blah')to no avail... apparently you have to first do gtk.combo_box_new_text() before you can append text. Is this possible when using Glade to construct my GUI?
My second question is this.. How do I create a ListBox using Glade or GTK. I would like eventually to be able to grab text from a line via mouse click. For example, a list of files appear in a text area and the user would be able to double click on the file and be able to delete it etc... Any help would be greatly appreciated. Thank you.
•
•
Join Date: Feb 2007
Posts: 55
Reputation:
Rep Power: 2
Solved Threads: 1
G'day,
I've found two addresses that might help. Both are mailing lists that specialize in the two areas (GTK and Glade ) that you're asking about:
http://www.gtk.org/mailinglists.html (GTK Mailing Lists)
http://glade.gnome.org/lists.html (Glade Mailing Lists)
If you join their mailing lists they should be able to answer your questions promptly. Or alternatively, you could look up their archives (just click on "archive") and look in there.
Hope this helps
.
fredzik.
I've found two addresses that might help. Both are mailing lists that specialize in the two areas (GTK and Glade ) that you're asking about:
http://www.gtk.org/mailinglists.html (GTK Mailing Lists)
http://glade.gnome.org/lists.html (Glade Mailing Lists)
If you join their mailing lists they should be able to answer your questions promptly. Or alternatively, you could look up their archives (just click on "archive") and look in there.
Hope this helps
.fredzik.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Python Marketplace
- Python GUI build: Logic Complications and Mistakes (Python)
- Python Sleep Function: (Python)
- File Saves (Python)
- Newbie (C++)
- Creating collapsable/expandable panes in python (Python)
- Problem with find (Python)
- Tkinter exception (Python)
- starting Python (Python)
- My Irritating Error - Help (Python)
Other Threads in the Python Forum
- Previous Thread: Is Python any good?
- Next Thread: Tools for making a web based User interface in python


Linear Mode