beautypg.com

Crunch CRiSP File Editor 6 User Manual

Page 57

background image

Page 57

oriented implementation.

DBOX_DIRECTORY

An list type object which contains semantics for
implementing a selection from a set of valid files or
directories.

DBOX_DISPLAY

This object type is never explicitly created in a
create_object() definition, but is used to refer to the
physical screen. For example, using this object type
it is possible to inquire about the physical screen
size.

DBOX_DRIVE

(Windows only). Used to implement the drive-
selection combo field as seen in the contents
window file selector, or the change directory dialog
box.

DBOX_DROP_SITE

A drop-site is a special object type used to create a
drag and drop site. It currently only has a meaning
for the XView implementation of CRiSP as that is
the only windowing system which supports a visible
drop site.

DBOX_FIELD

This creates an input field. An input field consists of
a label to the left of an input field. The actual
appearance of an input field is GUI system
dependent.

DBOX_GROUP_END

A DBOX_GROUP_END object is used like a close
parenthesis to terminate the definition of a sub-
dialog box.

DBOX_GROUP_START

A DBOX_GROUP_START object is used like an
open parenthesis to create a sub-dialog box.

DBOX_LABEL

This object type creates a static label of text. The
object type can display a single line of text; no
interpretation of newline sequences or other escape
codes is supported. If you need multiline text then
multiple labels should be used.

DBOX_LINE

A simple object used for drawing 3D lines within a
dialog box.

DBOX_LIST

This creates a multiline scrolling list box.

DBOX_MENU

A DBOX_MENU is used to implement a popup
menu.

DBOX_MENU_BAR

The menu bar object implements the menu typically
seen at the top of the main CRiSP edit window. It
has no semantic actions itself but is used as an
anchor for the individual DBOX_MENU_BUTTON
objects created.

DBOX_MENU_BUTTON

A menu-button is used to define the root of a menu
tree associated with a DBOX_MENU_BAR.

DBOX_MENU_ITEM

Implements a selectable menu item.

DBOX_MENU_SEPARATOR

Used in menu creation to create a line or blank
space separating menu items.

DBOX_OPTION_BUTTON

A special type of button which allows the user to
select from a list of valid alternatives.

DBOX_OWNER

This object type is never explicitly created in a
create_object() definition, but is used when
changing attributes to refer to the dialog box itself.