Re: tkinter, overwrite Label-text?

2008-04-11 Thread Bryan Oakley
[EMAIL PROTECTED] wrote: > ok but i have trouble using grid. if i try to use a Label witht he > text answer in the following code it doenst work very well. > Can you describe "have trouble"? What sort of trouble -- syntax errors, the text never shows up, etc? Following is my attempt to use a la

Re: tkinter, overwrite Label-text?

2008-04-11 Thread skanemupp
On 10 Apr, 18:03, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Thu, 10 Apr 2008 07:37:08 -0700, skanemupp wrote: > > i know how to do this already. the problem is i want the text to stay > > in the windowa nd not start overwriting "Answer:". > > Then don't use `place()` but let Tkinter

Re: tkinter, overwrite Label-text?

2008-04-10 Thread Marc 'BlackJack' Rintsch
On Thu, 10 Apr 2008 07:37:08 -0700, skanemupp wrote: > i know how to do this already. the problem is i want the text to stay > in the windowa nd not start overwriting "Answer:". Then don't use `place()` but let Tkinter handle the layout with the pack and/or grid layout manager. GUIs with `place(

Re: tkinter, overwrite Label-text?

2008-04-10 Thread [EMAIL PROTECTED]
On Apr 10, 4:37 pm, [EMAIL PROTECTED] wrote: > [...] > i know how to do this already. the problem is i want the text to stay > in the windowa nd not start overwriting "Answer:". > i have solved this by using an Entry for the answer as well but id > prefer using a Label. > [...] You can set the wid

Re: tkinter, overwrite Label-text?

2008-04-10 Thread skanemupp
On 10 Apr, 16:29, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Apr 10, 3:47 pm, [EMAIL PROTECTED] wrote: > > > [...] > > i use the Label-widget. > > Then you should be able to connect a variable to your widget like I > wrote in my previous post. > Just try out the example from the Python doc

Re: tkinter, overwrite Label-text?

2008-04-10 Thread [EMAIL PROTECTED]
On Apr 10, 3:47 pm, [EMAIL PROTECTED] wrote: > [...] > i use the Label-widget. Then you should be able to connect a variable to your widget like I wrote in my previous post. Just try out the example from the Python documentation. Of course in your case entrythingy would be the Label-widget. Take c

Re: tkinter, overwrite Label-text?

2008-04-10 Thread skanemupp
On 10 Apr, 15:28, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Apr 10, 2:35 pm, [EMAIL PROTECTED] wrote: > > > using python And tkinter. > > > i have a GUI that outputs a text among other things. after input form > > user i want this text to be *)cleared and/or > > *)overwritten. > > > what

Re: tkinter, overwrite Label-text?

2008-04-10 Thread [EMAIL PROTECTED]
On Apr 10, 2:35 pm, [EMAIL PROTECTED] wrote: > using python And tkinter. > > i have a GUI that outputs a text among other things. after input form > user i want this text to be *)cleared and/or > *)overwritten. > > what is the best way to achieve that? > [...] Which widget do you use? Some widget

tkinter, overwrite Label-text?

2008-04-10 Thread skanemupp
using python And tkinter. i have a GUI that outputs a text among other things. after input form user i want this text to be *)cleared and/or *)overwritten. what is the best way to achieve that? also, how do i make Label-text expand to the right and not to the left? -- http://mail.python.org/mai