/*****
* callbacks.c : XmHTML callback routines
*
* This file Version $Revision: 1.6 $
*
* Creation date: Mon Dec 2 19:58:52 GMT+0100 1996
* Last modification: $Date: 1999/07/29 01:26:28 $
* By: $Author: sopwith $
* Current State: $State: Exp $
*
* Author: newt
* (C)Copyright 1995-1996 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: callbacks.c,v $
* Revision 1.6 1999/07/29 01:26:28 sopwith
*
*
* Fix all warnings.
*
* Revision 1.5 1998/02/12 03:08:30 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:23 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:10 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/17 04:40:28 unammx
* Your daily XmHTML code is here. It almost links. Only the
* images.c file is left to port. Once this is ported we are all
* set to start debugging this baby.
*
* btw, Dickscrape is a Motif based web browser that is entirely
* based on this widget, I just tested it today, very impressive.
*
* Miguel.
*
* Revision 1.12 1997/10/26 23:50:15 newt
* Bugfix 10/22/97-01
*
* Revision 1.11 1997/10/23 00:24:50 newt
* XmHTML Beta 1.1.0 release
*
* Revision 1.10 1997/08/30 00:45:33 newt
* my_strdup -> strdup and _XmHTMLWarning proto changes.
*
* Revision 1.9 1997/08/01 12:57:23 newt
* my_strdup -> strdup
*
* Revision 1.8 1997/05/28 01:44:43 newt
* Extended XmHTMLGetHeadAttributes to copy the value of the