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

FreeBSD Manual Pages

  
 
  

home | help
XmtDialogBindResourceList(3Library Functions ManuaXmtDialogBindResourceList(3)

NAME
       XmtDialogBindResourceList()  -  use  Xmt	automatic dialog data transfer
       features	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 XmtBuildQuery	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 wid-
       gets 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	XmtCreateChil-
       dren() 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	  XmtDialogBindResourceList(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO

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

home | help