+
+static void
+minimise_all (gpointer key,
+ gpointer value,
+ gpointer user_data)
+{
+ PsppireWindow *w = PSPPIRE_WINDOW (value);
+
+ gtk_window_iconify (w);
+}
+
+
+
+void
+psppire_window_minimise_all (void)
+{
+ g_hash_table_foreach (the_class->name_table, minimise_all, NULL);
+}
+
+
+
+\f
+
+GType
+psppire_window_usage_get_type (void)
+{
+ static GType etype = 0;
+ if (etype == 0)
+ {
+ static const GEnumValue values[] = {
+ { PSPPIRE_WINDOW_USAGE_SYNTAX, "PSPPIRE_WINDOW_USAGE_SYNTAX",
+ "Syntax" },
+
+ { PSPPIRE_WINDOW_USAGE_OUTPUT, "PSPPIRE_WINDOW_USAGE_OUTPUT",
+ "Output" },
+
+ { PSPPIRE_WINDOW_USAGE_DATA, "PSPPIRE_WINDOW_USAGE_DATA",
+ "Data" },
+
+ { 0, NULL, NULL }
+ };
+
+ etype = g_enum_register_static
+ (g_intern_static_string ("PsppireWindowUsage"), values);
+ }
+
+ return etype;
+}