PDA

View Full Version : OCTAVE-GUI (python and terminal)


gheorghe_pop
October 28th, 2005, 12:13 PM
Hello.
I want to build a gui-frontend for octave. I have a design for the interface (for now in my mind only). It's made with glade and to programm the application I will use python.
The first probblem that i encounter is the following:
How can I build a small console in my application using python and glade?
In the console octave will start by default. And when the user run's a octave program evry line from the program will be passed to the console and executed.

Documentation,examples all is wellcome.

10x

WarGoX
November 30th, 2007, 11:52 PM
Mira para embeber una consola dentro de una aplicación utilizando GTK debes utilizar la librería libvte (Virtual Terminal Emulator) esta librería está escrita en C y tiene por supuesto ports para Python y Perl que yo conozca quizás para otros lenguajes, pero al menos para estos dos los he probado, Te dejo adjunto un ejemplo bien sencillo que lo que hace es crear una ventana con GTK y embeber dentro de ella una consola, espero que te sirva.

Cualquier duda puedes escribirme a betancourt.jorge@gmail.com

slds