Started adding support for options windows.
[rox-lib.git] / AppRun
blobd081ab4aeed8fd819080f5c6a6b387cab3cfe21d
1 #!/usr/bin/env python
3 from sys import argv, path
4 from os.path import dirname
6 from gtk import *
8 app_dir = dirname(argv[0])
9 path.append(app_dir + '/python')
11 from rox.MultipleChoice import MultipleChoice
13 def show_help(app_dir):
14 import os
15 os.system("rox %s/Help &" % app_dir)
17 box = MultipleChoice(
18 "This library contains shared code used by other applications.",
19 (('Help', show_help, app_dir), 'Cancel'))
20 box.set_title('ROX-Lib')
21 box.wait()