mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-09-05 17:30:26 +02:00
29 lines
684 B
Python
29 lines
684 B
Python
import unittest
|
|
from unittests import wtc
|
|
import wx.ribbon
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
class ribbon_page_Tests(wtc.WidgetTestCase):
|
|
|
|
def test_ribbon_page1(self):
|
|
bar = wx.ribbon.RibbonBar(self.frame)
|
|
page = wx.ribbon.RibbonPage()
|
|
page.Create(bar)
|
|
|
|
|
|
def test_ribbon_page2(self):
|
|
bar = wx.ribbon.RibbonBar(self.frame)
|
|
page = wx.ribbon.RibbonPage(bar)
|
|
|
|
rect = wx.Rect(0,0,0,0)
|
|
page.AdjustRectToIncludeScrollButtons(rect)
|
|
|
|
page.GetIcon()
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|