view src/gtk-xemacs.h @ 985:7f62a956b825

[xemacs-hg @ 2002-09-01 06:41:40 by youngs] 2002-08-31 Seiichi Ikiuo <ikiuo@polyphony.co.jp> * code-init.el (reset-coding-categories-to-default): Add new coding category 'utf-8-bom'. * coding.el (coding-system-category): Add check for 'utf-8-bom'. * unicode.el: Add new coding system 'utf-8-bom'. 2002-08-31 Seiichi Ikiuo <ikiuo@polyphony.co.jp> * file-coding.h (detection_result): fix DET_LOWEST. * mule-coding.c (big5_detector): Add member 'seen_euc_char'. (big5_detect): It was made not to become the trouble of EUC. (iso2022_detector): Add member 'longest_even_high_byte'. (iso2022_detect): Fix checking for even/odd_high_byte_group. The judgment of EUC is changed. * unicode.c: Add DETECTOR_CATEGORY utf_8_bom. (utf_8_detector): Add member byteno, first_byte and second_byte. (utf_8_detect): The judgment of UTF-8-BOM is added.
author youngs
date Sun, 01 Sep 2002 06:41:45 +0000
parents 0784d089fdc9
children 543769b89fed
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>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#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);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __GTK_XEMACS_H__ */