84d9c625bf
- Fix for possible unset uid/gid in toproto - Fix for default mtree style - Update libelf - Importing libexecinfo - Resynchronize GCC, mpc, gmp, mpfr - build.sh: Replace params with show-params. This has been done as the make target has been renamed in the same way, while a new target named params has been added. This new target generates a file containing all the parameters, instead of printing it on the console. - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org) get getservbyport() out of the inner loop Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
44 lines
1.3 KiB
C
44 lines
1.3 KiB
C
/* $NetBSD: gtkviwindow.h,v 1.2 2013/11/22 15:52:05 christos 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__ */
|