Query: dteditorgetsizehints
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DtEditorGetSizeHints(library call) DtEditorGetSizeHints(library call)NAMEDtEditorGetSizeHints -- retrieve sizing information from a DtEditor widgetSYNOPSIS#include <Dt/Editor.h> void DtEditorGetSizeHints( Widget widget, XSizeHints *pHints);DESCRIPTIONThe DtEditorGetSizeHints function retrieves the current sizing information from a DtEditor widget, allowing the application to compute appropriate size hints for the window manager. The widget argument specifies the DtEditor widget ID. The pHints argument is a pointer to an XSizeHints structure into which the current sizing information is placed. The fields in this struc- ture do not have to contain any values when it is passed in. Upon successful completion, the DtEditorGetSizeHints function fills in the following fields of the XSizeHints structure: minimum width ( min_width) and height ( min_height); width ( width_inc) and height ( height_inc) increment; and base width ( base_width) and height ( base_height); otherwise, the structure is unchanged. The Flags field is set to: PMinSize | PResizeInc | PBaseSizeRETURN VALUEThe DtEditorGetSizeHints function returns no value.EXAMPLESThe following code segment sets the resize increment and minimum window size properties for the application. Widget editor, application_shell; Display display; XSizeHints size_hints; long supplied_return; XGetWMSizeHints(display, XtWindow(application_shell), &size_hints, &supplied_return, XA_WM_NORMAL_HINTS); DtEditorGetSizeHints(editor, &size_hints); XSetWMSizeHints(display, XtWindow(application_shell), &size_hints, XA_WM_NORMAL_HINTS);SEE ALSODt/Editor.h - DtEditor(5), DtEditor(3). DtEditorGetSizeHints(library call)
Related Man Pages |
---|
dteditorclearselection(3) - hpux |
dteditorcheckforunsavedchanges(3) - hpux |
dteditorgotoline(3) - hpux |
dteditorinvokeformatdialog(3) - hpux |
dteditorselectall(3) - hpux |
Similar Topics in the Unix Linux Community |
---|
System sizing for X sessions |
Sizing p7 systems |