[Tkinter-discuss] How to enable load button in python-tkinter widget
yorlina007 at gmail.com
Fri Jun 27 07:38:00 CEST 2008
I understood what you have said but, there is some confusion in me, because
i am a biginner..
You are saying to have two widgets right, so my question is can we do this
by having a single button in the displsy named as "Browse" and when we click
that ,the file explorer opens ??
And does this tkFileDialog.Open returns the filename which is beign
selected, or else how to get the filename being selected including the full
Can you provide some sample code for this.
Thanks a lot
Guilherme Polo wrote:
> On Thu, Jun 26, 2008 at 4:24 AM, Anil Roy <yorlina007 at gmail.com> wrote:
>> I need to design a tkinter widget where i should have a browse option
>> as you see in all windows application to select a file from my machine.
> The button is a widget, a Tkinter.Button, and the file browser is
> another widget, tkFileDialog.Open, so they are two different things
> and they are both done, apparently you don't have to design them.
>> Also i need to select an integer from some dropdown box.
> You would need a combobox, which is not available in the Tkinter
> module but there are alternatives. Tix and Tile provide it, so you
> could install one of them, or you could upgrade to tk 8.5 (python
> 2.6b1 includes it in the Windows build). If you are going to use tile
> or tk 8.5 you will need a wrapper, which is not available in the
> python stdlib but can be found at
>> How can i implement this... I m donewith the backend python coding.. but
>> need help for the front end..
>> please help me...
>> Anil Roy
>> View this message in context:
>> Sent from the Python - tkinter-discuss mailing list archive at
>> Tkinter-discuss mailing list
>> Tkinter-discuss at python.org
> -- Guilherme H. Polo Goncalves
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
View this message in context: http://www.nabble.com/How-to-enable-load-button-in-python-tkinter-widget-tp18127982p18148483.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.
More information about the Tkinter-discuss