1 /* Toplevel file window for the Midnight Commander
3 * Copyright (C) 1998 The Free Software Foundation
5 * Author: Federico Mena <federico@nuclecu.unam.mx>
11 #include <libgnome/gnome-defs.h>
12 #include <libgnomeui/gnome-app.h>
17 /* File listing modes */
24 typedef struct _GmcWindow GmcWindow
;
25 typedef struct _GmcWindowClass GmcWindowClass
;
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);