Page 1 of 1

Glade on the raspberry pi

Posted: Tue Jan 22, 2013 4:14 pm
by msmithy12
Hi i installed glade on my pi last week and have been trying to use the software to create a touch screen interface since then. My issue it that glade is power hungry (like sylar in heroes power hungry) which makes developing anything a slow painful process; especially when there is snow outside that is not yet in the shape of a carrot-nosed man.

Has anyone got any ideas on how i could use glade more effectively. Is it possibly to cross compile to the pi? is there a lighter GUI designer that i could use?

Thanks

Re: Glade on the raspberry pi

Posted: Tue Jan 22, 2013 5:19 pm
by lavers
I may be mistaken, but I think you can create your Glade UI on another computer, and then transfer the .XML file that it creates to the pi and compile your application there.

Re: Glade on the raspberry pi

Posted: Tue Jan 22, 2013 7:49 pm
by PeterO
lavers wrote:I may be mistaken, but I think you can create your Glade UI on another computer, and then transfer the .XML file that it creates to the pi and compile your application there.
I've done that with no problems.
PeterO

Re: Glade on the raspberry pi

Posted: Fri Jan 25, 2013 9:24 am
by msmithy12
Brilliant, I shall add that to the top of my to-do list next week.

Re: Glade on the raspberry pi

Posted: Sat Apr 13, 2013 9:29 pm
by bprats99
I'm a newbie, been trying to get glade, gtk and pygtk working on the RPi, each has been a problem, RPi + glade is slow and I don't know if I am supposed to use Python 2.7 or 3+. GTK and PYGTK 2.7 are finally loaded and I copied a program from Liam Fraser HelloWorld-GTK.py but it gives what appears to be compatibility issues in the first error lines. When I read this post that glade will run on windows and it does, its so much faster and I assume it will work with gtk.builder and python when the XML file is transferred to the RPi .

I'm looking for lines of code to accept the glade 3 xml button signal and light a led or display hello. Seems the hard part are the first few lines of Python code to import the XML . Thanks.