Re: Embedded Terminal in a Gtk App

2019-03-23 Thread Phil Clayton
Use vte_terminal_spawn_async to start your command line program. https://developer.gnome.org/vte/unstable/VteTerminal.html#vte-terminal-spawn-async Use vte_terminal_feed_child to send commands to program in the terminal. https://developer.gnome.org/vte/unstable/VteTerminal.html#vte-terminal-feed-

Embedded Terminal in a Gtk App

2019-03-22 Thread J.Arun Mani via gtk-list
Hello, 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