*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtEditorGetSizeHints (3)              
Title
Content
Arch
Section
 

Contents


 DtEditorGetSizeHints(library call)       DtEditorGetSizeHints(library call)




 NAME    [Toc]    [Back]
      DtEditorGetSizeHints - retrieve sizing information from a DtEditor
      widget

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Editor.h>
      void DtEditorGetSizeHints(
      Widget widget,
      XSizeHints *pHints);

 DESCRIPTION    [Toc]    [Back]
      The 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
      structure 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 | PBaseSize

 RETURN VALUE    [Toc]    [Back]
      The DtEditorGetSizeHints function returns no value.

 EXAMPLES    [Toc]    [Back]
      The 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 ALSO    [Toc]    [Back]
      Dt/Editor.h - DtEditor(5), DtEditor(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
DtEditorGetContents HP-UX retrieve the contents of a DtEditor widget
DtEditorGetLastPosition HP-UX retrieve the position of the last character in a DtEditor widget
DtEditorGetInsertionPosition HP-UX retrieve the position of the insert cursor in a DtEditor widget
DtEditorGetMessageTextFieldID HP-UX retrieve the widget ID of the message text field in the DtEditor status line
DtEditor HP-UX the DtEditor widget class
DtEditorSetContents HP-UX place data into a DtEditor widget
DtCreateEditor HP-UX create a new instance of a DtEditor widget
DtEditorInsert HP-UX insert data into a DtEditor widget
DtEditorSelectAll HP-UX select all text in a DtEditor widget
DtEditorAppend HP-UX append data to a DtEditor widget
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service