X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0599486175c95fd5576c2c60687c5b58db2f4619..e63f19ba93dad9ffe386e442e86d38e07345df7b:/docs/latex/wx/upduievt.tex?ds=sidebyside diff --git a/docs/latex/wx/upduievt.tex b/docs/latex/wx/upduievt.tex index 1032665247..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. @@ -116,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} @@ -128,6 +134,12 @@ 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} @@ -140,6 +152,12 @@ Returns true if the application has called \helpref{wxUpdateUIEvent::Check}{wxup 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} @@ -188,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