1 #ifndef WINDOW_MANAGER_H
2 #define WINDOW_MANAGER_H
15 GtkWindow *window; /* The top level window of the editor */
16 gchar *name; /* The name of this editor (UTF-8) */
17 enum window_type type;
20 struct editor_window * window_create (enum window_type type,
23 const gchar * window_name (const struct editor_window *);
25 /* Set the name of this window based on FILENAME.
26 FILENAME is in "filename encoding" */
27 void window_set_name_from_filename (struct editor_window *e,
28 const gchar *filename);
30 void default_window_name (struct editor_window *w);
32 void minimise_all_windows (void);