462
|
1 /* gtk-xemacs.h
|
|
2 **
|
|
3 ** Description: A widget to encapsulate a XEmacs 'text widget'
|
|
4 **
|
|
5 ** Created by: William M. Perry
|
|
6 ** Copyright (c) 2000 William M. Perry <wmperry@gnu.org>
|
|
7 **
|
|
8 */
|
|
9
|
|
10 #ifndef __GTK_XEMACS_H__
|
|
11 #define __GTK_XEMACS_H__
|
|
12
|
|
13 #include <config.h>
|
|
14 #include "frame.h"
|
|
15 #include <gdk/gdk.h>
|
|
16 #include <gtk/gtkfixed.h>
|
|
17
|
1743
|
18 BEGIN_C_DECLS
|
462
|
19
|
|
20 #define GTK_XEMACS(obj) GTK_CHECK_CAST (obj, gtk_xemacs_get_type (), GtkXEmacs)
|
|
21 #define GTK_XEMACS_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_xemacs_get_type (), GtkXEmacsClass)
|
|
22 #define GTK_IS_XEMACS(obj) GTK_CHECK_TYPE (obj, gtk_xemacs_get_type ())
|
|
23 #define GTK_XEMACS_FRAME(obj) GTK_XEMACS (obj)->f
|
|
24
|
|
25 typedef struct _GtkXEmacs GtkXEmacs;
|
|
26 typedef struct _GtkXEmacsClass GtkXEmacsClass;
|
|
27
|
|
28 struct _GtkXEmacs
|
|
29 {
|
|
30 GtkFixed fixed;
|
|
31 struct frame *f;
|
|
32 };
|
|
33
|
|
34 struct _GtkXEmacsClass
|
|
35 {
|
|
36 GtkFixedClass parent_class;
|
|
37 };
|
|
38
|
|
39 guint gtk_xemacs_get_type (void);
|
|
40 GtkWidget *gtk_xemacs_new (struct frame *f);
|
|
41
|
1743
|
42 END_C_DECLS
|
462
|
43
|
|
44 #endif /* __GTK_XEMACS_H__ */
|