Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

CLASS-MENU

source files: xchc.[ch]

SYNTAX

(send CLASS-MENU :new
  [ :CHOICES              <list-of-strings-or-string-headed-lists> ]
  [ :CHOICE               <fixnum>    ]
  [ :MAX-VISIBLE-CHOICES  <fixnum>    ]
  [ :LABEL                <string>    ]
  [ :LABEL-FONT           <fixnum>    ]
  [ :CHOICE-FONT          <fixnum>    ]
  [ :CHANGE-HOOK          <hookfn(s)> ]
  [ :DOWNCLICK-HOOK       <hookfn(s)> ]
  [ :DRAG-HOOK            <hookfn(s)> ]
  [ :UPCLICK-HOOK         <hookfn(s)> ]

  [ :vertical-margin		<flonum> ]
  [ :horizontal-margin		<flonum> ]

  [ :frustum-depth		<flonum> ]
  [ :choice-depth		<flonum> ]
  [ :updown-depth		<flonum> ]
  [ :label-depth		<flonum> ]

  [ :choice-height		<flonum> ]
  [ :updown-height		<flonum> ]
  [ :label-height		<flonum> ]
)

DESCRIPTION

This call returns a menu. Menus not being very useful in and of themselves, the next step is usually to send the message :INSERT to the menu.

See :GET/:SET docs for descriptions of the various properties.


Go to the first, previous, next, last section, table of contents.