*** genc~	Thu Mar 24 23:16:07 1994
--- genc	Sat Apr 16 14:51:37 1994
***************
*** 342,350 ****
  		    ) :
  		    ("sprintf(output, \"$toString{$toType}\", $reference);","");
  	};
! 	$selector = $reasonCode{$callbackName} ?
! 	    "((XmAnyCallbackStruct *)callData)->reason == $reasonCode{$callbackName}" :
! 		"attrib == q$callbackName";
  
  	$cascade .= 
  	    "#ifdef $package\n"
--- 342,357 ----
  		    ) :
  		    ("sprintf(output, \"$toString{$toType}\", $reference);","");
  	};
! 
! 	if ($reasonCode{$callbackName}) {
! 	    local(@rsons);
! 	    foreach (split(/\s+/,$reasonCode{$callbackName})) {
! 		push(@rsons,"((XmAnyCallbackStruct *)callData)->reason == $_");
! 	    }
! 	    $selector = "(".join(" || ",@rsons).")";
! 	} else {
! 	    $selector = "attrib == q$callbackName";
! 	}
  
  	$cascade .= 
  	    "#ifdef $package\n"
*** types~	Mon Mar 21 00:51:33 1994
--- types	Sat Apr 16 15:32:14 1994
***************
*** 286,296 ****
  	       "arcEditedCallback", "XmCR_ARC_EDITED",
  	       "newArcCallback", "XmCR_NEW_ARC",
  	       "newNodeCallback", "XmCR_NEW_NODE",
!                "arcMovedCallback", "XmCR_NODE_MOVED",
! 	       "selectNodeCallback", "XmCR_SELECT_NODE",
! 	       "selectArcCallback", "XmCR_SELECT_ARC",
  	       "deselectCallback", "XmCR_DESELECT",
  	       "selectSubgraphCallback", "XmCR_SELECT_SUBGRAPH",
                 );
  
  
--- 286,298 ----
  	       "arcEditedCallback", "XmCR_ARC_EDITED",
  	       "newArcCallback", "XmCR_NEW_ARC",
  	       "newNodeCallback", "XmCR_NEW_NODE",
!                "arcMovedCallback", "XmCR_ARC_MOVED",
!                "nodeMovedCallback", "XmCR_NODE_MOVED XmCR_NODES_MOVED",
! 	       "selectNodeCallback", "XmCR_SELECT_NODE XmCR_SELECT_NODES XmCR_SELECT_ARCS_AND_NODES XmCR_SELECT_ARC",
! 	       "selectArcCallback", "XmCR_SELECT_ARC XmCR_SELECT_ARCS XmCR_SELECT_ARCS_AND_NODES",
  	       "deselectCallback", "XmCR_DESELECT",
  	       "selectSubgraphCallback", "XmCR_SELECT_SUBGRAPH",
+ 	       "defaultActionCallback", "XmCR_NODE_DOUBLE_CLICK XmCR_ARC_DOUBLE_CLICK XmCR_DOUBLE_CLICK",
                 );
  
  
*** XmGraphGen.spec~	Tue Nov  9 17:34:55 1993
--- XmGraphGen.spec	Sat Apr 16 15:17:27 1994
***************
*** 13,25 ****
  XmArc
  	include <Graph.h>
  	include <Arc.h>
! 	arcEdited f Widget: \
  		((XmGraphCallbackStruct *)callData)->old_from # old from
! 	arcEdited t Widget: \
  		((XmGraphCallbackStruct *)callData)->old_to # old to
! 	arcEdited F Widget: \
  		((XmGraphCallbackStruct *)callData)->new_from # new from
! 	arcEdited T Widget: \
  		((XmGraphCallbackStruct *)callData)->new_to # new to
  
  void
--- 13,25 ----
  XmArc
  	include <Graph.h>
  	include <Arc.h>
! 	arcEdited f WidgetID: \
  		((XmGraphCallbackStruct *)callData)->old_from # old from
! 	arcEdited t WidgetID: \
  		((XmGraphCallbackStruct *)callData)->old_to # old to
! 	arcEdited F WidgetID: \
  		((XmGraphCallbackStruct *)callData)->new_from # new from
! 	arcEdited T WidgetID: \
  		((XmGraphCallbackStruct *)callData)->new_to # new to
  
  void
***************
*** 33,53 ****
  ~widgetClass
  XmGraph
  	include <Graph.h>
! 	newArc|newNode|arcMoved|defaultAction|selectNode|selectArc|deselect|selectSubgraph S WidgetList: \
! 		((XmGraphCallbackStruct *)callData)->numselected_widgets, \
  		((XmGraphCallbackStruct *)callData)->selected_widgets \
! 			 # selected Widgets
! 	newArc|newNode|arcMoved|defaultAction|selectNode|selectArc|deselect|selectSubgraph S WidgetList: \
  		((XmGraphCallbackStruct *)callData)->num_selected_arcs, \
  		((XmGraphCallbackStruct *)callData)->selected_arcs \
  			 # selected Arcs
! 	arcMoved f Widget: \
  		((XmGraphCallbackStruct *)callData)->old_from # old from
! 	arcMoved t Widget: \
  		((XmGraphCallbackStruct *)callData)->old_to # old to
! 	arcMoved F Widget: \
  		((XmGraphCallbackStruct *)callData)->new_from # new from
! 	arcMoved T Widget: \
  		((XmGraphCallbackStruct *)callData)->new_to # new to
  
  
--- 33,56 ----
  ~widgetClass
  XmGraph
  	include <Graph.h>
! 	newArc|newNode|arcMoved|nodeMoved|defaultAction|selectNode|selectArc|deselect|selectSubgraph N WidgetList: \
! 		((XmGraphCallbackStruct *)callData)->num_selected_widgets, \
  		((XmGraphCallbackStruct *)callData)->selected_widgets \
! 			 # selected Nodes
! 	newArc|newNode|arcMoved|nodeMoved|defaultAction|selectNode|selectArc|deselect|selectSubgraph A WidgetList: \
  		((XmGraphCallbackStruct *)callData)->num_selected_arcs, \
  		((XmGraphCallbackStruct *)callData)->selected_arcs \
  			 # selected Arcs
! 	newArc|newNode|arcMoved|defaultAction|selectNode|selectArc|deselect|selectSubgraph I WidgetID: \
! 		((XmGraphCallbackStruct *)callData)->widget \
! 			 # child widgetID
! 	arcMoved f WidgetID: \
  		((XmGraphCallbackStruct *)callData)->old_from # old from
! 	arcMoved t WidgetID: \
  		((XmGraphCallbackStruct *)callData)->old_to # old to
! 	arcMoved F WidgetID: \
  		((XmGraphCallbackStruct *)callData)->new_from # new from
! 	arcMoved T WidgetID: \
  		((XmGraphCallbackStruct *)callData)->new_to # new to
  
  
