G_S 38 Junior Poster in Training

I'm having a similar problem. I think I read somewhere that constructors are not inherited. But I think you can call the parent's constructor using super (I think).

xHellghostx commented: Yes you are right.. I used the super and it worked just fine.. Thank you. +0
G_S 38 Junior Poster in Training

Think about MIT's Scratch. It's a nice graphical environment for children. It's like LOGO: http://scratch.mit.edu/

G_S 38 Junior Poster in Training

I think he means the cached files, not the downloaded ones.


And yes, you can't see Firefox's cached files as easily as you can see Internet Explorer's. But I found this, it could be useful: http://www.nirsoft.net/utils/mozilla_cache_viewer.html

G_S 38 Junior Poster in Training

As far as I know, user configuration files are in c:\Documents and Settings\<UserName>\Application Data (<= or however that is called in your language)\Mozilla.

Inside that folder you'll find one folder for extensions and another one for firefox, the latter contains the profile folder, which in turn contais a folder with a random name, the cache files are in there.

The thing ios that Firefox seems to store the cache in a single big file, so it's not like internet explorer.

G_S 38 Junior Poster in Training

Hmmm,maybe I did not understand properly... what is the behavior you are expecting? You want the windows to be "un-iconifiable" so that it can never be minimized?

G_S 38 Junior Poster in Training

Here is your example:

from tkinter import *

def name():
    name = entry.get()
    text.delete(1.0, END)
    text.insert(END, "Hello " + name + "!")

main = Tk()
main.geometry("400x400")
main.resizable(0, 0)
main.wm_attributes("-topmost", 1)

label = Label(main, text="What's your name?")
entry = Entry(main)
button0 = Button(main, text="Say hello!", command=name)
button1 = Button(main, text="close", command=quit)
text = Text(main)

label.pack()
entry.pack()
button0.pack()
button1.pack()
text.pack()

main.mainloop()

Also, you can place the main.wm_attributes stuff inside a function and then create a binding to a keyboard shortcut, for example ctrl+t. Then the program would stay on top of the others after you press the shortcut. In this example, the window will always be on top.

G_S 38 Junior Poster in Training

Well, if you don't mind the looks, tkinter is the built-in graphical toolkit for python, so it is cross platform and the user would have to install anything besides python itself.

Regarding the code, this would cause the window (named main in this case) to be always on top:

main.wm_attributes("-topmost", 1)

If you need a full example with tk widgets let me know, I have plenty of them here.