Cleaned up GUI, by objectifying the data editor. Removed a number of global variables.
[pspp-builds.git] / src / ui / gui / syntax-editor.h
index 038e10624e439d74940a0ebffed5a4e1c1a52480..cfb49803dea1afbd2ecaadef7854f546eb760b95 100644 (file)
 
 #include <gtk/gtk.h>
 
-
+#include "window-manager.h"
 
 struct syntax_editor
 {
-  GtkWidget *window;      /* The top level window of the editor */
+  struct editor_window parent;
   GtkTextBuffer *buffer;  /* The buffer which contains the text */
-  gchar *name;            /* The name of this syntax buffer/editor */
 };
 
 
+struct syntax_editor * new_syntax_editor (void);
+
+void new_syntax_window (GtkMenuItem *, gpointer);
+
+void open_syntax_window (GtkMenuItem *, gpointer);
+
+
 #endif