Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XmtDialogB...esourceList(3) Library Functions Manual XmtDialogB...esourceList(3)

NAME
     XmtDialogBindResourceList()  -  use Xmt automatic dialog data transfer fea-
     tures with widgets that are not dialogs.

SYNOPSIS
     #include <Xmt/Dialog.h>

     void XmtDialogBindResourceList(Widget w, XtResourceList resources, Cardinal
		    num_resources)

ARGUMENTS
     INPUTS

	  w	 The root of the widget subtree (usually a shell) that is to  be
		 used with the Xmt automatic dialog facilities.

	  resources
		 An  array  of	resources that name data values and describe how
		 they are stored in a data structure.  This is	similar  to  the
		 list that would be passed to XmtBuildDialog().

	  num_resources
		 The number of elements in the resources array.

DESCRIPTION
     In order for the Xmt automatic dialog data transfer facilities to work, the
     widgets  involved	must  be described with the xmtChildren syntax, and must
     have a resource list associated with them when they are  created.	Normally
     this  resource  list is supplied in a call to XmtBuildDialog() or XmtBuild-
     Query Dialog(). On occasion, however, you may want to use the Xmt automatic
     data-transfer mechanism with widgets that are not actually in dialog boxes,
     or for some other reason are not created with these special functions.

     You can, in fact, use the dialog data transfer mechanisms with any  widgets
     described	with  the  xmtChildren resource, but in order to do so, you must
     associate	 an   XtResourceList   with   them   by    calling    XmtDialog-
     BindResourceList().  This	function  associates the resource list resources
     with the widget (generally a shell widget) w. You must call  this	function
     before  you create the children of w with XmtCreateChildren() or some other
     function.

SEE ALSO
     Chapter 29, Custom Dialogs and Automatic Dialog Management,
     XmtBuildDialog(), XmtBuildQueryDialog(), XmtDialogCancelCallback(),
     XmtDialogDo(), XmtDialogDoSync(), XmtDialogGetDataAddress(),
     XmtDialogGetDialogValues(), XmtDialogOkayCallback(),
     XmtDialogSetDialogValues(), XmtDialogSetReturnValue().

Xmt				   Motif Tools	     XmtDialogB...esourceList(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=XmtDialogBindResourceList&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help