Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Interpreted MOTIF Menu Generation from Text Control Files

IP.com Disclosure Number: IPCOM000111832D
Original Publication Date: 1994-Apr-01
Included in the Prior Art Database: 2005-Mar-26
Document File: 2 page(s) / 54K

Publishing Venue

IBM

Related People

Greenberg, M: AUTHOR

Abstract

A program is developed to generate complex MOTIF* "menus" from a text file which defines a set of objects and actions and the interrelationship between them. The text file is organized into free format stanzas. The program allows very fast generation of windows, making system-integration activities very efficient. A user may be presented with a set of windows to perform complex tasks, with no requirement for any MOTIF programming. Changing the windows is fast and easy. The penalty paid for reading the menu definition is small relative to the unavoidable overhead present when generating windows using MOTIF.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 76% of the total text.

Interpreted MOTIF Menu Generation from Text Control Files

      A program is developed to generate complex MOTIF* "menus" from
a text file which defines a set of objects and actions and the
interrelationship between them.  The text file is organized into free
format stanzas.  The program allows very fast generation of windows,
making system-integration activities very efficient.  A user may be
presented with a set of windows to perform complex tasks, with no
requirement for any MOTIF programming.  Changing the windows is fast
and easy.  The penalty paid for reading the menu definition is small
relative to the unavoidable overhead present when generating windows
using MOTIF.

      The text file is organized into stanzas, each of which defines
MOTIF elements or a relationship between an object and an action.
The stanza headings are #type, #menubar, #cascade, and #object.  The
#menubar and #cascade stanzas are used to define the MOTIF graphical
objects for pulldown windows, with actions attached to the #cascades.
The #object defines selectable objects in the window area.  The #type
definition is used to create a hierarchical definition for a class.
The type stanza groups a set of available actions.  By making an
object a member of #type, the object will allow those actions to be
executed when the object is selected.  The type definition also
allows attributes to be defined for an action.

      The Figure shows a very simple menu definition file, along wi...