X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15d83f726c215b06f2fdd15ece40d66d2f16a01d..c63312c472c83be6d3b935f0ceeef484a7d611ce:/docs/latex/wx/upduievt.tex diff --git a/docs/latex/wx/upduievt.tex b/docs/latex/wx/upduievt.tex index d6aabd751a..aea947ee53 100644 --- a/docs/latex/wx/upduievt.tex +++ b/docs/latex/wx/upduievt.tex @@ -27,7 +27,7 @@ functions that take a wxUpdateUIEvent argument. \wxheading{Remarks} Without update UI events, an application has to work hard to check/uncheck, enable/disable, -and set the text for elements such as menu items and toolbar buttons. +show/hide, and set the text for elements such as menu items and toolbar buttons. The code for doing this has to be mixed up with the code that is invoked when an action is invoked for a menu item or button. @@ -81,43 +81,6 @@ to be shown, and not in idle time. Constructor. -\membersection{wxUpdateUIEvent::m\_checked}\label{wxupdateuieventmchecked} - -\member{bool}{m\_checked} - -true if the element should be checked, false otherwise. - -\membersection{wxUpdateUIEvent::m\_enabled}\label{wxupdateuieventmenabled} - -\member{bool}{m\_checked} - -true if the element should be enabled, false otherwise. - -\membersection{wxUpdateUIEvent::m\_setChecked}\label{wxupdateuieventmsetchecked} - -\member{bool}{m\_setChecked} - -true if the application has set the {\bf m\_checked} member. - -\membersection{wxUpdateUIEvent::m\_setEnabled}\label{wxupdateuieventmsetenabled} - -\member{bool}{m\_setEnabled} - -true if the application has set the {\bf m\_enabled} member. - -\membersection{wxUpdateUIEvent::m\_setText}\label{wxupdateuieventmsettext} - -\member{bool}{m\_setText} - -true if the application has set the {\bf m\_text} member. - -\membersection{wxUpdateUIEvent::m\_text}\label{wxupdateuieventmtext} - -\member{wxString}{m\_text} - -Holds the text with which the the application wishes to -update the UI element. - \membersection{wxUpdateUIEvent::CanUpdate}\label{wxupdateuieventcanupdate} \func{static bool}{CanUpdate}{\param{wxWindow*}{ window}} @@ -153,6 +116,12 @@ Check or uncheck the UI element. Enable or disable the UI element. +\membersection{wxUpdateUIEvent::Show}\label{wxupdateuieventshow} + +\func{void}{Show}{\param{bool}{ show}} + +Show or hide the UI element. + \membersection{wxUpdateUIEvent::GetChecked}\label{wxupdateuieventgetchecked} \constfunc{bool}{GetChecked}{\void} @@ -165,23 +134,35 @@ Returns true if the UI element should be checked. Returns true if the UI element should be enabled. +\membersection{wxUpdateUIEvent::GetShown}\label{wxupdateuieventgetshown} + +\constfunc{bool}{GetShown}{\void} + +Returns true if the UI element should be shown. + \membersection{wxUpdateUIEvent::GetSetChecked}\label{wxupdateuieventgetsetchecked} \constfunc{bool}{GetSetChecked}{\void} -Returns true if the application has called {\bf SetChecked}. For wxWidgets internal use only. +Returns true if the application has called \helpref{wxUpdateUIEvent::Check}{wxupdateuieventcheck}. For wxWidgets internal use only. \membersection{wxUpdateUIEvent::GetSetEnabled}\label{wxupdateuieventgetsetenabled} \constfunc{bool}{GetSetEnabled}{\void} -Returns true if the application has called {\bf SetEnabled}. For wxWidgets internal use only. +Returns true if the application has called \helpref{wxUpdateUIEvent::Enable}{wxupdateuieventenable}. For wxWidgets internal use only. + +\membersection{wxUpdateUIEvent::GetSetShown}\label{wxupdateuieventgetsetshown} + +\constfunc{bool}{GetSetShown}{\void} + +Returns true if the application has called \helpref{wxUpdateUIEvent::Show}{wxupdateuieventshow}. For wxWidgets internal use only. \membersection{wxUpdateUIEvent::GetSetText}\label{wxupdateuieventgetsettext} \constfunc{bool}{GetSetText}{\void} -Returns true if the application has called {\bf SetText}. For wxWidgets internal use only. +Returns true if the application has called \helpref{wxUpdateUIEvent::SetText}{wxupdateuieventsettext}. For wxWidgets internal use only. \membersection{wxUpdateUIEvent::GetText}\label{wxupdateuieventgettext} @@ -225,7 +206,7 @@ idle processing. \membersection{wxUpdateUIEvent::SetMode}\label{wxupdateuieventsetmode} -\func{static void}{SetMode}{\param{wxIdleMode }{mode}} +\func{static void}{SetMode}{\param{wxUpdateUIMode }{mode}} Specify how wxWidgets will send update events: to all windows, or only to those which specify that they