1 // Scintilla source code edit control 
   2 // ScintillaWidget.h - definition of Scintilla widget for GTK+ 
   3 // Only needed by GTK+ code but is harmless on other platforms. 
   4 // Copyright 1998-2000 by Neil Hodgson <neilh@scintilla.org> 
   5 // The License.txt file describes the conditions under which this software may be distributed. 
   7 #ifndef SCINTILLAWIDGET_H 
   8 #define SCINTILLAWIDGET_H 
  16 #define SCINTILLA(obj)          GTK_CHECK_CAST (obj, scintilla_get_type (), ScintillaObject) 
  17 #define SCINTILLA_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, scintilla_get_type (), ScintillaClass) 
  18 #define IS_SCINTILLA(obj)       GTK_CHECK_TYPE (obj, scintilla_get_type ()) 
  20 typedef struct _ScintillaObject ScintillaObject
; 
  21 typedef struct _ScintillaClass  ScintillaClass
; 
  23 struct _ScintillaObject 
{ 
  28 struct _ScintillaClass 
{ 
  29         GtkFixedClass parent_class
; 
  31         void (* command
) (ScintillaObject 
*ttt
); 
  32         void (* notify
) (ScintillaObject 
*ttt
); 
  35 guint           
scintilla_get_type      (void); 
  36 GtkWidget
*      scintilla_new           (void); 
  37 void            scintilla_set_id        (ScintillaObject 
*sci
,int id
); 
  38 long            scintilla_send_message  (ScintillaObject 
*sci
,int iMessage
,int wParam
,int lParam
);