mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-09-05 17:30:26 +02:00
29 lines
670 B
Python
29 lines
670 B
Python
import unittest
|
|
from unittests import wtc
|
|
import wx.ribbon
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
class ribbon_control_Tests(wtc.WidgetTestCase):
|
|
|
|
def test_ribbon_control1(self):
|
|
ctrl = wx.ribbon.RibbonControl()
|
|
ctrl.Create(self.frame)
|
|
|
|
|
|
|
|
def test_ribbon_control2(self):
|
|
ctrl = wx.ribbon.RibbonControl(self.frame)
|
|
|
|
ctrl.GetArtProvider()
|
|
ctrl.IsSizingContinuous()
|
|
ctrl.GetNextSmallerSize(wx.VERTICAL)
|
|
ctrl.GetNextLargerSize(wx.HORIZONTAL)
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|