(* Xm/ToggleB.def  Oct 15  20:27:29  1996 *)
(* Copyright (c) 1996,1997 XDS Ltd, Russia. All rights reserved. *)

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

(* $RCSfile: ToggleB.def,v $ $Revision: 4 $ $Date: 28.07.98 23:15 $ *)

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

DEFINITION MODULE ["C"] ToggleB;

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

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

(*
 * Motif Release 1.2 
 *)

(***********************************************************************
 *
 * Toggle Widget
 *
 ***********************************************************************)

VAR 
  xmToggleButtonWidgetClass: Xt.WidgetClass;

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

  XmToggleButtonWidgetClass = POINTER TO _XmToggleButtonClassRec;

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

  XmToggleButtonWidget = POINTER TO _XmToggleButtonRec;

(* fast subclass define  *)

<* IF __GEN_C__ THEN *>

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

<* ELSE *>

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

<* END *>

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

PROCEDURE XmToggleButtonGetState ( w: Xt.Widget ): Xt.Boolean;

PROCEDURE XmToggleButtonSetState ( w: Xt.Widget; newstate: SYSTEM.int;
                                   notify: SYSTEM.int );

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

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

END ToggleB.
