'\" t .\" ToggleBF.sgm /main/8 1996/09/08 21:10:50 rws $ .de P! .fl \!!1 setgray .fl \\&.\" .fl \!!0 setgray .fl \" force out current output buffer \!!save /psv exch def currentpoint translate 0 0 moveto \!!/showpage{}def .fl \" prolog .sy sed -e 's/^/!/' \\$1\" bring in postscript file \!!psv restore . .de pF .ie \\*(f1 .ds f1 \\n(.f .el .ie \\*(f2 .ds f2 \\n(.f .el .ie \\*(f3 .ds f3 \\n(.f .el .ie \\*(f4 .ds f4 \\n(.f .el .tm ? font overflow .ft \\$1 .. .de fP .ie !\\*(f4 \{\ . ft \\*(f4 . ds f4\" ' br \} .el .ie !\\*(f3 \{\ . ft \\*(f3 . ds f3\" ' br \} .el .ie !\\*(f2 \{\ . ft \\*(f2 . ds f2\" ' br \} .el .ie !\\*(f1 \{\ . ft \\*(f1 . ds f1\" ' br \} .el .tm ? font underflow .. .ds f1\" .ds f2\" .ds f3\" .ds f4\" .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .TH "XmToggleButtonSetState" 3 .SH "NAME" \fBXmToggleButtonSetState\fP \(em A ToggleButton function that sets or changes the current state "XmToggleButtonSetState" "ToggleButton functions" "XmToggleButtonSetState" .SH "SYNOPSIS" .PP .nf #include \fBvoid \fBXmToggleButtonSetState\fP\fR( \fBWidget \fBwidget\fR\fR, \fBBoolean \fBstate\fR\fR, \fBBoolean \fBnotify\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmToggleButtonSetState\fP sets or changes the ToggleButton\&'s current state\&. .IP "\fIwidget\fP" 10 Specifies the ToggleButton widget ID\&. .IP "\fIstate\fP" 10 Specifies a Boolean value that indicates whether the ToggleButton state is selected or unselected\&. If the value is True, the button state is selected; if it is False, the button state is unselected\&. .IP "\fInotify\fP" 10 Indicates whether \fBXmNvalueChangedCallback\fP is called; it can be either True or False\&. The \fBXmNvalueChangedCallback\fP is only called when this function changes the state of the ToggleButton\&. When this argument is True and the ToggleButton is a child of a RowColumn widget whose \fBXmNradioBehavior\fP is True, setting the ToggleButton causes other ToggleButton and ToggleButtonGadget children of the RowColumn to be unselected\&. .PP For a complete definition of ToggleButton and its associated resources, see \fBXmToggleButton\fP(3)\&. .SH "RELATED" .PP \fBXmToggleButton\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:33