Ed Leafe wrote: > On Dec 18, 2006, at 9:22 AM, Carl Karsten wrote: > >>> Command-line switches are to be discouraged, since 90% of potential >>> users out there run Windows. Yes, I know about cmd.exe and adding >>> switches to shortcut definitions, but most people want to double- >>> click on an icon and have it work. >> So can I change this? >> >> # If we are displaying a splash screen, these attributes control >> # its appearance. Extract them before the super call. >> self.showSplashScreen = self._extractKey(kwargs, >> "showSplashScreen", False) >> basepath = os.path.split(dabo.__file__)[0] >> img = os.path.join(basepath, "icons", "daboSplashName.png") >> self.splashImage = self._extractKey(kwargs, "splashImage", img) >> self.splashMaskColor = self._extractKey(kwargs, >> "splashMaskColor", None) >> self.splashTimeout = self._extractKey(kwargs, "splashTimeout", >> 5000) >> >> The change would be to make it more unix like with -O|-- >> LongOptionName <value> >> instead of KeyWord <value> > > I'm not sure what you're asking. Do you want to make the splash > screen a command line option?
Oh, I thought kwargs came from the command line. I can leave this in place and add the command line switch stuff. > That really doesn't make a lot of > sense, since this is something that people will build into their > applications. It is nice to be able to turn off the splash with a command line switch. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
