Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Common Desktop Environment: Programmer's Guide > Part III Part 3 — Optional Integration

Chapter 7 Common Desktop Environment Motif Widgets

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

The Common Desktop Environment includes the Motif toolkit. In addition, the Common Desktop Environment provides four custom widgets you can use to provide certain OPEN LOOK™ and Microsoft® Windows functionality. This chapter describes these Motif custom widgets.

The widget library, libDtWidget, contains two widgets that have now been superseded by Motif 2.1 widgets, and two widgets that enhance functionality of Motif 2.1 widgets:

  • DtSpinBox combines a text field and arrow buttons in a control that can increment or decrement numeric or text values. It has been superseded by XmSimpleSpinBox.

  • DtComboBox combines a text field and a list box in a control that displays one of the many valid choices for the text field. It has been superseded by XmComboBox

  • DtMenuButton provides menu-cascading functionality outside of the menu bar.

  • DtEditor incorporates such single text editor functions as cut and paste.

These widgets provide common functionality across all Common Desktop Environment applications. None of these widgets support subclassing.

The Custom Widgets library depends directly on the following libraries:

  • Xm library for the Motif superclass support

  • Xt library for creation and manipulation of widgets

  • X11 Library for the base X Window System

  • DtSvc for desktop support utilized by DtEditor

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.