WINTERP 2.0 Widget Class Library (subclasses of Motif primitive classes)

2label-pb.lsp
Widget hackery -- A composite widget masquerading as a special pushbutton containing both a pixmap and a label. Major difference between this "pseudo-widget" and a real pushbutton is that you don't do :add_callback :XMN_ACTIVATE_CALLBACK, but rather, you set a callback via method :SET-ACTIVATE-CLOSURE.
XmGraph.lsp
Define utility methods for WINTERP's built-in XM_GRAPH_WIDGET_CLASS
application.lsp
WINTERP:APPLICATION-WIDGET-CLASS a subclass of XM_MAIN_WINDOW_WIDGET_CLASS which contains a message area instance of TIMED-MESSAGE-DISPLAY-WIDGET-CLASS and has a pulldown menu system created from a WINTERP:MENU-BAR-WIDGET-CLASS instance.
clock-disp.lsp
Define Clock_Display_Widget_Class, a subclass of XM_LABEL_GADGET_CLASS which displays the time in Month/Date/Year Hour:Minute format. This makes use of the Unix 'date' command "date '+\#(%y %m %d %H %M)'" -- if this doesn't work on your system, it's because your unix isn't SVID2, XPG2, XPG3, or POSIX.2 compliant and can't understand the special '+' formatting option for 'date'.
epoch-text.lsp
define Epoch_Widget_Class -- a text editor widget created by reparenting an EPOCH multiwindow emacs editor window inside a WINTERP/Motif widget. This allows you to edit files with a real text editor while placing the Epoch-edit windows into your WINTERP-based applications. Epoch is a multiwindow gnu-emacs-based editor available for free by anonymous ftp from cs.uiuc.edu. You must load epoch-widg.el into Epoch first, as this file calls epoch-functions defined there. This file also assumes that you have Andy Norman's gnuserv package running under Epoch -- the program /usr/local/epoch/bin/gnudoit is used to send emacs-lisp commands to Epoch. See also ../epoch-test.lsp and ../epoch-widg.el ...
file-br.lsp
File_Browser_Widget_Class, a subclass of String_Browser_Widget_Class, a subclass of XM_LIST_WIDGET_CLASS. Inherits bindings from String_Browser_Widget_Class. Note mouse bindings on browser override XmList(3x)'s:
* single left click   -- make item the current selection
* double left click, or single middle click
		      -- select item and call Xt-action
			 ListKbdActivate() which calls the
			 :XMN_DEFAULT_ACTION_CALLBACK you 
			 have defined on an instance.
* single right click  -- select item and call method
  			 :EDIT_SELECTED_ITEM
Note key bindings on browser overriding XmList(3x)'s:
* [Key]E:	      -- Call method :EDIT_SELECTED_ITEM
* Ctrl[Key]N or	Ctrl[Key]osfDown:
		      -- Call method :GOTO_NEXT, which selects
			 the next item in the list.
* Ctrl[Key]P, or Ctrl[Key]osfUp:
		      -- Call method :GOTO_PREV, which selects
			 the previous item in the list.
* [Key]N, or [Key]osfDown:
		      -- Call method :BROWSE_NEXT which
			 selects the next item in the list and
		         calls ListKbdActivate() which calls
			 the :XMN_DEFAULT_ACTION_CALLBACK.
* [Key]P, [Key]osfUp: -- Call method :BROWSE_PREV which
			 selects the next item in the list and
		         calls ListKbdActivate() which calls
			 the :XMN_DEFAULT_ACTION_CALLBACK.
file-lview.lsp
Labelled_File_Viewer_Widget_Class a subclass of XM_FORM_WIDGET_CLASS. Note key bindings on viewer overriding XmText(3x)'s:
* [Key]space:		next-page()
* [Key]osfBackSpace:	previous-page()
file-view.lsp
File_Viewer_Widget_Class a subclass of XM_TEXT_WIDGET_CLASS with :SCROLLED option. Note key bindings on viewer overriding XmText(3x)'s:
* [Key]space:		next-page()
* [Key]osfBackSpace:	previous-page()
filecomp.lsp
Load this prior to creating any XM_FILE_SELECTION_BOX_WIDGET_CLASS and all WINTERP XmFileSelectionBox instances will have a simple file completion capability within the "Filter" and "Select" text areas. Completion occurs on [space] key entry.
fileselect.lsp
WINTERP:FILE-SELECTION-WIDGET a subclass of XM_FILE_SELECTION_BOX_WIDGET_CLASS which allows file selection as part of a larger widget panel without forcing user to see the dialog controls (e.g. "Ok" "Filter" "Cancel" buttons).
numentry.lsp
Cardinal_Number_Entry_Field_Widget_Class, a subclasses of XM_TEXT_FIELD_WIDGET_CLASS.
object-br.lsp
Object_Browser_Widget_Class, a subclass of String_Browser_Widget_Class, a subclass of XM_LIST_WIDGET_CLASS. Inherits bindings from String_Browser_Widget_Class. Note mouse bindings on browser override XmList(3x)'s:
* single left click   -- make item the current selection
* double left click, or single middle click
		      -- select item and call Xt-action
			 ListKbdActivate() which calls the
			 :XMN_DEFAULT_ACTION_CALLBACK you 
			 have defined on an instance.
