De-fuzzyed some msgs...
[midnight-commander.git] / gnome / gmc-window.h
blob59e905dfa103ba163fc2c48b0208bb69fdaec766
1 /* Toplevel file window for the Midnight Commander
3 * Copyright (C) 1998 The Free Software Foundation
5 * Author: Federico Mena <federico@nuclecu.unam.mx>
6 */
8 #ifndef GMC_WINDOW_H
9 #define GMC_WINDOW_H
11 #include <libgnome/gnome-defs.h>
12 #include <libgnomeui/gnome-app.h>
14 BEGIN_GNOME_DECLS
17 /* File listing modes */
18 typedef enum {
19 FILE_LIST_LIST,
20 FILE_LIST_ICONS
21 } FileListType;
24 typedef struct _GmcWindow GmcWindow;
25 typedef struct _GmcWindowClass GmcWindowClass;
27 struct _GmcWindow {
28 GnomeApp app;
30 GtkWidget *paned; /* Paned container to split into tree/list views */
31 GtkWidget *tree; /* Tree view */
32 GtkWidget *notebook; /* Notebook to switch between list and icon views */
33 GtkWidget *clist_sw; /* Scrolled window for the clist */
34 GtkWidget *clist; /* List view (column list) */
35 GtkWidget *ilist_sw; /* Scrolled window for the icon list */
36 GtkWidget *ilist; /* Icon view (icon list) */
38 FileListType list_type; /* Current file listing type */
41 struct _GmcWindowClass {
42 GnomeAppClass parent_class;
46 /* Standard Gtk function */
47 GtkType gmc_window_get_type (void);
49 /* Creates a new GMC window */
50 GtkWidget *gmc_window_new (void);
53 END_GNOME_DECLS
55 #endif