Initial import of ephy (rev# 7126) from svn
[ephy-soc.git] / lib / .svn / text-base / ephy-state.h.svn-base
blobb576d190e9af006a08f07bed4d5a2c8db8d18d75
1 /*
2  *  Copyright © 2001 Matthew Mueller
3  *  Copyright © 2002 Jorn Baayen <jorn@nl.linux.org>
4  *  Copyright © 2003 Marco Pesenti Gritti <mpeseng@tin.it>
5  *
6  *  This program is free software; you can redistribute it and/or modify
7  *  it under the terms of the GNU General Public License as published by
8  *  the Free Software Foundation; either version 2, or (at your option)
9  *  any later version.
10  *
11  *  This program is distributed in the hope that it will be useful,
12  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  *  GNU General Public License for more details.
15  *
16  *  You should have received a copy of the GNU General Public License
17  *  along with this program; if not, write to the Free Software
18  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19  *
20  *  $Id$
21  */
23 #ifndef EPHY_STATE_H
24 #define EPHY_STATE_H
26 #include "gtk/gtkwidget.h"
28 G_BEGIN_DECLS
30 typedef enum
32         EPHY_STATE_WINDOW_SAVE_NONE = 0,
33         EPHY_STATE_WINDOW_SAVE_SIZE = 1 << 0,
34         EPHY_STATE_WINDOW_SAVE_POSITION = 1 << 1
35 } EphyStateWindowFlags;
37 void  ephy_state_add_window     (GtkWidget *window,
38                                  const char *name,
39                                  int default_width,
40                                  int default_heigth,
41                                  gboolean maximize,
42                                  EphyStateWindowFlags flags);
44 void  ephy_state_add_paned      (GtkWidget *paned,
45                                  const char *name,
46                                  int default_width);
48 void  ephy_state_add_expander   (GtkWidget *widget,
49                                  const char *name,
50                                  gboolean default_state);
52 void  ephy_state_save           (void);
54 G_END_DECLS
56 #endif /* EPHY_STATE_H */