Embedded Terminal in a Gtk App

How can I run a Terminal inside a Gtk application? (Using Python)
Rightnow, Im able to add Vte to the app, but how can I send commands to it and execute it? I want it like this-
1. Give commands to it
2. It should execute it with realtime updation like normal terminal does (like in Apt, we have a progress bar, similarly)
3. Hence it should be a complete terminal, but my users should not be able to enter command in it, but just see the output.
It should work like the terminal in Synaptic, which pops up while installing something.

Please help me with example codes.
Thanks in advance!

J Arun Mani

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]