25 #include "pips_config.h"
30 #include <sys/resource.h>
41 #define BOUND(x,lb,ub) \
43 ((x)>(ub)) ? (ub) : (x)
44 #define MAX(a, b) ((a)>(b) ? (a) : (b))
90 gtk_window_set_title(GTK_WINDOW(
main_window),
"gpips");
94 log_window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
96 gtk_window_set_default_size(GTK_WINDOW(
log_window), 300, 300);
104 gtk_window_set_title(GTK_WINDOW(
log_window),
"gpips - Log Window");
113 edit_window[i] = gtk_window_new(GTK_WINDOW_TOPLEVEL);
117 gtk_signal_connect(GTK_OBJECT(
edit_window[i]),
"delete-event",
127 gtk_window_set_title(GTK_WINDOW(
help_window),
"pips online help facility");
130 gtk_window_set_title(GTK_WINDOW(
options_window),
"gpips options");
132 g_signal_connect(GTK_OBJECT(
log_window),
"delete-event",
134 g_signal_connect(GTK_OBJECT(
help_window),
"delete-event",
140 g_signal_connect(GTK_OBJECT(
query_dialog),
"delete-event",
144 g_signal_connect(GTK_OBJECT(
main_window),
"delete-event",
GtkWidget * edit_window[MAX_NUMBER_OF_GPIPS_WINDOWS]
GtkWidget * options_window
GtkWidget * schoose_window
#define MAX_NUMBER_OF_GPIPS_WINDOWS
How many display wondows can be opened :
GtkWidget * mchoose_window
void quit_notify(GtkWidget *widget, gpointer data)
#define EDIT_HEIGHT
#define EDIT_HEIGHT 400
gint hide_window(GtkWidget *window, GdkEvent *ev __attribute__((unused)), gpointer data __attribute__((unused)))