Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /eXene/trunk/contrib/trace-menu-sig.sml
ViewVC logotype

View of /eXene/trunk/contrib/trace-menu-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2098 - (download) (annotate)
Thu Nov 2 15:53:59 2006 UTC (12 years, 7 months ago) by blume
File size: 1241 byte(s)
moved eXene to toplevel
(* ######################################################################
   #                     CML_TRACE_MENU.SIG                             #
   ###################################################################### *)

(* An eXene interface to the CMLTrace system.

   AUTHOR:  Clifford Krumvieda
            Department of Computer Science
            Cornell University
            Ithaca, NY 14850
            cliff@cs.cornell.edu
 *)

(* ######################################################################

   Trace menus:  The mkTraceMenu function can be used to create a menu of 
    certain CMLTrace modules.  Each line in the menu consists of a box
    and a module name; the box has a checkmark in it if its module is
    being traced.  Clicking in the box toggles the checkmark and trace
    status.  
   The second argument to mkTraceMenu is a list of module names that 
    determine the "frontier" of modules appearing in the menu.  A 
    typical value is ["/"].

   ###################################################################### *)

signature CML_TRACE_MENU = sig

  structure W : WIDGET

  type trace_menu

  val widgetOf : trace_menu -> W.widget
  val mkTraceMenu : W.root -> string list -> trace_menu

end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0