Branch: Tag:

1999-11-07

1999-11-07 01:43:31 by Per Hedbor <ph@opera.com>

Initial version in the new pike post_module system

Rev: lib/modules/GDK.pmod:1.1
Rev: lib/modules/GDKSupport.pmod/README:1.1
Rev: lib/modules/GTKSupport.pmod/Alert.pike:1.1
Rev: lib/modules/GTKSupport.pmod/MenuFactory.pmod:1.1
Rev: lib/modules/GTKSupport.pmod/SClist.pike:1.1
Rev: lib/modules/GTKSupport.pmod/Util.pmod:1.1
Rev: lib/modules/GTKSupport.pmod/pCtree.pike:1.1
Rev: lib/modules/GTKSupport.pmod/pDrawingArea.pike:1.1
Rev: src/post_modules/GL/.cvsignore:1.1
Rev: src/post_modules/GL/Makefile.in:1.4
Rev: src/post_modules/GL/acconfig.h:1.3
Rev: src/post_modules/GL/auto.c.in:1.13
Rev: src/post_modules/GL/configure.in:1.6
Rev: src/post_modules/GL/constants.pike:1.1
Rev: src/post_modules/GL/features.pike:1.9
Rev: src/post_modules/GL/gen.pike:1.12
Rev: src/post_modules/GL/top.c:1.11
Rev: src/post_modules/GTK/.cvsignore:1.1
Rev: src/post_modules/GTK/AUTHORS:1.1
Rev: src/post_modules/GTK/Makefile.in:1.1
Rev: src/post_modules/GTK/aclocal.m4:1.1
Rev: src/post_modules/GTK/build_pgtk.pike:1.1
Rev: src/post_modules/GTK/configure.in:1.1
Rev: src/post_modules/GTK/dependencies:1.1
Rev: src/post_modules/GTK/dummy.c:1.1
Rev: src/post_modules/GTK/dump_cursors.pike:1.1
Rev: src/post_modules/GTK/examples/gcolor.pike:1.1
Rev: src/post_modules/GTK/examples/low_level/psnow/psnow.pike:1.1
Rev: src/post_modules/GTK/examples/low_level/psnow/snow00.pbm:1.1
Rev: src/post_modules/GTK/examples/low_level/psnow/snow01.pbm:1.1
Rev: src/post_modules/GTK/examples/low_level/psnow/snow02.pbm:1.1
Rev: src/post_modules/GTK/examples/low_level/psnow/snow03.pbm:1.1
Rev: src/post_modules/GTK/examples/low_level/psnow/snow04.pbm:1.1
Rev: src/post_modules/GTK/examples/low_level/psnow/snow05.pbm:1.1
Rev: src/post_modules/GTK/examples/low_level/psnow/snow06.pbm:1.1
Rev: src/post_modules/GTK/examples/pv:1.1
Rev: src/post_modules/GTK/examples/simple_menu.pike:1.1
Rev: src/post_modules/GTK/examples/simple_menu_shortcuts:1.1
Rev: src/post_modules/GTK/examples/testdnd.pike:1.1
Rev: src/post_modules/GTK/make_example_image.pike:1.1
Rev: src/post_modules/GTK/make_sources.pike:1.1
Rev: src/post_modules/GTK/module.pmod.in:1.1
Rev: src/post_modules/GTK/options.in:1.1
Rev: src/post_modules/GTK/pcdocs/Alert:1.1
Rev: src/post_modules/GTK/pcdocs/MenuFactory:1.1
Rev: src/post_modules/GTK/pcdocs/SClist:1.1
Rev: src/post_modules/GTK/pcdocs/pDrawingArea:1.1
Rev: src/post_modules/GTK/pgtk.c.head:1.1
Rev: src/post_modules/GTK/pgtk.h:1.1
Rev: src/post_modules/GTK/source/constants.pre:1.1
Rev: src/post_modules/GTK/source/encode_truecolor.c:1.1
Rev: src/post_modules/GTK/source/gdkatom.pre:1.1
Rev: src/post_modules/GTK/source/gdkbitmap.pre:1.1
Rev: src/post_modules/GTK/source/gdkcolor.pre:1.1
Rev: src/post_modules/GTK/source/gdkdragcontext.pre:1.1
Rev: src/post_modules/GTK/source/gdkdrawable.pre:1.1
Rev: src/post_modules/GTK/source/gdkfont.pre:1.1
Rev: src/post_modules/GTK/source/gdkgc.pre:1.1
Rev: src/post_modules/GTK/source/gdkimage.pre:1.1
Rev: src/post_modules/GTK/source/gdkpixmap.pre:1.1
Rev: src/post_modules/GTK/source/gdkrectangle.pre:1.1
Rev: src/post_modules/GTK/source/gdkregion.pre:1.1
Rev: src/post_modules/GTK/source/gdkwindow.pre:1.1
Rev: src/post_modules/GTK/source/global.pre:1.1
Rev: src/post_modules/GTK/source/gtkaccelgroup.pre:1.1
Rev: src/post_modules/GTK/source/gtkaccellabel.pre:1.1
Rev: src/post_modules/GTK/source/gtkadjustment.pre:1.1
Rev: src/post_modules/GTK/source/gtkalignment.pre:1.1
Rev: src/post_modules/GTK/source/gtkarrow.pre:1.1
Rev: src/post_modules/GTK/source/gtkaspectframe.pre:1.1
Rev: src/post_modules/GTK/source/gtkbin.pre:1.1
Rev: src/post_modules/GTK/source/gtkbox.pre:1.1
Rev: src/post_modules/GTK/source/gtkbutton.pre:1.1
Rev: src/post_modules/GTK/source/gtkbuttonbox.pre:1.1
Rev: src/post_modules/GTK/source/gtkcalendar.pre:1.1
Rev: src/post_modules/GTK/source/gtkcheckbutton.pre:1.1
Rev: src/post_modules/GTK/source/gtkcheckmenuitem.pre:1.1
Rev: src/post_modules/GTK/source/gtkclist.pre:1.1
Rev: src/post_modules/GTK/source/gtkcolorselection.pre:1.1
Rev: src/post_modules/GTK/source/gtkcolorselectiondialog.pre:1.1
Rev: src/post_modules/GTK/source/gtkcombo.pre:1.1
Rev: src/post_modules/GTK/source/gtkcontainer.pre:1.1
Rev: src/post_modules/GTK/source/gtkctree.pre:1.1
Rev: src/post_modules/GTK/source/gtkcurve.pre:1.1
Rev: src/post_modules/GTK/source/gtkdata.pre:1.1
Rev: src/post_modules/GTK/source/gtkdialog.pre:1.1
Rev: src/post_modules/GTK/source/gtkdraw.pre:1.1
Rev: src/post_modules/GTK/source/gtkdrawingarea.pre:1.1
Rev: src/post_modules/GTK/source/gtkeditable.pre:1.1
Rev: src/post_modules/GTK/source/gtkentry.pre:1.1
Rev: src/post_modules/GTK/source/gtkeventbox.pre:1.1
Rev: src/post_modules/GTK/source/gtkfileselection.pre:1.1
Rev: src/post_modules/GTK/source/gtkfixed.pre:1.1
Rev: src/post_modules/GTK/source/gtkfontselection.pre:1.1
Rev: src/post_modules/GTK/source/gtkfontselectiondialog.pre:1.1
Rev: src/post_modules/GTK/source/gtkframe.pre:1.1
Rev: src/post_modules/GTK/source/gtkgammacurve.pre:1.1
Rev: src/post_modules/GTK/source/gtkglarea.pre:1.1
Rev: src/post_modules/GTK/source/gtkhandlebox.pre:1.1
Rev: src/post_modules/GTK/source/gtkhbbox.pre:1.1
Rev: src/post_modules/GTK/source/gtkhbox.pre:1.1
Rev: src/post_modules/GTK/source/gtkhpaned.pre:1.1
Rev: src/post_modules/GTK/source/gtkhruler.pre:1.1
Rev: src/post_modules/GTK/source/gtkhscale.pre:1.1
Rev: src/post_modules/GTK/source/gtkhscrollbar.pre:1.1
Rev: src/post_modules/GTK/source/gtkhseparator.pre:1.1
Rev: src/post_modules/GTK/source/gtkimage.pre:1.1
Rev: src/post_modules/GTK/source/gtkinputdialog.pre:1.1
Rev: src/post_modules/GTK/source/gtkinvisible.pre:1.1
Rev: src/post_modules/GTK/source/gtkitem.pre:1.1
Rev: src/post_modules/GTK/source/gtklabel.pre:1.1
Rev: src/post_modules/GTK/source/gtklayout.pre:1.1
Rev: src/post_modules/GTK/source/gtklist.pre:1.1
Rev: src/post_modules/GTK/source/gtklistitem.pre:1.1
Rev: src/post_modules/GTK/source/gtkmenu.pre:1.1
Rev: src/post_modules/GTK/source/gtkmenubar.pre:1.1
Rev: src/post_modules/GTK/source/gtkmenuitem.pre:1.1
Rev: src/post_modules/GTK/source/gtkmenushell.pre:1.1
Rev: src/post_modules/GTK/source/gtkmisc.pre:1.1
Rev: src/post_modules/GTK/source/gtknotebook.pre:1.1
Rev: src/post_modules/GTK/source/gtkobject.pre:1.1
Rev: src/post_modules/GTK/source/gtkoptionmenu.pre:1.1
Rev: src/post_modules/GTK/source/gtkpacker.pre:1.1
Rev: src/post_modules/GTK/source/gtkpaned.pre:1.1
Rev: src/post_modules/GTK/source/gtkpixmap.pre:1.1
Rev: src/post_modules/GTK/source/gtkplot.pre:1.1
Rev: src/post_modules/GTK/source/gtkplug.pre:1.1
Rev: src/post_modules/GTK/source/gtkprogress.pre:1.1
Rev: src/post_modules/GTK/source/gtkprogressbar.pre:1.1
Rev: src/post_modules/GTK/source/gtkradiobutton.pre:1.1
Rev: src/post_modules/GTK/source/gtkradiomenuitem.pre:1.1
Rev: src/post_modules/GTK/source/gtkrange.pre:1.1
Rev: src/post_modules/GTK/source/gtkruler.pre:1.1
Rev: src/post_modules/GTK/source/gtkscale.pre:1.1
Rev: src/post_modules/GTK/source/gtkscrollbar.pre:1.1
Rev: src/post_modules/GTK/source/gtkscrolledwindow.pre:1.1
Rev: src/post_modules/GTK/source/gtkselectiondata.pre:1.1
Rev: src/post_modules/GTK/source/gtkseparator.pre:1.1
Rev: src/post_modules/GTK/source/gtksheet.pre:1.1
Rev: src/post_modules/GTK/source/gtksocket.pre:1.1
Rev: src/post_modules/GTK/source/gtkspinbutton.pre:1.1
Rev: src/post_modules/GTK/source/gtkstatusbar.pre:1.1
Rev: src/post_modules/GTK/source/gtkstyle.pre:1.1
Rev: src/post_modules/GTK/source/gtktable.pre:1.1
Rev: src/post_modules/GTK/source/gtktearoffmenuitem.pre:1.1
Rev: src/post_modules/GTK/source/gtktext.pre:1.1
Rev: src/post_modules/GTK/source/gtktipsquery.pre:1.1
Rev: src/post_modules/GTK/source/gtktogglebutton.pre:1.1
Rev: src/post_modules/GTK/source/gtktoolbar.pre:1.1
Rev: src/post_modules/GTK/source/gtktooltips.pre:1.1
Rev: src/post_modules/GTK/source/gtktree.pre:1.1
Rev: src/post_modules/GTK/source/gtktreeitem.pre:1.1
Rev: src/post_modules/GTK/source/gtkvbox.pre:1.1
Rev: src/post_modules/GTK/source/gtkvbuttonbox.pre:1.1
Rev: src/post_modules/GTK/source/gtkviewport.pre:1.1
Rev: src/post_modules/GTK/source/gtkvpaned.pre:1.1
Rev: src/post_modules/GTK/source/gtkvruler.pre:1.1
Rev: src/post_modules/GTK/source/gtkvscale.pre:1.1
Rev: src/post_modules/GTK/source/gtkvscrollbar.pre:1.1
Rev: src/post_modules/GTK/source/gtkvseparator.pre:1.1
Rev: src/post_modules/GTK/source/gtkwidget.pre:1.1
Rev: src/post_modules/GTK/source/gtkwindow.pre:1.1
Rev: src/post_modules/GTK/source/support.c:1.1

1: + inherit "GTK.so"; + #define INDEX(x) predef::`->(this_object(),(x))    -  + object Atom = class + { +  mapping atoms = ([]); +  +  class fake_atom +  { +  object ra; +  string n; +  object get_atom() +  { +  if(ra) return ra; +  return ra = Gdk_Atom( n, 0 ); +  } +  string get_name() +  { +  return get_atom()->get_name(); +  } +  void create(string q) +  { +  n = q; +  } +  } +  +  object `[](string what) +  { +  if(atoms[what]) +  return atoms[what]; +  return atoms[what] = fake_atom( what ); +  } + }(); +  + mixed `[](string what) + { +  if(what == "_module_value") return ([])[0]; +  +  if(what == "Atom") return Atom; +  +  if(!zero_type(INDEX("Gdk"+what))) +  return INDEX("Gdk"+what); +  if(!zero_type(INDEX("GDK_"+what))) +  return INDEX("GDK_"+what); +  if(!zero_type(INDEX("GDK_"+upper_case(GTK.unsillycaps(what))))) +  return INDEX("GDK_"+upper_case(GTK.unsillycaps(what))); +  return GDKSupport[what]; + }   Newline at end of file added.