projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented the recently used files menus.
[pspp]
/
src
/
ui
/
gui
/
window-manager.h
diff --git
a/src/ui/gui/window-manager.h
b/src/ui/gui/window-manager.h
index ee137dbc48a00f888531900a14d9dba02bd72e60..ba0abced435848a43eac661b62e13da9fbfe0e38 100644
(file)
--- a/
src/ui/gui/window-manager.h
+++ b/
src/ui/gui/window-manager.h
@@
-12,20
+12,24
@@
enum window_type
struct editor_window
{
struct editor_window
{
- GtkWi
dget
*window; /* The top level window of the editor */
- gchar *name; /* The name of this editor */
+ GtkWi
ndow
*window; /* The top level window of the editor */
+ gchar *name; /* The name of this editor
(UTF-8)
*/
enum window_type type;
} ;
struct editor_window * window_create (enum window_type type,
const gchar *name);
enum window_type type;
} ;
struct editor_window * window_create (enum window_type type,
const gchar *name);
-
-GtkWindow * window_toplevel (const struct editor_window *);
-
const gchar * window_name (const struct editor_window *);
const gchar * window_name (const struct editor_window *);
+/* Set the name of this window based on FILENAME.
+ FILENAME is in "filename encoding" */
void window_set_name_from_filename (struct editor_window *e,
const gchar *filename);
void window_set_name_from_filename (struct editor_window *e,
const gchar *filename);
+void default_window_name (struct editor_window *w);
+
+void minimise_all_windows (void);
+
+
#endif
#endif