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

OutputBuild. More...

#include "../openldev-settings/openldev-settings.h"
#include <gtk/gtk.h>
#include <iostream>
#include <glib.h>
#include <glib-object.h>

Data Structures

struct  OutputBuild
 Widgets for the build output GtkTreeView. More...

Functions

GtkWidget * output_build_new ()
GtkWidget * output_build_get_scrolled_window (OutputBuild *build)
gboolean output_build_run_command (OutputBuild *build, const char *command, EnvironmentSettings *env)
void output_build_stop_build (OutputBuild *build)
void output_build_clear (OutputBuild *build)


Detailed Description


Function Documentation

void output_build_clear (  OutputBuild *  build  ) 
 

Clear the content of the GtkTreeView.

Parameters:
build An OutputBuild object.

GtkWidget* output_build_get_scrolled_window (  OutputBuild *  build  ) 
 

Get the GtkScrolledWindow widget in the OutputBuild object.

Parameters:
build An OutputBuild object.
Returns:
The OutputBuild's GtkScrolledWindow.

GtkWidget* output_build_new (   ) 
 

Create a new OutputBuild object. This is useful if you want a generic GtkTreeView to execute commands in.

Returns:
A new OutputBuild object.

gboolean output_build_run_command (  OutputBuild *  build,
const char *  command,
EnvironmentSettings *  env
) 
 

Run a command using fopen and place the output, one line per row, in the GtkTreeView widget. The EnvironmentSettings object is used to retrieve colors to use for build output errors or warnings.

Parameters:
build An OutputBuild object.
command The command to be executed.
env EnvironmentSettings object to retrieve color settings from.
Returns:
TRUE if the command was successfully completed without errors.

void output_build_stop_build (  OutputBuild *  build  ) 
 

Stop any command that is currently running. This will happen on the next output cycle.

Parameters:
build An OutputBuild object.


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