EVT_SCROLL_PAGEDOWN page down events
EVT_SCROLL_THUMBTRACK thumbtrack events (frequent events sent
as the user drags the 'thumb')
- EVT_SCROLL_THUMBRELEASE thumb release events.
- EVT_SCROLL_ENDSCROLL End of scrolling
+ EVT_SCROLL_THUMBRELEASE thumb release events
+ EVT_SCROLL_CHANGED End of scrolling
======================= ==========================================
Note
The EVT_SCROLL_THUMBRELEASE event is only emitted when actually
dragging the thumb using the mouse and releasing it (This
EVT_SCROLL_THUMBRELEASE event is also followed by an
- EVT_SCROLL_ENDSCROLL event).
+ EVT_SCROLL_CHANGED event).
- The EVT_SCROLL_ENDSCROLL event also occurs when using the keyboard
+ The EVT_SCROLL_CHANGED event also occurs when using the keyboard
to change the thumb position, and when clicking next to the thumb
(In all these cases the EVT_SCROLL_THUMBRELEASE event does not
happen).
- In short, the EVT_SCROLL_ENDSCROLL event is triggered when
+ In short, the EVT_SCROLL_CHANGED event is triggered when
scrolling/ moving has finished. The only exception (unfortunately)
is that changing the thumb position using the mousewheel does give
- a EVT_SCROLL_THUMBRELEASE event but NOT an EVT_SCROLL_ENDSCROLL
+ a EVT_SCROLL_THUMBRELEASE event but NOT an EVT_SCROLL_CHANGED
event.
");
EVT_SCROLLWIN_PAGEDOWN page down events
EVT_SCROLLWIN_THUMBTRACK thumbtrack events (frequent events sent
as the user drags the 'thumb')
- EVT_SCROLLWIN_THUMBRELEASE thumb release events.
- EVT_SCROLLWIN_ENDSCROLL End of scrolling
+ EVT_SCROLLWIN_THUMBRELEASE thumb release events
+ EVT_SCROLLWIN_CHANGED End of scrolling
========================== ==========================================
:see: `wx.ScrollEvent`
%newgroup;
DocStr(wxChildFocusEvent,
-"wx.ChildFocusEvent notifies the parent that a child has received the
-focus. Unlike `wx.FocusEvent` it is propagated up the window
-heirarchy.", "");
+"A child focus event is sent to a (parent-)window when one of its child
+windows gains focus, so that the window could restore the focus back
+to its corresponding child if it loses it now and regains later.
+
+Notice that child window is the direct child of the window receiving
+the event, and so may not be the actual widget recieving focus if it
+is further down the containment heirarchy. Use `wx.Window.FindFocus`
+to get the widget that is actually receiving focus.", "");
class wxChildFocusEvent : public wxCommandEvent
DocDeclStr(
wxWindow *, GetWindow() const,
- "The window which has just received the focus.", "");
+ "The window, or (grand)parent of the window which has just received the
+focus.", "");
%property(Window, GetWindow, doc="See `GetWindow`");
};
all windows, or only to those which specify that they will process the
events.", "");
+ %property(Checked, GetChecked, Check, doc="See `GetChecked`");
+ %property(Enabled, GetEnabled, Enable, doc="See `GetEnabled`");
+ %property(Shown, GetShown, Show, doc="See `GetShown`");
+ %property(Text, GetText, SetText, doc="See `GetText` and `SetText`");
};
//---------------------------------------------------------------------------
wxWindow *, GetWindow() const,
"Returns the window that this event refers to.", "");
+ %property(Window, GetWindow, doc="See `GetWindow`");
};
DocDeclStr(
wxWindow *, GetWindow() const,
"Returns the window that this event refers to.", "");
+
+ %property(Window, GetWindow, doc="See `GetWindow`");
};