[Tutor] Glade

djuro m. dmandini@inet.hr
Fri, 29 Jan 2027 21:20:15 -0500


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.