Convenience functions for setting/retrieving window geometry.
[pspp] / src / ui / gui / psppire-conf.h
index f98c25a095689e132962a96ca23dda2f8d8bcacd..b98c1e65ffd7e0607a8970e060e7162eef951ae9 100644 (file)
@@ -18,6 +18,8 @@
 #include <glib-object.h>
 #include <glib.h>
 
+#include <gtk/gtkwindow.h>
+
 #ifndef __PSPPIRE_CONF_H__
 #define __PSPPIRE_CONF_H__
 
@@ -80,6 +82,14 @@ void psppire_conf_set_int (PsppireConf *conf,
                           const gchar *base, const gchar *name,
                           gint value);
 
+void psppire_conf_set_window_geometry (PsppireConf *conf,
+                                      const gchar *base,
+                                      GtkWindow *window);
+
+void psppire_conf_save_window_geometry (PsppireConf *,
+                                       const gchar *,
+                                       GdkEventConfigure *);
+
 
 G_END_DECLS