view src/gtk-xemacs.h @ 4118:9aa33376bb5e

[xemacs-hg @ 2007-08-15 12:28:06 by michaels] 2007-08-12 Mike Sperber <mike@xemacs.org> * Makefile.in.in (datarootdir): Add. * configure.ac (infodir): Now in terms of $(datarootdir). (mandir): Ditto, making it usually point to $(prefix)/share/man, conformant with the GNU Coding Standards. lib-src: 2007-08-12 Mike Sperber <mike@xemacs.org> * Makefile.in.in (datarootdir): Add. netinstall: 2007-08-12 Mike Sperber <mike@xemacs.org> * Makefile.in.in (datarootdir): Add.
author michaels
date Wed, 15 Aug 2007 12:28:45 +0000
parents 543769b89fed
children db7068430402
line wrap: on
line source

/* gtk-xemacs.h
**
** Description: A widget to encapsulate a XEmacs 'text widget'
**
** Created by: William M. Perry
** Copyright (c) 2000 William M. Perry <wmperry@gnu.org>
**
*/

#ifndef __GTK_XEMACS_H__
#define __GTK_XEMACS_H__

#include <config.h>
#include "frame.h"
#include <gdk/gdk.h>
#include <gtk/gtkfixed.h>

BEGIN_C_DECLS

#define GTK_XEMACS(obj)			GTK_CHECK_CAST (obj, gtk_xemacs_get_type (), GtkXEmacs)
#define GTK_XEMACS_CLASS(klass)	GTK_CHECK_CLASS_CAST (klass, gtk_xemacs_get_type (), GtkXEmacsClass)
#define GTK_IS_XEMACS(obj)		GTK_CHECK_TYPE (obj, gtk_xemacs_get_type ())
#define GTK_XEMACS_FRAME(obj)	GTK_XEMACS (obj)->f

	typedef struct _GtkXEmacs GtkXEmacs;
	typedef struct _GtkXEmacsClass GtkXEmacsClass;

	struct _GtkXEmacs
	{
		GtkFixed fixed;
		struct frame *f;
	};

	struct _GtkXEmacsClass
	{
		GtkFixedClass parent_class;
	};

	guint gtk_xemacs_get_type (void);
	GtkWidget *gtk_xemacs_new (struct frame *f);

END_C_DECLS

#endif /* __GTK_XEMACS_H__ */