mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-09-05 01:10:12 +02:00
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
42 lines
1.0 KiB
Python
42 lines
1.0 KiB
Python
import imp_unittest, unittest
|
|
import wtc
|
|
import wx
|
|
import wx.adv
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
class laywin_Tests(wtc.WidgetTestCase):
|
|
|
|
def test_laywin1(self):
|
|
wx.adv.LAYOUT_HORIZONTAL
|
|
wx.adv.LAYOUT_VERTICAL
|
|
wx.adv.LAYOUT_NONE
|
|
wx.adv.LAYOUT_TOP
|
|
wx.adv.LAYOUT_LEFT
|
|
wx.adv.LAYOUT_RIGHT
|
|
wx.adv.LAYOUT_BOTTOM
|
|
|
|
wx.adv.wxEVT_QUERY_LAYOUT_INFO
|
|
wx.adv.wxEVT_CALCULATE_LAYOUT
|
|
wx.adv.EVT_QUERY_LAYOUT_INFO
|
|
wx.adv.EVT_CALCULATE_LAYOUT
|
|
|
|
|
|
def test_laywin2(self):
|
|
la = wx.adv.LayoutAlgorithm()
|
|
la.LayoutFrame(self.frame)
|
|
|
|
def test_laywin3(self):
|
|
w = wx.adv.SashLayoutWindow(self.frame)
|
|
|
|
def test_laywin4(self):
|
|
evt = wx.adv.QueryLayoutInfoEvent()
|
|
|
|
def test_laywin5(self):
|
|
evt = wx.adv.CalculateLayoutEvent()
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|