home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyo (Python 2.5)
-
- import wx
- from wx import Point, Size, TOP, BOTTOM, LEFT, RIGHT, Frame, RectPS, Rect
- from gui.windowfx import resize_smoothly, move_smoothly, setalpha
- from cgui import AlphaBorder, BorderedFrame, fadein, fadeout
- from gui.toolbox import Monitor
- from wx import FindWindowAtPointer
- from operator import attrgetter
- from gui import skin
- from util import Storage as S, Delegate
-
- def main2():
- testapp = testapp
- import tests.testapp
- a = testapp('../../..')
- frames = [ wx.Frame(None, -1, 'test %d' % c) for c in xrange(5) ]
- stack = PopupStack(1, BOTTOM | LEFT)
- stack.Add(frames[0])
-
-
- def main():
- testapp = testapp
- import tests.testapp
- a = testapp('../../..')
- makeImage = makeImage
- import gui.skin.skinparse
- b = makeImage('popupshadow.png 12 12 25 25')
- f = Popup(b)
-
- def onbutton(e):
- f2 = Popup(b)
- f2.Size = (300, 100)
- f2.DesiredSize = Size(300, 100)
- stack.Add(f2)
-
- f.button.Bind(wx.EVT_BUTTON, onbutton)
- stack = PopupStack(1, BOTTOM | LEFT)
- f.DesiredSize = Size(300, 100)
- stack.Add(f)
- ctrl = wx.Frame(None)
- ctrl.Show()
- a.MainLoop()
-
- if __name__ == '__main__':
- main()
-
-