[Tutor] Glade

chris schwan ainsoph3@attbi.com
06 Feb 2002 12:37:44 -0800


Hi, Djuro,

I am a bit of a newb myself, but as I was gathering materials for
learning python I came across this:

http://www.icon.co.za/~zapr/Project1.html


It has a tutorial for using glade and python together. I did some of the
work in the toot and it seems pretty good.

Hope that helps!

Chris



On Fri, 2027-01-29 at 18:20, djuro m. wrote:
> 
> 
> Hello everyone!
> 
> Could someone please "explain" to me how to make a simple gui working with
> python code by using Glade. ( I only need to see a code or how is python code
> tied with gui code file)
> 
>   I already tried several times according to
> instructions in available "Getting started-s" but it didn't work. 
> 
> I use RedHat 7.0, Python 1.5.2 and Glade 0.5.9
> 
> For example by Tkinter:
> 
> from Tkinter import *
> 
> top = Tk()
> e = Entry()
> e.pack()
> 
> def Write():
>   global e
>   m = "Hi there!"
>   e.insert(END,m)
> 
> b = Button(text='OK',command = Write)
> b.pack()
> 
> top.mainloop()
> 
> 
> 
> Thank you
> 
> D. M.
> 
> 
> 
> 
> 
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor