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.