* single right click  -- select item and call method
  			 :EDIT_SELECTED_ITEM, which may
			 be redefined by superclasses.
Note key bindings on browser overriding XmList(3x)'s:
* [Key]E:	      -- Call method :EDIT_SELECTED_ITEM
* Ctrl[Key]N or	Ctrl[Key]osfDown:
		      -- Call method :GOTO_NEXT, which selects
			 the next item in the list.
* Ctrl[Key]P, or Ctrl[Key]osfUp:
		      -- Call method :GOTO_PREV, which selects
			 the previous item in the list.
* [Key]N, or [Key]osfDown:
		      -- Call method :BROWSE_NEXT which
			 selects the next item in the list and
		         calls ListKbdActivate() which calls
			 the :XMN_DEFAULT_ACTION_CALLBACK.
* [Key]P, [Key]osfUp: -- Call method :BROWSE_PREV which
			 selects the next item in the list and
		         calls ListKbdActivate() which calls
			 the :XMN_DEFAULT_ACTION_CALLBACK.
simple-RC.lsp
Subclasses of XM_ROW_COLUMN_WIDGET_CLASS which simplify access to the "simple menu" creation routines. Specifically: WINTERP:RADIO-BOX-WIDGET-CLASS, WINTERP:OPTION-MENU-WIDGET-CLASS, WINTERP:MENU-BAR-WIDGET-CLASS, WINTERP:POPUP-MENU-WIDGET-CLASS, WINTERP:PULLDOWN-MENU-WIDGET-CLASS, WINTERP:CHECK-BOX-WIDGET-CLASS
string-br.lsp
String_Browser_Widget_Class, a subclass of XM_LIST_WIDGET_CLASS. Note mouse bindings on browser override XM_LIST_WIDGET_CLASS's
* single left click   -- make item the current selection
* double left click, or single middle click
		      -- select item and call Xt-action
			 ListKbdActivate() which calls the
			 :XMN_DEFAULT_ACTION_CALLBACK you 
			 have defined on an instance.
* single right click  -- select item and call method
  			 :EDIT_SELECTED_ITEM, which may
			 be redefined by superclasses.
Note key bindings on browser overriding XM_LIST_WIDGET_CLASS's:
* [Key]E:	      -- Call method :EDIT_SELECTED_ITEM
* Ctrl[Key]N or	Ctrl[Key]osfDown:
		      -- Call method :GOTO_NEXT, which selects
			 the next item in the list.
* Ctrl[Key]P, or Ctrl[Key]osfUp:
		      -- Call method :GOTO_PREV, which selects
			 the previous item in the list.
* [Key]N, or [Key]osfDown:
		      -- Call method :BROWSE_NEXT which
			 selects the next item in the list and
		         calls ListKbdActivate() which calls
			 the :XMN_DEFAULT_ACTION_CALLBACK.
* [Key]P, [Key]osfUp: -- Call method :BROWSE_PREV which
			 selects the next item in the list and
		         calls ListKbdActivate() which calls
			 the :XMN_DEFAULT_ACTION_CALLBACK.
text-view.lsp
Text_Display_Widget_Class a subclass of XM_TEXT_WIDGET_CLASS with :SCROLLED option. Note key bindings on browser overriding XmText(3x)'s:
* [Key]space:		next-page()
* [Key]osfBackSpace:	previous-page()
timechart.lsp
Interactive_Chart_Widget_Class, and Interactive_Chart_Elt_Widget_Class used by ../timesheet.lsp
timed-msg.lsp
TIMED-MESSAGE-DISPLAY-WIDGET-CLASS, a subclass of XM_TEXT_FIELD_WIDGET_CLASS which displays a message for a predetermined amount of time. Useful for "status lines"...

Niels P. Mayer
Last modified: Fri Feb 5 12:48:15 PST 1999