1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ 2 3 /* fm-properties-window.h - interface for window that lets user modify 4 icon properties 5 6 Copyright (C) 2000 Eazel, Inc. 7 8 The Mate Library is free software; you can redistribute it and/or 9 modify it under the terms of the GNU Library General Public License as 10 published by the Free Software Foundation; either version 2 of the 11 License, or (at your option) any later version. 12 13 The Mate Library is distributed in the hope that it will be useful, 14 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 Library General Public License for more details. 17 18 You should have received a copy of the GNU Library General Public 19 License along with the Mate Library; see the file COPYING.LIB. If not, 20 write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 21 Boston, MA 02110-1301, USA. 22 23 Authors: Darin Adler <darin@bentspoon.com> 24 */ 25 26 #ifndef FM_PROPERTIES_WINDOW_H 27 #define FM_PROPERTIES_WINDOW_H 28 29 #include <gtk/gtk.h> 30 31 #include <libcaja-private/caja-file.h> 32 33 typedef struct FMPropertiesWindow FMPropertiesWindow; 34 35 #define FM_TYPE_PROPERTIES_WINDOW fm_properties_window_get_type() 36 #define FM_PROPERTIES_WINDOW(obj) \ 37 (G_TYPE_CHECK_INSTANCE_CAST ((obj), FM_TYPE_PROPERTIES_WINDOW, FMPropertiesWindow)) 38 #define FM_PROPERTIES_WINDOW_CLASS(klass) \ 39 (G_TYPE_CHECK_CLASS_CAST ((klass), FM_TYPE_PROPERTIES_WINDOW, FMPropertiesWindowClass)) 40 #define FM_IS_PROPERTIES_WINDOW(obj) \ 41 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FM_TYPE_PROPERTIES_WINDOW)) 42 #define FM_IS_PROPERTIES_WINDOW_CLASS(klass) \ 43 (G_TYPE_CHECK_CLASS_TYPE ((klass), FM_TYPE_PROPERTIES_WINDOW)) 44 #define FM_PROPERTIES_WINDOW_GET_CLASS(obj) \ 45 (G_TYPE_INSTANCE_GET_CLASS ((obj), FM_TYPE_PROPERTIES_WINDOW, FMPropertiesWindowClass)) 46 47 typedef struct _FMPropertiesWindowPrivate FMPropertiesWindowPrivate; 48 49 struct FMPropertiesWindow 50 { 51 GtkDialog window; 52 FMPropertiesWindowPrivate *details; 53 }; 54 55 struct FMPropertiesWindowClass 56 { 57 GtkDialogClass parent_class; 58 59 /* Keybinding signals */ 60 void (* close) (FMPropertiesWindow *window); 61 }; 62 63 typedef struct FMPropertiesWindowClass FMPropertiesWindowClass; 64 65 GType fm_properties_window_get_type (void); 66 67 void fm_properties_window_present (GList *files, 68 GtkWidget *parent_widget); 69 70 #endif /* FM_PROPERTIES_WINDOW_H */ 71