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

FreeBSD Manual Pages

  
 
  

home | help
XmtDialogPosition(3)	   Library Functions Manual	  XmtDialogPosition(3)

NAME
       XmtDialogPosition() - center a dialog box over a	widget.

SYNOPSIS
       #include	<Xmt/Dialogs.h>

       void XmtDialogPosition(Widget dialog, Widget ref)

ARGUMENTS
       INPUTS

	    dialog The dialog shell widget to be centered.

	    ref	   The	``reference  widget''  over which dialog is to be cen-
		   tered.

DESCRIPTION
       XmtDialogPosition() sets	the XtNx and XtNy resources of dialog so  that
       when  it	 is  popped up it will appear centered over the	widget ref. If
       centering dialog	over ref would cause part of that widget to be off the
       edge of the screen, then	the position is	adjusted so that all of	dialog
       is visible.

       Motif dialog boxes are automatically centered over their	ancestor shell
       widget, so you rarely will need to use this function. It	is useful when
       a single	dialog box will	be popped up over more	than  one  application
       window.

SEE ALSO
       XmtDialogDo()

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

home | help