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

FreeBSD Manual Pages

  
 
  

home | help
XmtRegisterUnixProcedures(3Library Functions ManuaXmtRegisterUnixProcedures(3)

NAME
       XmtRegisterXtProcedures(), XmtRegisterXmtProcedures(), XmtRegisterUnix-
       Procedures() - register commonly	used procedures	with the Xmt  callback
       converter.

SYNOPSIS
       #include	<Xmt/Procedures.h>
       void XmtRegisterXtProcedures(void)
       void XmtRegisterXmtProcedures(void)
       void XmtRegisterUnixProcedures(void)

ARGUMENTS
       None.

DESCRIPTION
       XmtRegisterXtProcedures(),  XmtRegisterXmtProcedures(),	and  XmtRegis-
       terUnixProcedures() register a number of	commonly used procedures  with
       the  Xmt	 String-to-Callback  converter so that they can	be used	in re-
       source files.

       The listings below show the procedures that are registered by  each  of
       these functions and the argument	types that each	function is registered
       to expect. Note that not	all of these procedures	 will  take  the  same
       number  arguments  when	called	from  a	 resource file as they do when
       called from C. See XmtRegisterProcedures() and Chapter 10, Callbacks in
       Resource	Files, for an explanation of the differences.

       XmtRegisterXtProcedures() registers the following procedures:

	    XtAddCallbacks(XtRWidget, XtRString, XtRCallback)
	    XtAugmentTranslations(XtRWidget, XtRTranslationTable)
	    XtDestroyWidget(XtRWidget)
	    XtError(XtRString)
	    XtInstallAccelerators(XtRWidget, XtRWidget)
	    XtInstallAllAccelerators(XtRWidget,	XtRWidget)
	    XtManageChild(XtRWidget)
	    XtOverrideTranslations(XtRWidget, XtRTranslationTable)
	    XtPopdown(XtRWidget)
	    XtPopupExclusive(XmtRCallbackWidget, XtRWidget)
	    XtPopupNone(XmtRCallbackWidget, XtRWidget)
	    XtPopupNonexclusive(XmtRCallbackWidget, XtRWidget)
	    XtPopupSpringLoaded(XtRWidget)
	    XtRealizeWidget(XtRWidget)
	    XtSetKeyboardFocus(XtRWidget, XtRWidget)
	    XtSetMappedWhenManaged(XtRWidget, XtRBoolean)
	    XtSetSensitive(XtRWidget, XtRBoolean)
	    XtUnmanageChild(XtRWidget)
	    XtWarning(XtRString)

       XmtRegisterXmtProcedures() registers the	following procedures:

	    /* special resource-setting	functions */
	    XmtSetValue(XtRWidget, XtRString, XtRString)
	    XmtSetTypedValue(XtRWidget,	XtRString, XtRString, XtRString)

	    /* simple message dialog functions */
	    XmtDisplayError(XmtRCallbackWidget,	XtRString, XtRString)
	    XmtDisplayWarning(XmtRCallbackWidget, XtRString, XtRString)
	    XmtDisplayInformation(XmtRCallbackWidget, XtRString, XtRString, XtRString)
	    XmtDisplayWarningMsg(XmtRCallbackWidget, XtRString,	XtRString, XtRString, XtRString)
	    XmtDisplayErrorMsg(XmtRCallbackWidget, XtRString, XtRString, XtRString, XtRString)
	    XmtDisplayInformationMsg(XmtRCallbackWidget, XtRString, XtRString, XtRString, XtRString)
	    XmtDisplayWarningMsgAndWait(XmtRCallbackWidget, XtRString, XtRString, XtRString, XtRString)
	    XmtDisplayErrorMsgAndWait(XmtRCallbackWidget, XtRString, XtRString,	XtRString, XtRString)

	    /* cursor, event, shell and	miscellaneous utilities	*/
	    XmtAddDeleteCallback(XtRWidget, XmRDeleteResponse, XtRCallback)
	    XmtAddSaveYourselfCallback(XtRWidget, XtRCallback)
	    XmtDeiconifyShell(XtRWidget)
	    XmtDialogPosition(XtRWidget, XtRWidget)
	    XmtDiscardButtonEvents(XtRWidget)
	    XmtDiscardKeyPressEvents(XtRWidget)
	    XmtDisplayBusyCursor(XtRWidget)
	    XmtDisplayCursor(XtRWidget,	XtRCursor)
	    XmtDisplayDefaultCursor(XtRWidget)
	    XmtFocusShell(XtRWidget)
	    XmtIconifyShell(XtRWidget)
	    XmtLowerShell(XtRWidget)
	    XmtMoveShellToPointer(XtRWidget)
	    XmtRaiseShell(XtRWidget)
	    XmtRegisterImprovedIcons(XtRWidget,	XmtRXmtColorTable)
	    XmtSetFocusToShell(XtRWidget)
	    XmtSetInitialFocus(XtRWidget,XtRWidget)
	    XmtWaitUntilMapped(XtRWidget)
	    XmtWarpToShell(XtRWidget)

	    /* widget and dialog creation functions */
	    XmtCreateChildren(XtRWidget)
	    XmtCreateChild(XtRWidget,XtRString)
	    XmtBuildDialog(XtRWidget, XtRString, XmtRCallbackUnused, XmtRCallback Unused)

	    XmtBuildToplevel(XtRWidget,	XtRString)
	    XmtBuildApplication(XtRString, XtRString, XmtRCallbackDisplay,
	    XmtRCallbackUnused,	XmtRCallbackUnused)

	    /* context help functions */
	    XmtHelpDisplayContextHelp(XtRWidget)
	    XmtHelpDoContextHelp(XmtRCallbackWidget)
	    XmtHelpContextHelpCallback(XmtRCallbackWidget, XmtRCallbackUnused, XmtRCallbackUnused)

	    /* XmtMsgLine widget functions */
	    XmtMsgLineClear(XtRWidget, XtRInt)
	    XmtMsgLineSet(XtRWidget, XtRString)
	    XmtMsgLineAppend(XtRWidget,	XtRString)
	    XmtMsgLinePrintf(XtRWidget,	XtRString, XmtRCallbackUnused)
	    XmtMsgLinePush(XtRWidget)
	    XmtMsgLinePop(XtRWidget, XtRInt)

	    /* XmtCli widget functions */
	    XmtCliPuts(XtRString, XtRWidget)
	    XmtCliPrintf(XtRWidget, XtRString, XmtRCallbackUnused)
	    XmtCliClear(XtRWidget)

	    /* XmtChooser widget functions */
	    XmtChooserSetState(XtRWidget, XtRInt, XtRBoolean)
	    XmtChooserSetSensitive(XtRWidget, XtRInt, XtRBoolean)

	    /* XmtInputField widget functions */
	    XmtInputFieldSetString(XtRWidget, XtRString)

	    /* XmtLayout widget	functions */
	    XmtLayoutDisableLayout(XtRWidget)
	    XmtLayoutEnableLayout(XtRWidget)

	    /* automatic dialog	callback functions */
	    XmtDialogOkayCallback(XmtRCallbackWidget)
	    XmtDialogCancelCallback(XmtRCallbackWidget)
	    XmtDialogApplyCallback(XmtRCallbackWidget)
	    XmtDialogDoneCallback(XmtRCallbackWidget)
	    XmtDialogResetCallback(XmtRCallbackWidget)

       Finally,	 XmtRegisterUnixProcedures()  registers	 the  following	proce-
       dures:

	    exit(XtRInt)
	    puts(XtRString)
	    system(XtRString)

SEE ALSO
       Chapter 10, Callbacks in	Resource Files,	XmtRegisterAll(),
       XmtRegisterProcedures().

Xmt				  Motif	Tools	  XmtRegisterUnixProcedures(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=XmtRegisterUnixProcedures&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help