GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||
GeezerVison is showing docs.wxpython.org — wx.SplitterEvent — wxPython 4.3.2 Docs
|
Constructor. |
|
Returns the new size which is set after the update. |
|
Returns the old size before the update. |
|
Returns the new sash position. |
|
Returns a pointer to the window being removed when a splitter window is unsplit. |
|
Returns the x coordinate of the double-click point. |
|
Returns the y coordinate of the double-click point. |
|
In the case of |
|
Sets the size values of the window size. |
Properties Summary¶See |
|
See |
|
See |
|
See |
|
See |
Class API¶Possible constructors:
SplitterEvent(eventType=wxEVT_NULL, splitter=None) -> None
This class represents the events generated by a splitter control.
Constructor.
Used internally by wxWidgets only.
eventType (wx.EventType)
splitter (wx.SplitterWindow)
None
Returns the new size which is set after the update.
The size value is already adjusted to the orientation of the sash. So for a vertical sash it’s the width and for a horizontal sash it’s the height.
May only be called while processing wxEVT_SPLITTER_SASH_POS_CHANGING , wxEVT_SPLITTER_SASH_POS_RESIZE and wxEVT_SPLITTER_SASH_POS_CHANGED events.
int
Added in version 4.1/wxWidgets-3.1.6.
Returns the old size before the update.
The size value is already adjusted to the orientation of the sash. So for a vertical sash it’s the width and for a horizontal sash it’s the height.
May only be called while processing wxEVT_SPLITTER_SASH_POS_CHANGING , wxEVT_SPLITTER_SASH_POS_RESIZE and wxEVT_SPLITTER_SASH_POS_CHANGED events.
int
Added in version 4.1/wxWidgets-3.1.6.
Returns the new sash position.
May only be called while processing wxEVT_SPLITTER_SASH_POS_CHANGING , wxEVT_SPLITTER_SASH_POS_RESIZE and wxEVT_SPLITTER_SASH_POS_CHANGED events.
int
Returns a pointer to the window being removed when a splitter window is unsplit.
May only be called while processing wxEVT_SPLITTER_UNSPLIT events.
Returns the x coordinate of the double-click point.
May only be called while processing wxEVT_SPLITTER_DOUBLECLICKED events.
int
Returns the y coordinate of the double-click point.
May only be called while processing wxEVT_SPLITTER_DOUBLECLICKED events.
int
In the case of wxEVT_SPLITTER_SASH_POS_CHANGED events, sets the new sash position.
In the case of wxEVT_SPLITTER_SASH_POS_CHANGING events, sets the new tracking bar position so visual feedback during dragging will represent that change that will actually take place. Set to -1 from the event handler code to prevent repositioning.
May only be called while processing wxEVT_SPLITTER_SASH_POS_CHANGING , wxEVT_SPLITTER_SASH_POS_RESIZE and wxEVT_SPLITTER_SASH_POS_CHANGED events.
pos (int) – New sash position.
None
Sets the size values of the window size.
This size is adjusted to the sash orientation. For a vertical sash it should be the width and for a horizontal sash it’s the height.
May only be called while processing wxEVT_SPLITTER_SASH_POS_CHANGING , wxEVT_SPLITTER_SASH_POS_RESIZE and wxEVT_SPLITTER_SASH_POS_CHANGED events.
oldSize (int)
newSize (int)
None
Added in version 4.1/wxWidgets-3.1.6.
See GetNewSize
See GetOldSize
See GetSashPosition and SetSashPosition