Expand PMF_FN_* macros.
[netbsd-mini2440.git] / dist / nvi / gtk / gtkviwindow.h
blobea0094b49ae5ada76b3002c4c8405b90f7bab98d
1 /* $NetBSD$ */
3 #ifndef __GTK_VI_WINDOW_H__
4 #define __GTK_VI_WINDOW_H__
6 #ifndef HAVE_PANGO
7 #define gtk_marshal_VOID__STRING gtk_marshal_NONE__STRING
8 #define GTK_CLASS_TYPE(class) class->type
9 #endif
11 #define GTK_TYPE_VI_WINDOW (gtk_vi_window_get_type ())
12 #define GTK_VI_WINDOW(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_VI_WINDOW, GtkViWindow))
13 #define GTK_VI_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_VI_WINDOW, GtkViWindowClass))
14 #define GTK_IS_VI_WINDOW(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_VI_WINDOW))
15 #define GTK_IS_VI_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VI_WINDOW))
17 typedef struct _GtkViWindow GtkViWindow;
18 typedef struct _GtkViWindowClass GtkViWindowClass;
20 struct _GtkViWindow
22 GtkNotebook notebook;
24 GtkWidget *term;
26 GtkVi *vi;
27 GtkWidget *table;
28 GtkWidget *vi_screen;
29 gint value_changed;
30 int resized;
32 gint input_func;
33 IPVIWIN *ipviwin;
36 struct _GtkViWindowClass
38 GtkNotebookClass parent_class;
41 GtkType gtk_vi_window_get_type (void);
42 GtkWidget * gtk_vi_window_new (GtkVi *vi);
43 void gtk_vi_window_scrollbar(GtkViWindow *vi, guint top, guint size, guint max);
45 #endif /* __GTK_VI_WINDOW_H__ */