Resurrect earlier fix of resize_frame_windows
[emacs.git] / src / emacsgtkfixed.h
blob3d6a76ab5708dcbdca6e1ee2012b5de60d777109
1 /* A Gtk Widget that inherits GtkFixed, but can be shrunk.
2 This file is only use when compiling with Gtk+ 3.
4 Copyright (C) 2011-2016 Free Software Foundation, Inc.
6 This file is part of GNU Emacs.
8 GNU Emacs is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or (at
11 your option) any later version.
13 GNU Emacs 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
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
21 #ifndef EMACSGTKFIXED_H
22 #define EMACSGTKFIXED_H
24 #include <gtk/gtk.h>
26 struct frame;
28 G_BEGIN_DECLS
30 struct frame;
32 typedef struct _EmacsFixedPrivate EmacsFixedPrivate;
33 typedef struct _EmacsFixedClass EmacsFixedClass;
35 struct _EmacsFixed
37 GtkFixed container;
39 /*< private >*/
40 EmacsFixedPrivate *priv;
43 struct _EmacsFixedClass
45 GtkFixedClass parent_class;
48 extern GtkWidget *emacs_fixed_new (struct frame *f);
50 G_END_DECLS
52 #endif /* EMACSGTKFIXED_H */