minix/dist/nvi/gtk/gtkviwindow.h
Lionel Sambuc 3e1db26a5a Termcap update, replacing elvis by nvi.
Removing elvis, importing nvi, ctags, updating libedit.

Change-Id: I881eb04d2dc64cf112facd992de1114e1a59107f
2013-01-24 07:44:38 +01:00

45 lines
1.3 KiB
C

/* $NetBSD: gtkviwindow.h,v 1.1.1.2 2008/05/18 14:31:22 aymeric Exp $ */
#ifndef __GTK_VI_WINDOW_H__
#define __GTK_VI_WINDOW_H__
#ifndef HAVE_PANGO
#define gtk_marshal_VOID__STRING gtk_marshal_NONE__STRING
#define GTK_CLASS_TYPE(class) class->type
#endif
#define GTK_TYPE_VI_WINDOW (gtk_vi_window_get_type ())
#define GTK_VI_WINDOW(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_VI_WINDOW, GtkViWindow))
#define GTK_VI_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_VI_WINDOW, GtkViWindowClass))
#define GTK_IS_VI_WINDOW(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_VI_WINDOW))
#define GTK_IS_VI_WINDOW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VI_WINDOW))
typedef struct _GtkViWindow GtkViWindow;
typedef struct _GtkViWindowClass GtkViWindowClass;
struct _GtkViWindow
{
GtkNotebook notebook;
GtkWidget *term;
GtkVi *vi;
GtkWidget *table;
GtkWidget *vi_screen;
gint value_changed;
int resized;
gint input_func;
IPVIWIN *ipviwin;
};
struct _GtkViWindowClass
{
GtkNotebookClass parent_class;
};
GtkType gtk_vi_window_get_type (void);
GtkWidget * gtk_vi_window_new (GtkVi *vi);
void gtk_vi_window_scrollbar(GtkViWindow *vi, guint top, guint size, guint max);
#endif /* __GTK_VI_WINDOW_H__ */