#ifndef lint static char rcsId[]="$Header: /cvs/gnome/gnome-libs/gtk-xmhtml/forms.c,v 1.5 1998/02/12 03:08:49 unammx Exp $"; #endif /***** * forms.c : XmHTML form support * * This file Version $Revision: 1.5 $ * * Creation date: Thu Apr 3 16:06:10 GMT+0100 1997 * Last modification: $Date: 1998/02/12 03:08:49 $ * By: $Author: unammx $ * Current State: $State: Exp $ * * Author: newt * * Copyright (C) 1994-1997 by Ripley Software Development * All Rights Reserved * * This file is part of the XmHTML Widget Library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * *****/ /***** * ChangeLog * $Log: forms.c,v $ * Revision 1.5 1998/02/12 03:08:49 unammx * Merge to Koen's XmHTML 1.1.2 + following fixes: * * Wed Feb 11 20:27:19 1998 Miguel de Icaza * * * gtk-forms.c (freeForm): gtk_destroy_widget is no longer needed * with the refcounting changes. * * * gtk-xmhtml.c (gtk_xmhtml_remove): Only god knows why I was * adding the just removed widget. * * Revision 1.4 1997/12/29 22:16:27 unammx * This version does: * * - Sync with Koen to version Beta 1.1.2c of the XmHTML widget. * Includes various table fixes. * * - Callbacks are now properly checked for the Gtk edition (ie, * signals). * * Revision 1.3 1997/12/25 01:34:11 unammx * Good news for the day: * * I have upgraded our XmHTML sources to XmHTML 1.1.1. * * This basically means that we got table support :-) * * Still left to do: * * - Set/Get gtk interface for all of the toys in the widget. * - Frame support is broken, dunno why. * - Form support (ie adding widgets to it) * * Miguel. * * Revision 1.2 1997/12/24 17:53:54 unammx * Fun stuff: * * The widget now handles mouse motion, mouse clicks, anchors can * be clicked. * * The widget emits signals for all of the interesting events * (the same events that were used by the Motif port, we just use * signals instead of XtCallbacks). * * Boring stuff: * * The widget now handles focusin/focusout/enternotif/leavenotify * * More code sharing between the Motif frontend an the Gtk * frontned; More portability macros; * * Cleaned up some more the privte widget header files. * * Revision 1.1 1997/12/18 00:40:42 unammx * . * * Revision 1.6 1997/10/23 00:25:00 newt * XmHTML Beta 1.1.0 release * * Revision 1.5 1997/08/31 17:35:00 newt * Fixed translation table memory leak, translation tables are now only * parsed once and then reused. * * Revision 1.4 1997/08/30 01:00:46 newt * *Lots* of changes. Every HTML form component is now supported. * Traversal and form reset more-or-less works. * * Revision 1.3 1997/08/01 13:00:42 newt * Much enhancements: all elements except