(* Xm/ScrolledW.def  Oct 15  19:21:25  1996 *)
(* Copyright (c) 1996,1997 XDS Ltd, Russia. All rights reserved. *)

(* Converted from Xm/ScrolledW.h using H2D v1.16 *)

(* $RCSfile: ScrolledW.def,v $ $Revision: 4 $ $Date: 28.07.98 23:14 $ *)

<*+ M2ADDTYPES *>
<*+ M2EXTENSIONS *>
<*+ NOHEADER *> 
<* IF NOT DEFINED(GENTYPEDEF) THEN *> <* NEW GENTYPEDEF+ *> <* END *>
<*+ CSTDLIB *>

DEFINITION MODULE ["C"] ScrolledW;

IMPORT SYSTEM, Xt:=Intrinsic;
(* H2D:  Required IMPORT clause: 
IMPORT ScrolledW, Intrinsic;
*)

(*
 * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
 * ALL RIGHTS RESERVED
 *)

(*
 * Motif Release 1.2 
 *)

<* IF __GEN_C__ THEN *>

(* H2D: this procedure corresponds to a macro. *)
PROCEDURE XmIsScrolledWindow ( w: Xt.Widget ): Xt.Boolean;

<* ELSE *>

PROCEDURE  / XmIsScrolledWindow ( w: Xt.Widget ): Xt.Boolean;

<* END *>

VAR 
  xmScrolledWindowWidgetClass: Xt.WidgetClass;

TYPE 
  _XmScrolledWindowClassRec = RECORD
    (* Declaration without definition *)
  END;

  XmScrolledWindowWidgetClass = POINTER TO _XmScrolledWindowClassRec;

  _XmScrolledWindowRec = RECORD
    (* Declaration without definition *)
  END;

  XmScrolledWindowWidget = POINTER TO _XmScrolledWindowRec;

(********    Public Function Declarations    ********)

PROCEDURE XmScrolledWindowSetAreas ( w: Xt.Widget;
                                     hscroll: Xt.Widget;
                                     vscroll: Xt.Widget;
                                     wregion: Xt.Widget );

PROCEDURE XmCreateScrolledWindow ( parent: Xt.Widget;
                                   name: ARRAY OF CHAR;
                                   args: Xt.ArgList;
                                   argCount: Xt.Cardinal ): Xt.Widget;

PROCEDURE XmScrollVisible ( scrw: Xt.Widget;
                            wid: Xt.Widget;
                            hor_margin: Xt.Dimension;
                            ver_margin: Xt.Dimension );

(********    End Public Function Declarations    ********)

END ScrolledW.
