openldev/openldev-widgets/openldev-output-terminal.h File Reference

OutputTerminal. More...

#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)


Detailed Description


Function Documentation

GtkWidget* terminal_get_hbox Terminal term  ) 
 

Get the GtkHBox widget in the Terminal object.

Parameters:
build A Terminal object.
Returns:
The Terminal's GtkHBox.

void terminal_grab_focus Terminal term  ) 
 

Let the terminal grab focus from the rest of the application. You should do this after running a command.

Parameters:
term An Terminal object.

GtkWidget* terminal_new  ) 
 

Create a new Terminal object. This is useful if you want a generic VTE terminal widget somewhere else in the application.

Returns:
A new Terminal object.

void terminal_run_command Terminal term,
const char *  command
 

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.

Parameters:
term A Terminal object.
command The command to run in the terminal.


Generated on Sun May 14 14:57:41 2006 for OpenLDev by  doxygen 1.4.6