2 PSPPIRE --- A Graphical User Interface for PSPP
3 Copyright (C) 2007 Free Software Foundation
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 #ifndef WINDOW_MANAGER_H
22 #define WINDOW_MANAGER_H
35 GtkWindow *window; /* The top level window of the editor */
36 gchar *name; /* The name of this editor (UTF-8) */
37 enum window_type type;
40 struct editor_window * window_create (enum window_type type,
43 const gchar * window_name (const struct editor_window *);
45 /* Set the name of this window based on FILENAME.
46 FILENAME is in "filename encoding" */
47 void window_set_name_from_filename (struct editor_window *e,
48 const gchar *filename);
50 void default_window_name (struct editor_window *w);
52 void minimise_all_windows (void);