OPTIMO
June 23rd, 2006, 04:31 PM
I've created a rather nice GUI using Glade and can compile and run it. However, in the GUI I want one of the boxes to be filled with the terminal, Gnome-terminal, I suppose.
I can't figure out how to add the widget to my UI. Ideally I'd like to be able to send commands to it without user intervention. I've written scripts to some good stuff but now I want my GUI to call these scripts via a terminal.
I've been racking my brain for 3 days on this. The GUI is done, my shell scripts are done, but I can't figure out how to add a terminal widget to my user interface. Please help.
The empty box to the left of the EXECUTE button is where the terminal will go (I'll make it bigger so it's more useful I suppose).
http://www.ubertechnik.com/Utils/project1/esxrc2.JPG
I'm thinking the source code for Gnome-Terminal using vte would help me, but there has to be a much easier way, methinks.
Thanks in advance!
I can't figure out how to add the widget to my UI. Ideally I'd like to be able to send commands to it without user intervention. I've written scripts to some good stuff but now I want my GUI to call these scripts via a terminal.
I've been racking my brain for 3 days on this. The GUI is done, my shell scripts are done, but I can't figure out how to add a terminal widget to my user interface. Please help.
The empty box to the left of the EXECUTE button is where the terminal will go (I'll make it bigger so it's more useful I suppose).
http://www.ubertechnik.com/Utils/project1/esxrc2.JPG
I'm thinking the source code for Gnome-Terminal using vte would help me, but there has to be a much easier way, methinks.
Thanks in advance!