Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DXmSvnSetComponentWidget(3X)  —  Subroutines

NAME

DXmSvnSetComponentWidget − Adds an SVN subwidget component to an entry. 

SYNOPSIS

void DXmSvnSetComponentWidget (widget, entry, comp_number, x, y, subw)
      Widget  widget;
      int     entry;
      int     comp_number;
      int     x;
      int     y;
      Widget  subw;

PARAMETERS

widgetThe identifier (widget ID) of the SVN widget. 

entryAn integer that represents the entry number that this component belongs to. 

comp_number
An integer that represents the component number within the entry.

xAn integer that represents the x offset within the entry where this component should be placed. 

yAn integer that represents the y offset within the entry where this component should be placed.  (Note that if you want the SVN widget to automatically create a layout of the entry for you, set the value of this parameter to 0.) 

subwThe identifier (widget ID) of the subwidget.  This subwidget will be a managed child of the SVN widget. 

DESCRIPTION

The DXmSvnSetComponentWidget routine sets a component of an entry to be a subwidget, which enables an application to put read-write text or a push button in an entry.  The application is responsible for creating this subwidget and destroying it when the entry is deleted.  If your application passes 0 for the value of the y offset, the SVN widget will automatically create a layout of the entry. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026