X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0a87ef19ceee692fcf22ac6d81933be32a8860f2..2712e31795ee7ab4de62189b440d702f3f849c0d:/docs/latex/wx/tglbtn.tex diff --git a/docs/latex/wx/tglbtn.tex b/docs/latex/wx/tglbtn.tex index 78b0413f6a..88519f5fd9 100644 --- a/docs/latex/wx/tglbtn.tex +++ b/docs/latex/wx/tglbtn.tex @@ -15,6 +15,8 @@ wxToggleButton is a button that stays pressed when clicked by the user. In other words, it is similar to \helpref{wxCheckBox}{wxcheckbox} in functionality but looks like a \helpref{wxButton}{wxbutton}. +Since wxWidgets version 2.9.0 this control emits an update UI event. + You can see wxToggleButton in action in the sixth page of the \helpref{controls}{samplecontrols} sample. @@ -29,6 +31,10 @@ You can see wxToggleButton in action in the sixth page of the +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{Window styles} There are no special styles for wxToggleButton. @@ -44,7 +50,8 @@ See also \helpref{window styles overview}{windowstyles}. \wxheading{See also} -\helpref{wxCheckBox}{wxcheckbox}, \helpref{wxButton}{wxbutton} +\helpref{wxCheckBox}{wxcheckbox}, \helpref{wxButton}{wxbutton}, +\helpref{wxBitmapToggleButton}{wxbitmaptogglebutton} \latexignore{\rtfignore{\wxheading{Members}}} @@ -111,7 +118,7 @@ Returns {\tt true} if it is pressed, {\tt false} otherwise. \membersection{wxToggleButton::SetValue}\label{wxtogglebuttonsetvalue} -\func{void}{SetValue}{\param{const bool}{ state}} +\func{void}{SetValue}{\param{bool}{ state}} Sets the toggle button to the given state. This does not cause a {\tt EVT\_TOGGLEBUTTON} event to be emitted. @@ -119,3 +126,4 @@ Sets the toggle button to the given state. This does not cause a \wxheading{Parameters} \docparam{state}{If {\tt true}, the button is pressed.} +