1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045
|
.. wxPython Phoenix documentation
This file was generated by Phoenix's sphinx generator and associated
tools, do not edit by hand.
Copyright: (c) 2011-2018 by Total Control Software
License: wxWindows License
.. include:: headings.inc
.. _wx.SplitterWindow:
==========================================================================================================================================
|phoenix_title| **wx.SplitterWindow**
==========================================================================================================================================
This class manages up to two subwindows.
The current view can be split into two programmatically (perhaps from a menu command), and unsplit either programmatically or via the :ref:`wx.SplitterWindow` user interface.
.. _SplitterWindow-styles:
|styles| Window Styles
================================
This class supports the following styles:
- ``wx.SP_3D``: Draws a 3D effect border and sash.
- ``wx.SP_THIN_SASH``: Draws a thin sash.
- ``wx.SP_3DSASH``: Draws a 3D effect sash (part of default style).
- ``wx.SP_3DBORDER``: Synonym for ``wx.SP_BORDER``.
- ``wx.SP_BORDER``: Draws a standard border.
- ``wx.SP_NOBORDER``: No border (default).
- ``wx.SP_NO_XP_THEME``: Under Windows XP, switches off the attempt to draw the splitter using Windows XP theming, so the borders and sash will take on the pre-XP look.
- ``wx.SP_PERMIT_UNSPLIT``: Always allow to unsplit, even with the minimum pane size other than zero.
- ``wx.SP_LIVE_UPDATE``: Don't draw ``wx.XOR`` line but resize the child windows immediately.
.. _SplitterWindow-events:
|events| Events Emitted by this Class
=====================================
Handlers bound for the following event types will receive a :ref:`wx.SplitterEvent` parameter.
- EVT_SPLITTER_SASH_POS_CHANGING: The sash position is in the process of being changed. May be used to modify the position of the tracking bar to properly reflect the position that would be set if the drag were to be completed at this point. Processes a ``wxEVT_SPLITTER_SASH_POS_CHANGING`` event.
- EVT_SPLITTER_SASH_POS_CHANGED: The sash position was changed. May be used to modify the sash position before it is set, or to prevent the change from taking place. Processes a ``wxEVT_SPLITTER_SASH_POS_CHANGED`` event.
- EVT_SPLITTER_UNSPLIT: The splitter has been just unsplit. Processes a ``wxEVT_SPLITTER_UNSPLIT`` event.
- EVT_SPLITTER_DCLICK: The sash was double clicked. The default behaviour is to unsplit the window when this happens (unless the minimum pane size has been set to a value greater than zero). Processes a ``wxEVT_SPLITTER_DOUBLECLICKED`` event.
.. seealso:: :ref:`wx.SplitterEvent`, :ref:`SplitterWindow Overview <splitterwindow overview>`
|
|class_hierarchy| Class Hierarchy
=================================
.. raw:: html
<div id="toggleBlock" onclick="return toggleVisibility(this)" class="closed" style="cursor:pointer;">
<img id="toggleBlock-trigger" src="_static/images/closed.png"/>
Inheritance diagram for class <strong>SplitterWindow</strong>:
</div>
<div id="toggleBlock-summary" style="display:block;"></div>
<div id="toggleBlock-content" style="display:none;">
<p class="graphviz">
<center><img src="_static/images/inheritance/wx.SplitterWindow_inheritance.png" alt="Inheritance diagram of SplitterWindow" usemap="#dummy" class="inheritance"/></center>
</div>
<script type="text/javascript">toggleVisibilityOnLoad(document.getElementById('toggleBlock'))</script>
<map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.EvtHandler.html" title="wx.EvtHandler" alt="" coords="48,83,159,112"/> <area shape="rect" id="node5" href="wx.Window.html" title="wx.Window" alt="" coords="59,160,148,189"/> <area shape="rect" id="node2" href="wx.Object.html" title="wx.Object" alt="" coords="5,5,87,35"/> <area shape="rect" id="node3" href="wx.Trackable.html" title="wx.Trackable" alt="" coords="112,5,213,35"/> <area shape="rect" id="node4" href="wx.SplitterWindow.html" title="wx.SplitterWindow" alt="" coords="37,237,171,267"/> </map>
</p>
|
|method_summary| Methods Summary
================================
================================================================================ ================================================================================
:meth:`~wx.SplitterWindow.__init__` Default constructor.
:meth:`~wx.SplitterWindow.Create` Creation function, for two-step construction.
:meth:`~wx.SplitterWindow.GetDefaultSashSize` Returns the default sash size in pixels.
:meth:`~wx.SplitterWindow.GetMinimumPaneSize` Returns the current minimum pane size (defaults to zero).
:meth:`~wx.SplitterWindow.GetSashGravity` Returns the current sash gravity.
:meth:`~wx.SplitterWindow.GetSashPosition` Returns the current sash position.
:meth:`~wx.SplitterWindow.GetSashSize` Returns the default sash size in pixels or 0 if it is invisible.
:meth:`~wx.SplitterWindow.GetSplitMode` Gets the split mode.
:meth:`~wx.SplitterWindow.GetWindow1` Returns the left/top or only pane.
:meth:`~wx.SplitterWindow.GetWindow2` Returns the right/bottom pane.
:meth:`~wx.SplitterWindow.Initialize` Initializes the splitter window to have one pane.
:meth:`~wx.SplitterWindow.IsSashInvisible` Returns ``True`` if the sash is invisible even when the window is split, ``False`` otherwise.
:meth:`~wx.SplitterWindow.IsSplit` Returns ``True`` if the window is split, ``False`` otherwise.
:meth:`~wx.SplitterWindow.ReplaceWindow` This function replaces one of the windows managed by the :ref:`wx.SplitterWindow` with another one.
:meth:`~wx.SplitterWindow.SetMinimumPaneSize` Sets the minimum pane size.
:meth:`~wx.SplitterWindow.SetSashGravity` Sets the sash gravity.
:meth:`~wx.SplitterWindow.SetSashInvisible` Sets whether the sash should be invisible, even when the window is split.
:meth:`~wx.SplitterWindow.SetSashPosition` Sets the sash position.
:meth:`~wx.SplitterWindow.SetSashSize` Returns the default sash size in pixels or 0 if it is invisible.
:meth:`~wx.SplitterWindow.SetSplitMode` Sets the split mode.
:meth:`~wx.SplitterWindow.SplitHorizontally` Initializes the top and bottom panes of the splitter window.
:meth:`~wx.SplitterWindow.SplitVertically` Initializes the left and right panes of the splitter window.
:meth:`~wx.SplitterWindow.Unsplit` Unsplits the window.
:meth:`~wx.SplitterWindow.UpdateSize` Causes any pending sizing of the sash and child panes to take place immediately.
================================================================================ ================================================================================
|
|property_summary| Properties Summary
=====================================
================================================================================ ================================================================================
:attr:`~wx.SplitterWindow.DefaultSashSize` See :meth:`~wx.SplitterWindow.GetDefaultSashSize`
:attr:`~wx.SplitterWindow.MinimumPaneSize` See :meth:`~wx.SplitterWindow.GetMinimumPaneSize` and :meth:`~wx.SplitterWindow.SetMinimumPaneSize`
:attr:`~wx.SplitterWindow.SashGravity` See :meth:`~wx.SplitterWindow.GetSashGravity` and :meth:`~wx.SplitterWindow.SetSashGravity`
:attr:`~wx.SplitterWindow.SashInvisible` See :meth:`~wx.SplitterWindow.IsSashInvisible` and :meth:`~wx.SplitterWindow.SetSashInvisible`
:attr:`~wx.SplitterWindow.SashPosition` See :meth:`~wx.SplitterWindow.GetSashPosition` and :meth:`~wx.SplitterWindow.SetSashPosition`
:attr:`~wx.SplitterWindow.SashSize` See :meth:`~wx.SplitterWindow.GetSashSize` and :meth:`~wx.SplitterWindow.SetSashSize`
:attr:`~wx.SplitterWindow.SplitMode` See :meth:`~wx.SplitterWindow.GetSplitMode` and :meth:`~wx.SplitterWindow.SetSplitMode`
:attr:`~wx.SplitterWindow.Window1` See :meth:`~wx.SplitterWindow.GetWindow1`
:attr:`~wx.SplitterWindow.Window2` See :meth:`~wx.SplitterWindow.GetWindow2`
================================================================================ ================================================================================
|
|api| Class API
===============
.. class:: wx.SplitterWindow(Window)
**Possible constructors**::
SplitterWindow()
SplitterWindow(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize,
style=SP_3D, name="splitterWindow")
This class manages up to two subwindows.
.. method:: __init__(self, *args, **kw)
|overload| Overloaded Implementations:
**~~~**
**__init__** `(self)`
Default constructor.
**~~~**
**__init__** `(self, parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, style=SP_3D, name="splitterWindow")`
Constructor for creating the window.
:param `parent`: The parent of the splitter window.
:type `parent`: wx.Window
:param `id`: The window identifier.
:type `id`: wx.WindowID
:param `pos`: The window position.
:type `pos`: wx.Point
:param `size`: The window size.
:type `size`: wx.Size
:param `style`: The window style. See :ref:`wx.SplitterWindow`.
:type `style`: long
:param `name`: The window name.
:type `name`: string
.. note::
After using this constructor, you must create either one or two subwindows with the splitter window as parent, and then call one of :ref:`wx.Initialize`, :meth:`SplitVertically` and :meth:`SplitHorizontally` in order to set the pane(s). You can create two windows, with one hidden when not being shown; or you can create and delete the second pane on demand.
.. seealso:: :ref:`wx.Initialize`, :meth:`SplitVertically` , :meth:`SplitHorizontally` , :meth:`Create`
**~~~**
.. method:: Create(self, parent, id=ID_ANY, point=DefaultPosition, size=DefaultSize, style=SP_3D, name="splitter")
Creation function, for two-step construction.
See :ref:`wx.SplitterWindow` for details.
:param `parent`:
:type `parent`: wx.Window
:param `id`:
:type `id`: wx.WindowID
:param `point`:
:type `point`: wx.Point
:param `size`:
:type `size`: wx.Size
:param `style`:
:type `style`: long
:param `name`:
:type `name`: string
:rtype: `bool`
.. method:: GetDefaultSashSize(self)
Returns the default sash size in pixels.
The size of the sash is its width for a vertically split window and its height for a horizontally split one. Its other direction is the same as the client size of the window in the corresponding direction.
The default sash size is platform-dependent because it conforms to the current platform look-and-feel and cannot be changed.
:rtype: `int`
.. versionadded:: 2.9.4
.. method:: GetMinimumPaneSize(self)
Returns the current minimum pane size (defaults to zero).
:rtype: `int`
.. seealso:: :meth:`SetMinimumPaneSize`
.. method:: GetSashGravity(self)
Returns the current sash gravity.
:rtype: `float`
.. seealso:: :meth:`SetSashGravity`
.. method:: GetSashPosition(self)
Returns the current sash position.
:rtype: `int`
.. seealso:: :meth:`SetSashPosition`
.. method:: GetSashSize(self)
Returns the default sash size in pixels or 0 if it is invisible.
:rtype: `int`
.. seealso:: :meth:`GetDefaultSashSize` , :meth:`IsSashInvisible` , :meth:`SetSashSize`
.. method:: GetSplitMode(self)
Gets the split mode.
:rtype: :ref:`wx.SplitMode`
.. seealso:: :meth:`SetSplitMode` , :meth:`SplitVertically` , :meth:`SplitHorizontally` .
.. method:: GetWindow1(self)
Returns the left/top or only pane.
:rtype: :ref:`wx.Window`
.. method:: GetWindow2(self)
Returns the right/bottom pane.
:rtype: :ref:`wx.Window`
.. method:: Initialize(self, window)
Initializes the splitter window to have one pane.
The child window is shown if it is currently hidden.
:param `window`: The pane for the unsplit window.
:type `window`: wx.Window
.. note::
This should be called if you wish to initially view only a single pane in the splitter window.
.. seealso:: :meth:`SplitVertically` , :meth:`SplitHorizontally`
.. method:: IsSashInvisible(self)
Returns ``True`` if the sash is invisible even when the window is split, ``False`` otherwise.
:rtype: `bool`
.. versionadded:: 2.9.4
.. note::
This is a shortcut for HasFlag(wxSP_NOSASH)
.. seealso:: :meth:`SetSashInvisible`
.. method:: IsSplit(self)
Returns ``True`` if the window is split, ``False`` otherwise.
:rtype: `bool`
.. method:: ReplaceWindow(self, winOld, winNew)
This function replaces one of the windows managed by the :ref:`wx.SplitterWindow` with another one.
It is in general better to use it instead of calling :meth:`Unsplit` and then resplitting the window back because it will provoke much less flicker (if any). It is valid to call this function whether the splitter has two windows or only one.
Both parameters should be non-NULL and `winOld` must specify one of the windows managed by the splitter. If the parameters are incorrect or the window couldn't be replaced, ``False`` is returned. Otherwise the function will return ``True``, but please notice that it will not delete the replaced window and you may wish to do it yourself.
:param `winOld`:
:type `winOld`: wx.Window
:param `winNew`:
:type `winNew`: wx.Window
:rtype: `bool`
.. seealso:: :meth:`GetMinimumPaneSize`
.. method:: SetMinimumPaneSize(self, paneSize)
Sets the minimum pane size.
:param `paneSize`: Minimum pane size in pixels.
:type `paneSize`: int
.. note::
The default minimum pane size is zero, which means that either pane can be reduced to zero by dragging the sash, thus removing one of the panes. To prevent this behaviour (and veto out-of-range sash dragging), set a minimum size, for example 20 pixels. If the ``wx.SP_PERMIT_UNSPLIT`` style is used when a splitter window is created, the window may be unsplit even if minimum size is non-zero.
.. seealso:: :meth:`GetMinimumPaneSize`
.. method:: SetSashGravity(self, gravity)
Sets the sash gravity.
:param `gravity`: The sash gravity. Value between 0.0 and 1.0.
:type `gravity`: float
.. note::
Gravity is real factor which controls position of sash while resizing :ref:`wx.SplitterWindow`. Gravity tells :ref:`wx.SplitterWindow` how much will left/top window grow while resizing. Example values:
- 0.0: only the bottom/right window is automatically resized
- 0.5: both windows grow by equal size
- 1.0: only left/top window grows Gravity should be a real value between 0.0 and 1.0. Default value of sash gravity is 0.0. That value is compatible with previous (before gravity was introduced) behaviour of :ref:`wx.SplitterWindow`.
.. seealso:: :meth:`GetSashGravity`
.. method:: SetSashInvisible(self, invisible=True)
Sets whether the sash should be invisible, even when the window is split.
When the sash is invisible, it doesn't appear on the screen at all and, in particular, doesn't allow the user to resize the windows.
:param `invisible`: If ``True``, the sash is always invisible, else it is shown when the window is split.
:type `invisible`: bool
.. versionadded:: 2.9.4
.. note::
Only sets the internal variable; does not update the display.
.. seealso:: :meth:`IsSashInvisible`
.. method:: SetSashPosition(self, position, redraw=True)
Sets the sash position.
:param `position`: The sash position in pixels.
:type `position`: int
:param `redraw`: If ``True``, resizes the panes and redraws the sash and border.
:type `redraw`: bool
.. note::
Does not currently check for an out-of-range value.
.. seealso:: :meth:`GetSashPosition`
.. method:: SetSashSize(self, size)
Returns the default sash size in pixels or 0 if it is invisible.
:param `size`:
:type `size`: int
.. seealso:: :meth:`GetDefaultSashSize` , :meth:`GetSashSize` , :meth:`IsSashInvisible`
.. method:: SetSplitMode(self, mode)
Sets the split mode.
:param `mode`: Can be ``wx.SPLIT_VERTICAL`` or ``wx.SPLIT_HORIZONTAL``.
:type `mode`: int
.. note::
Only sets the internal variable; does not update the display.
.. seealso:: :meth:`GetSplitMode` , :meth:`SplitVertically` , :meth:`SplitHorizontally` .
.. method:: SplitHorizontally(self, window1, window2, sashPosition=0)
Initializes the top and bottom panes of the splitter window.
The child windows are shown if they are currently hidden.
:param `window1`: The top pane.
:type `window1`: wx.Window
:param `window2`: The bottom pane.
:type `window2`: wx.Window
:param `sashPosition`: The initial position of the sash. If this value is positive, it specifies the size of the upper pane. If it is negative, its absolute value gives the size of the lower pane. Finally, specify 0 (default) to choose the default position (half of the total window height).
:type `sashPosition`: int
:rtype: `bool`
:returns:
``True`` if successful, ``False`` otherwise (the window was already split).
.. note::
This should be called if you wish to initially view two panes. It can also be called at any subsequent time, but the application should check that the window is not currently split using :meth:`IsSplit` .
.. seealso:: :meth:`SplitVertically` , :meth:`IsSplit` , :meth:`Unsplit`
.. method:: SplitVertically(self, window1, window2, sashPosition=0)
Initializes the left and right panes of the splitter window.
The child windows are shown if they are currently hidden.
:param `window1`: The left pane.
:type `window1`: wx.Window
:param `window2`: The right pane.
:type `window2`: wx.Window
:param `sashPosition`: The initial position of the sash. If this value is positive, it specifies the size of the left pane. If it is negative, it is absolute value gives the size of the right pane. Finally, specify 0 (default) to choose the default position (half of the total window width).
:type `sashPosition`: int
:rtype: `bool`
:returns:
``True`` if successful, ``False`` otherwise (the window was already split).
.. note::
This should be called if you wish to initially view two panes. It can also be called at any subsequent time, but the application should check that the window is not currently split using :meth:`IsSplit` .
.. seealso:: :meth:`SplitHorizontally` , :meth:`IsSplit` , :meth:`Unsplit` .
.. method:: Unsplit(self, toRemove=None)
Unsplits the window.
:param `toRemove`: The pane to remove, or ``None`` to remove the right or bottom pane.
:type `toRemove`: wx.Window
:rtype: `bool`
:returns:
``True`` if successful, ``False`` otherwise (the window was not split).
.. note::
This call will not actually delete the pane being removed; it calls :meth:`OnUnsplit` which can be overridden for the desired behaviour. By default, the pane being removed is hidden.
.. seealso:: :meth:`SplitHorizontally` , :meth:`SplitVertically` , :meth:`IsSplit` , :meth:`OnUnsplit`
.. method:: UpdateSize(self)
Causes any pending sizing of the sash and child panes to take place immediately.
Such resizing normally takes place in idle time, in order to wait for layout to be completed. However, this can cause unacceptable flicker as the panes are resized after the window has been shown. To work around this, you can perform window layout (for example by sending a size event to the parent window), and then call this function, before showing the top-level window.
.. attribute:: DefaultSashSize
See :meth:`~wx.SplitterWindow.GetDefaultSashSize`
.. attribute:: MinimumPaneSize
See :meth:`~wx.SplitterWindow.GetMinimumPaneSize` and :meth:`~wx.SplitterWindow.SetMinimumPaneSize`
.. attribute:: SashGravity
See :meth:`~wx.SplitterWindow.GetSashGravity` and :meth:`~wx.SplitterWindow.SetSashGravity`
.. attribute:: SashInvisible
See :meth:`~wx.SplitterWindow.IsSashInvisible` and :meth:`~wx.SplitterWindow.SetSashInvisible`
.. attribute:: SashPosition
See :meth:`~wx.SplitterWindow.GetSashPosition` and :meth:`~wx.SplitterWindow.SetSashPosition`
.. attribute:: SashSize
See :meth:`~wx.SplitterWindow.GetSashSize` and :meth:`~wx.SplitterWindow.SetSashSize`
.. attribute:: SplitMode
See :meth:`~wx.SplitterWindow.GetSplitMode` and :meth:`~wx.SplitterWindow.SetSplitMode`
.. attribute:: Window1
See :meth:`~wx.SplitterWindow.GetWindow1`
.. attribute:: Window2
See :meth:`~wx.SplitterWindow.GetWindow2`
|