#include <vte/vte.h>
#include <gtk/gtk.h>
#include <cstring>
#include <glib.h>
#include <glib-object.h>
Data Structures | |
struct | Terminal |
Widgets for the VTE terminal tab. More... | |
Functions | |
GtkWidget * | terminal_new () |
void | terminal_run_command (Terminal *term, const char *command) |
void | terminal_grab_focus (Terminal *term) |
GtkWidget * | terminal_get_hbox (Terminal *term) |
|
Get the GtkHBox widget in the Terminal object.
|
|
Let the terminal grab focus from the rest of the application. You should do this after running a command.
|
|
Create a new Terminal object. This is useful if you want a generic VTE terminal widget somewhere else in the application.
|
|
Run an arbitrary command in the terminal. Use this if the command you want to run needs user interaction. Make sure to place focus on the terminal tab before you run a command.
|