GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmtDialogPosition(3) FreeBSD Library Functions Manual XmtDialogPosition(3)

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

#include <Xmt/Dialogs.h>

void XmtDialogPosition(Widget dialog, Widget ref)

INPUTS
dialog
The dialog shell widget to be centered.
ref
The ``reference widget'' over which dialog is to be centered.

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.

XmtDialogDo()
Motif Tools Xmt

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.