From: Duncan C. <dun...@us...> - 2004-04-27 18:08:01
|
Update of /cvsroot/gtk2hs/gtk2hs/tools/hierarchyGen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28199/tools/hierarchyGen Modified Files: hierarchy.list Log Message: change comments style to be compatible with preprocessor and added some new gtk 2.4 classes Index: hierarchy.list =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/tools/hierarchyGen/hierarchy.list,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- hierarchy.list 11 Dec 2003 22:48:23 -0000 1.4 +++ hierarchy.list 27 Apr 2004 18:07:52 -0000 1.5 @@ -1,24 +1,30 @@ -# This list is the result of a copy-and-paste from the GtkObject hierarchy -# html documentation. Deprecated widgets are uncommented. Some additional -# object have been defined at the end of the copied list. +## This list is the result of a copy-and-paste from the GtkObject hierarchy +## html documentation. Deprecated widgets are uncommented. Some additional +## object have been defined at the end of the copied list. + +## The Gtk prefix of every object is removed, the other prefixes are +## kept. The indentation implies the object hierarchy. In case the +## type query function cannot be derived from the name or the type name +## is different, an alternative name and type query function can be +## specified by appending 'as typename, <query_func>'. In case this +## function is not specified, the <name> is converted to +## gtk_<name'>_get_type where <name'> is <name> where each upperscore +## letter is converted to an underscore and lowerletter. The underscore +## is omitted if an upperscore letter preceeded: GtkHButtonBox -> +## gtk_hbutton_box_get_type. The generation of a type can be +## conditional by appending 'if <tag>'. Such types are only produces if +## --only=<tag> is given on the command line of TypeGenerator. +## This file is preprocessed so you can also generate types conditional +## on the version of gtk by using the GTK_CHECK_VERSION(major,minor,micro) +## macro. + +#include <gtk/gtkversion.h> -# The Gtk prefix of every object is removed, the other prefixes are -# kept. The indentation implies the object hierarchy. In case the -# type query function cannot be derived from the name or the type name -# is different, an alternative name and type query function can be -# specified by appending `as typename, <query_func>'. In case this -# function is not specified, the <name> is converted to -# gtk_<name'>_get_type where <name'> is <name> where each upperscore -# letter is converted to an underscore and lowerletter. The underscore -# is omitted if an upperscore letter preceeded: GtkHButtonBox -> -# gtk_hbutton_box_get_type. The generation of a type can be -# conditional by appending `if <tag>'. Such types are only produces if -# --only=<tag> is given on the command line of TypeGenerator. GObject GdkDrawable as Drawable, gdk_drawable_get_type GdkWindow as DrawWindow, gdk_window_object_get_type -# GdkDrawableImplX11 -# GdkWindowImplX11 +## GdkDrawableImplX11 +## GdkWindowImplX11 GdkPixmap as Pixmap, gdk_pixmap_get_type GdkColormap as Colormap, gdk_colormap_get_type GtkSettings @@ -59,11 +65,14 @@ GtkTearoffMenuItem GtkImageMenuItem GtkListItem -# GtkTreeItem +## GtkTreeItem GtkWindow GtkDialog GtkColorSelectionDialog GtkFileSelection +#if GTK_CHECK_VERSION(2,4,0) + GtkFileChooserDialog +#endif GtkFontSelectionDialog GtkInputDialog GtkMessageDialog @@ -72,6 +81,11 @@ GtkHandleBox GtkScrolledWindow GtkViewport +#if GTK_CHECK_VERSION(2,4,0) + GtkExpander + GtkComboBox + GtkComboBoxEntry +#endif GtkBox GtkButtonBox GtkHButtonBox @@ -80,6 +94,9 @@ GtkColorSelection GtkFontSelection GtkGammaCurve +#if GTK_CHECK_VERSION(2,4,0) + GtkFileChooserWidget +#endif GtkHBox GtkCombo GtkStatusbar @@ -95,7 +112,7 @@ GtkMenu GtkMenuBar GtkNotebook -# GtkPacker +## GtkPacker GtkSocket if plugNsocket GtkTable GtkTextView @@ -121,11 +138,11 @@ GtkHSeparator GtkVSeparator GtkInvisible -# GtkOldEditable -# GtkText +## GtkOldEditable +## GtkText GtkPreview -# Progress is deprecated, ProgressBar contains everything necessary -# GtkProgress +## Progress is deprecated, ProgressBar contains everything necessary +## GtkProgress GtkProgressBar GtkAdjustment GtkIMContext @@ -133,30 +150,37 @@ GtkItemFactory GtkTooltips -# These object were added by hand because they do not show up in the hierarchy -# chart. -# These are derived from GtkObject: +## These object were added by hand because they do not show up in the hierarchy +## chart. +## These are derived from GtkObject: GtkTreeViewColumn GtkCellRenderer GtkCellRendererPixbuf GtkCellRendererText -# GtkCellRendererTextPixbuf +## GtkCellRendererTextPixbuf GtkCellRendererToggle -# These are derived from GObject: + GtkFileFilter +## These are derived from GObject: GtkTreeSelection GtkTreeModel GtkTreeStore GtkListStore GtkTreeModelSort GtkIconFactory +#if GTK_CHECK_VERSION(2,4,0) + GtkEntryCompletion +#endif GtkSourceLanguage if sourceview GtkSourceLanguagesManager if sourceview -#this one is actualy an interface, but all interface implementations must be GObjects + GladeXML as GladeXML, glade_xml_get_type if libglade +## These ones are actualy interfaces, but all interface implementations must be GObjects GtkSourceStyleScheme if sourceview - GladeXML as GladeXML, glade_xml_get_type if libglade -# This now became a GObject in version 2: +#if GTK_CHECK_VERSION(2,4,0) + GtkFileChooser +#endif +## This now became a GObject in version 2: GdkGC as GC, gdk_gc_get_type -# These are Pango structures +## These are Pango structures PangoContext as PangoContext, pango_context_get_type PangoLayout as PangoLayout, pango_layout_get_type PangoFont as Font, pango_font_get_type @@ -164,5 +188,5 @@ PangoFontFace as FontFace, pango_font_face_get_type PangoFontMap as FontMap, pango_font_face_get_type PangoFontset as FontSet, pango_fontset_get_type -# This type is only available for PANGO_ENABLE_BACKEND compiled source -# PangoFontsetSimple as FontSetSimple, pango_fontset_simple_get_type +## This type is only available for PANGO_ENABLE_BACKEND compiled source +## PangoFontsetSimple as FontSetSimple, pango_fontset_simple_get_type |