Blob Blame History Raw
'\" t
...\" ToggleBD.sgm /main/8 1996/09/08 21:10:42 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 "XmToggleButtonGadgetSetState" "library call"
.SH "NAME"
\fBXmToggleButtonGadgetSetState\fP \(em A ToggleButtonGadget function that sets or changes the current state
.iX "XmToggleButtonGadgetSet\\%State"
.iX "ToggleButtonGadget functions" "XmToggleButtonGadgetSet\\%State"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/ToggleBG\&.h>
\fBvoid \fBXmToggleButtonGadgetSetState\fP\fR(
\fBWidget \fBwidget\fR\fR,
\fBBoolean \fBstate\fR\fR,
\fBBoolean \fBnotify\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmToggleButtonGadgetSetState\fP sets or changes the ToggleButtonGadget\&'s
current state\&.
.IP "\fIwidget\fP" 10
Specifies the ToggleButtonGadget widget ID\&.
.IP "\fIstate\fP" 10
Specifies a Boolean value that indicates whether the ToggleButtonGadget 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 ToggleButtonGadget\&.
When this argument is True and the ToggleButtonGadget is a child of a
RowColumn widget whose \fBXmNradioBehavior\fP is True, setting the
ToggleButtonGadget causes other ToggleButton and ToggleButtonGadget
children of the RowColumn to be unselected\&.
.PP
For a complete definition of ToggleButtonGadget and
its associated resources, see \fBXmToggleButtonGadget\fP(3)\&.
.SH "RELATED"
.PP
\fBXmToggleButtonGadget\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:33