git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58978
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
22 files changed:
An event object contains information about a specific event. Event handlers
(usually member functions) have a single, event argument.
An event object contains information about a specific event. Event handlers
(usually member functions) have a single, event argument.
-Related Overviews: @ref overview_eventhandling
+Related Overviews: @ref overview_events
Related macros/global-functions group: @ref group_funcmacro_events
Related macros/global-functions group: @ref group_funcmacro_events
An event object contains information about a specific event. Event handlers
(usually member functions) have a single, event argument.
An event object contains information about a specific event. Event handlers
(usually member functions) have a single, event argument.
-Related Overviews: @ref overview_eventhandling
+Related Overviews: @ref overview_events
@li wxActivateEvent: A window or application activation event
@li wxCalendarEvent: Used with wxCalendarCtrl
@li wxActivateEvent: A window or application activation event
@li wxCalendarEvent: Used with wxCalendarCtrl
/////////////////////////////////////////////////////////////////////////////\r
\r
/**\r
/////////////////////////////////////////////////////////////////////////////\r
\r
/**\r
- @page overview_events Events and Event Handling\r
- Related classes: wxEvtHandler, wxWindow, wxEvent\r
+@page overview_events Events and Event Handling\r
+\r
+Related classes: wxEvtHandler, wxWindow, wxEvent\r
\r
@li @ref overview_events_introduction\r
@li @ref overview_events_eventhandling\r
\r
@li @ref overview_events_introduction\r
@li @ref overview_events_eventhandling\r
You can optionally define event handlers for the validator, to implement
filtering. These handlers will capture events before the control itself does
You can optionally define event handlers for the validator, to implement
filtering. These handlers will capture events before the control itself does
-(see @ref overview_eventhandling_processing).
+(see @ref overview_events_processing).
For an example implementation, see the @c valtext.h and @c valtext.cpp files in the
wxWidgets library.
For an example implementation, see the @c valtext.h and @c valtext.cpp files in the
wxWidgets library.
function was found, in which case the function exits.
-# The search is applied down the entire chain of event handlers (usually the
chain has a length of one). This chain can be formed using wxEvtHandler::SetNextHandler():
function was found, in which case the function exits.
-# The search is applied down the entire chain of event handlers (usually the
chain has a length of one). This chain can be formed using wxEvtHandler::SetNextHandler():
- @image html overview_eventhandling_chain.png
+ @image html overview_events_chain.png
(referring to the image, if @c A->ProcessEvent is called and it doesn't handle
the event, @c B->ProcessEvent will be called and so on...).
Note that in the case of wxWindow you can build a stack of event handlers
(referring to the image, if @c A->ProcessEvent is called and it doesn't handle
the event, @c B->ProcessEvent will be called and so on...).
Note that in the case of wxWindow you can build a stack of event handlers
@library{wxadv}
@category{winlayout}
@library{wxadv}
@category{winlayout}
- @see wxSashEvent, wxSashLayoutWindow, @ref overview_eventhandling
+ @see wxSashEvent, wxSashLayoutWindow, @ref overview_events
*/
class wxLayoutAlgorithm : public wxObject
{
*/
class wxLayoutAlgorithm : public wxObject
{
@library{wxadv}
@category{miscwnd}
@library{wxadv}
@category{miscwnd}
- @see wxLayoutAlgorithm, wxSashWindow, @ref overview_eventhandling
+ @see wxLayoutAlgorithm, wxSashWindow, @ref overview_events
*/
class wxSashLayoutWindow : public wxSashWindow
{
*/
class wxSashLayoutWindow : public wxSashWindow
{
@library{wxbase}
@category{events}
@library{wxbase}
@category{events}
- @see wxProcess, @ref overview_eventhandling
+ @see wxProcess, @ref overview_events
*/
class wxProcessEvent : public wxEvent
{
*/
class wxProcessEvent : public wxEvent
{
@category{ctrl}
@appearance{radiobox.png}
@category{ctrl}
@appearance{radiobox.png}
- @see @ref overview_eventhandling, wxRadioButton, wxCheckBox
+ @see @ref overview_events, wxRadioButton, wxCheckBox
*/
class wxRadioBox : public wxControl, wxItemContainerImmutable
{
*/
class wxRadioBox : public wxControl, wxItemContainerImmutable
{
@category{ctrl}
@appearance{radiobutton.png}
@category{ctrl}
@appearance{radiobutton.png}
- @see @ref overview_eventhandling, wxRadioBox, wxCheckBox
+ @see @ref overview_events, wxRadioBox, wxCheckBox
*/
class wxRadioButton : public wxControl
{
*/
class wxRadioButton : public wxControl
{
@library{wxadv}
@category{miscwnd}
@library{wxadv}
@category{miscwnd}
- @see wxSashEvent, wxSashLayoutWindow, @ref overview_eventhandling
+ @see wxSashEvent, wxSashLayoutWindow, @ref overview_events
*/
class wxSashWindow : public wxWindow
{
*/
class wxSashWindow : public wxWindow
{
@library{wxadv}
@category{events}
@library{wxadv}
@category{events}
- @see wxSashWindow, @ref overview_eventhandling
+ @see wxSashWindow, @ref overview_events
*/
class wxSashEvent : public wxCommandEvent
{
*/
class wxSashEvent : public wxCommandEvent
{
@category{ctrl}
@appearance{scrollbar.png}
@category{ctrl}
@appearance{scrollbar.png}
- @see @ref overview_scrolling, @ref overview_eventhandling, wxScrolled
+ @see @ref overview_scrolling, @ref overview_events, wxScrolled
*/
class wxScrollBar : public wxControl
{
*/
class wxScrollBar : public wxControl
{
@category{ctrl}
@appearance{slider.png}
@category{ctrl}
@appearance{slider.png}
- @see @ref overview_eventhandling, wxScrollBar
+ @see @ref overview_events, wxScrollBar
*/
class wxSlider : public wxControl
{
*/
class wxSlider : public wxControl
{
@library{wxcore}
@category{events}
@library{wxcore}
@category{events}
- @see wxSplitterWindow, @ref overview_eventhandling
+ @see wxSplitterWindow, @ref overview_events
*/
class wxSplitterEvent : public wxNotifyEvent
{
*/
class wxSplitterEvent : public wxNotifyEvent
{
Removes and returns the top-most event handler on the event handler stack.
E.g. in the case of:
Removes and returns the top-most event handler on the event handler stack.
E.g. in the case of:
- @image html overview_eventhandling_winstack.png
+ @image html overview_events_winstack.png
when calling @c W->PopEventHandler(), the event handler @c A will be
removed and @c B will be the first handler of the stack.
when calling @c W->PopEventHandler(), the event handler @c A will be
removed and @c B will be the first handler of the stack.
W->PushEventHandler(B);
@endcode
you will end up with the following situation:
W->PushEventHandler(B);
@endcode
you will end up with the following situation:
- @image html overview_eventhandling_winstack.png
+ @image html overview_events_winstack.png
Note that you can use wxWindow::PopEventHandler to remove the event handler.
Note that you can use wxWindow::PopEventHandler to remove the event handler.