distrib: run libtoolize
[nvi.git] / gtk / gtkviwindow.h
blob8d0da4e274f90fd8b3184dea26c6ca37d9ac089c
1 #ifndef __GTK_VI_WINDOW_H__
2 #define __GTK_VI_WINDOW_H__
4 #ifndef HAVE_PANGO
5 #define gtk_marshal_VOID__STRING gtk_marshal_NONE__STRING
6 #define GTK_CLASS_TYPE(class) class->type
7 #endif
9 #define GTK_TYPE_VI_WINDOW (gtk_vi_window_get_type ())
10 #define GTK_VI_WINDOW(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_VI_WINDOW, GtkViWindow))
11 #define GTK_VI_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_VI_WINDOW, GtkViWindowClass))
12 #define GTK_IS_VI_WINDOW(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_VI_WINDOW))
13 #define GTK_IS_VI_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VI_WINDOW))
15 typedef struct _GtkViWindow GtkViWindow;
16 typedef struct _GtkViWindowClass GtkViWindowClass;
18 struct _GtkViWindow
20 GtkNotebook notebook;
22 GtkWidget *term;
24 GtkVi *vi;
25 GtkWidget *table;
26 GtkWidget *vi_screen;
27 gint value_changed;
28 int resized;
30 gint input_func;
31 IPVIWIN *ipviwin;
34 struct _GtkViWindowClass
36 GtkNotebookClass parent_class;
39 GtkType gtk_vi_window_get_type (void);
40 GtkWidget * gtk_vi_window_new (GtkVi *vi);
41 void gtk_vi_window_scrollbar(GtkViWindow *vi, guint top, guint size, guint max);
43 #endif /* __GTK_VI_WINDOW_H__ */