DOKK / manpages / debian 10 / libmotif-dev / XmCreateToggleButtonGadget.3.en
XmCreateToggleButtonGadget(3) Library Functions Manual XmCreateToggleButtonGadget(3)

XmCreateToggleButtonGadget — The ToggleButtonGadget creation function "XmCreateToggleButton\%Gadget" "creation functions" "XmCreateToggleButton\%Gadget"

#include <Xm/ToggleBG.h>
Widget XmCreateToggleButtonGadget(
Widget parent,
String name,
ArgList arglist,
Cardinal argcount);

XmCreateToggleButtonGadget creates an instance of a ToggleButtonGadget and returns the associated widget ID.

Specifies the parent widget ID
Specifies the name of the created widget
Specifies the argument list
Specifies the number of attribute/value pairs in the argument list (arglist)

For a complete definition of ToggleButtonGadget and its associated resources, see XmToggleButtonGadget(3).

Returns the ToggleButtonGadget widget ID.

XmToggleButtonGadget(3).