Massimo, Can I not post a file to the google group?
Anyway, I compiled one with the widget here: http://larsen.is-a-geek.com/files/web2py_wxWidget.zip The source for the actual wx widget is here: http://larsen.is-a-geek.com/files/taskbar_widget.py (it goes in gluon/contrib) Of course I had to modify widget.py to import it, add the -w (--wx) option, and then invoke it when passed that (I added right before the tk stuff): try: if options.wx: # start wx interface import contrib.taskbar_widget app = contrib.taskbar_widget.Application(redirect=0, info=[ProgramName,ProgramAuthor,ProgramVersion], options=options) app.MainLoop() sys.exit() except AttributeError: # in case wx never made it into the options pass except Exception, e: print "Cannot use wx widget:" print " "+e.message sys.exit() Finally I put the web2py.ico in the web2py source folder (I took that from your favicon.ico). You'll have to start it from the command line: 'web2py.exe --wx', since it starts as a GUI and unpacks the tar files the first time, it'll be a second or four before the splash screen pops-up. I only tested on Windows XP, if there's interest I can see how it behaves on Linux and clean it up a bit. Thanks, LarsenMTL On Nov 6, 10:58 am, mdipierro <[EMAIL PROTECTED]> wrote: > wow. I want to see this. Where is it? > > Massimo > > On Nov 6, 9:29 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > web2py lovers, > > > In my quest to deploy a web2py app for use as a client application, I > > wanted the web2py server/framework to run in the System Tray > > (Windows). Since I'm pretty sure tcl/tk can not do this, so I spent > > some time coding a wxPython widget. I hacked widget.py to add a new > > command line parameter to invoke this instead of Massimo's tk widget. > > I then compiled it as a windows app (instead of a console) using > > py2exe. > > > Anyway, just thought I'd put it out there, if anyone is interested I'd > > love to contribute back. > > > Love hacking web2py. > > > LarenMTL --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---