You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(116) |
Sep
(146) |
Oct
(78) |
Nov
(69) |
Dec
(70) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(188) |
Feb
(142) |
Mar
(143) |
Apr
(131) |
May
(97) |
Jun
(221) |
Jul
(127) |
Aug
(89) |
Sep
(83) |
Oct
(66) |
Nov
(47) |
Dec
(70) |
2003 |
Jan
(77) |
Feb
(91) |
Mar
(103) |
Apr
(98) |
May
(134) |
Jun
(47) |
Jul
(74) |
Aug
(71) |
Sep
(48) |
Oct
(23) |
Nov
(37) |
Dec
(13) |
2004 |
Jan
(24) |
Feb
(15) |
Mar
(52) |
Apr
(119) |
May
(49) |
Jun
(41) |
Jul
(34) |
Aug
(91) |
Sep
(169) |
Oct
(38) |
Nov
(32) |
Dec
(47) |
2005 |
Jan
(61) |
Feb
(47) |
Mar
(101) |
Apr
(130) |
May
(51) |
Jun
(65) |
Jul
(71) |
Aug
(96) |
Sep
(28) |
Oct
(20) |
Nov
(39) |
Dec
(62) |
2006 |
Jan
(13) |
Feb
(19) |
Mar
(18) |
Apr
(34) |
May
(39) |
Jun
(50) |
Jul
(63) |
Aug
(18) |
Sep
(37) |
Oct
(14) |
Nov
(56) |
Dec
(32) |
2007 |
Jan
(30) |
Feb
(13) |
Mar
(25) |
Apr
(3) |
May
(15) |
Jun
(42) |
Jul
(5) |
Aug
(17) |
Sep
(6) |
Oct
(25) |
Nov
(49) |
Dec
(10) |
2008 |
Jan
(12) |
Feb
|
Mar
(17) |
Apr
(18) |
May
(12) |
Jun
(2) |
Jul
(2) |
Aug
(6) |
Sep
(4) |
Oct
(15) |
Nov
(45) |
Dec
(9) |
2009 |
Jan
(1) |
Feb
(3) |
Mar
(18) |
Apr
(8) |
May
(3) |
Jun
|
Jul
(13) |
Aug
(2) |
Sep
(1) |
Oct
(9) |
Nov
(13) |
Dec
|
2010 |
Jan
(2) |
Feb
(3) |
Mar
(9) |
Apr
(10) |
May
|
Jun
(1) |
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
(1) |
Dec
(4) |
2011 |
Jan
|
Feb
|
Mar
(10) |
Apr
(44) |
May
(9) |
Jun
(22) |
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2012 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
(2) |
May
|
Jun
(5) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(1) |
Jun
|
Jul
(3) |
Aug
(8) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2006-05-23 20:57:20
|
I don't see multiresourceEditor.py - I think it's actually layoutEditor.py ? -- XXXXXXXXXXX On 23/5/06 00:20, Alex Tweedly wrote: > > The tools/resourceEditor directory contains a new version of the > resourceEditor, named multiresourceEditor.py which supports a number of > operations on multiple components, such as Align, Distribute and > Equalize, as well as visual tools to move components (Nudge) and to > re-layer them. The other major change is that the Property Window has > been redesigned to be larger, and display all properties at once, and > allow editing of any of them immediately. The existing resourceEditor > remains for now, though if the feedback on the newer layout is OK then > the old version may be retired at the next release. |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2006-05-23 20:48:04
|
Tested so far, briefly, on the following: Mac OSX 10.4.6 (PPC) + Python 2.3.5 (built-in version) + wxPython 2.5.2.8 Windows XP SP2 + Python 2.3.5 + wxPython 2.5.2.8 Windows NT + Python 2.3.5 + wxPython 2.5.2.8 The OSX install is fresh, the other two were upgrades where I uninstalled 0.8.1 (XP) and 0.8 (NT) and then put 0.8.2 on. The only issue I had was with the XP 0.8.1 uninstall - it reported that a number of files and folders couldn't be removed, so I manually deleted them. As you can see, my Python and wxPython versions aren't exactly cutting edge and will probably remain that way for a while. So far, no problems. Things still seem to work :-) -- XXXXXXXXXXX |
From: Phil E. <ph...@li...> - 2006-05-23 14:59:12
|
On Tuesday 23 May 2006 00:20, Alex Tweedly wrote: > PythonCard is a GUI construction kit for building cross-platform > desktop applications on Windows, Mac OS X, and Linux. > > Release 0.8.2 includes over 50 sample applications and tools to help > users build applications in Python, including codeEditor, findfiles, > and resourceEditor (layout editor). A list of changes since release > 0.8.1 is at the end of this message. New samples include a US-UK > converter and a Sudoku solver. There are a new set of "convenience" > functions to assist is creating pop-up menus and some commonly used > custom dialogs (usage of these is demonstrated in the Sudoku sample, as > well as in a new sample "helpful wrappers"). > For Mandriva (formerly Mandrake) Linux users, PythonCard-0.8.2 binary and source RPMs can now be downloaded from the main PythonCard download page on SourceForge. -- Regards Phil Edwards Brighton, UK |
From: Alex T. <al...@tw...> - 2006-05-23 09:49:41
|
Vania Smrkovski wrote: > I think it's awesome you got this out. I was disappointed though that I > couldn't find documentation or samples using some of the features, > like the > tab. I tried looking for it in the new resource editor. Also, is there > updated documentation or example code on how to use the actionBindings > and > command text fields? > There is a "test sample", in samples/testNotebook - it hasn't quite made it in to the set of samples visible from the Samples Launcher, because it's just a demo of using a notebook, rather than a real, even if trivial, useful use of a notebook. I'd welcome suggestions for good sample program using Notebook (especially if it came in the form of some source code). The resourceEditor (and newer layoutEditor) have support for it, called a Notebook. actionbindings and command text were in 0.8.1 The samples use command text extensively (even the walkthrough was updated to use commands), and see also PythonCard/docs/html/framework/events_and_handlers.html for a (very terse) description; the samples are the best place to see how to use them Not so sure about actionBindings - I haven't used them. The walkthroughs do indeed still all use the older resourceEditor - they'll get updated to the layoutEditor sometime in the next release cycle, I think. The changes needed for this will be minimal - the walkthroughs cover the scripting needed, and the menu Builder in more detail - I think there's only one screenshot showing the propertyEditor window, and a couple of paragraphs of detailed instruction that will need changed. We could do with an extended walk-through for a slightly larger, and more interesting problem. This would probably be a good thing to do when we introduce sizers - build up a layout with a fair number of controls, get the code done, then convert to sizer-based. Suggestions for a suitable sample welcomed .... > Thanks for the great work! I've always said that of all of the windowing > toolkits I've come across for Python, this one has the most promise in > the > best package. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 22/05/2006 |
From: Vania S. <va...@pa...> - 2006-05-23 05:50:48
|
I think it's awesome you got this out. I was disappointed though that I couldn't find documentation or samples using some of the features, like the tab. I tried looking for it in the new resource editor. Also, is there updated documentation or example code on how to use the actionBindings and command text fields? Thanks for the great work! I've always said that of all of the windowing toolkits I've come across for Python, this one has the most promise in the best package. Vania On 5/22/06, pyt...@li... < pyt...@li...> wrote: > > Send Pythoncard-users mailing list submissions to > pyt...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > or, via email, send a message with subject or body 'help' to > pyt...@li... > > You can reach the person managing the list at > pyt...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Pythoncard-users digest..." > > > Today's Topics: > > 1. Announce: PythonCard 0.8.2 (Alex Tweedly) > > --__--__-- > > Message: 1 > Date: Tue, 23 May 2006 00:20:46 +0100 > From: Alex Tweedly <al...@tw...> > To: PythonCard <pyt...@li...> > Subject: [Pythoncard-users] Announce: PythonCard 0.8.2 > > --=3D=3D=3D=3D=3D=3D=3DAVGMAIL-4472474E459C=3D=3D=3D=3D=3D=3D=3D > Content-Type: multipart/alternative; > boundary=3D------------000208080806030700090808 > > --------------000208080806030700090808 > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > Content-Transfer-Encoding: 7bit > > > > PythonCard is a GUI construction kit for building cross-platform > desktop applications on Windows, Mac OS X, and Linux. > > Release 0.8.2 includes over 50 sample applications and tools to help > users build applications in Python, including codeEditor, findfiles, > and resourceEditor (layout editor). A list of changes since release > 0.8.1 is at the end of this message. New samples include a US-UK > converter and a Sudoku solver. There are a new set of "convenience" > functions to assist is creating pop-up menus and some commonly used > custom dialogs (usage of these is demonstrated in the Sudoku sample, as > well as in a new sample "helpful wrappers"). > > The tools/oneEditor directory contains a new version of the codeEditor, > named tabcodeEditor.py that supports tabbed editor panes and the > resource file popups from codeEditorR; once the code is more mature, it > will replace the current codeEditor. The original codeEditor remains for > now, but (unless problems show up) will likely be removed in the next > release. > > The tools/resourceEditor directory contains a new version of the > resourceEditor, named multiresourceEditor.py which supports a number of > operations on multiple components, such as Align, Distribute and > Equalize, as well as visual tools to move components (Nudge) and to > re-layer them. The other major change is that the Property Window has > been redesigned to be larger, and display all properties at once, and > allow editing of any of them immediately. The existing resourceEditor > remains for now, though if the feedback on the newer layout is OK then > the old version may be retired at the next release. > > The tools/standaloneBuilder has been extensively revised, and now > includes support for py2exe as well as pyInstaller. > > PythonCard requires Python 2.3 or later and wxPython 2.5.2.8 or later. > > You can download the latest release at: > http://sourceforge.net/project/showfiles.php?group_id=3D19015 > > Please be sure to look at the migration_guide.txt file in the docs > directory if you are upgrading from a previous release. Since the > package name has changed, you can continue to use the older > PythonCardPrototype package simultaneously with the new PythonCard > package, but you must upgrade to wxPython 2.5.2.8. > > > All the information you need about PythonCard can be found on the > project web page at: > http://pythoncard.sourceforge.net/ > > The installation instructions and walkthroughs are available on the > main documentation page: > http://pythoncard.sourceforge.net/documentation.html > > For a list of most of the samples that have been built with PythonCard > and screenshots of them in action go to: > http://pythoncard.sourceforge.net/samples/samples.html > > The kind people at SourceForge host the project: > http://sourceforge.net/projects/pythoncard/ > > If you want to get involved the main contact point is the Mailing list: > http://lists.sourceforge.net/lists/listinfo/pythoncard-users > > Additional Notes: > Remember to backup or just delete your old PythonCard directory before > installing a new version, so that the old files aren't still in the > package directory. If you installed a previous version of PythonCard on > Windows using the binary installer, then you should be able to remove > the old package via the Add/Remove Programs Control Panel. > > The distutils installer will put the framework, components, docs, > samples, and tools in Lib\site-packages or your Python directory > (typically C:\Python23). Of course, on Linux and Mac OS X that path > will be slightly different and have forward slashes. > > Windows users should get a PythonCard menu in the Start->Programs menu > with links to the documentation, samples, codeEditor, findfiles, > resourceEditor, tabcodeEditor and multiresourceEditor. > > The tools and most of the samples will now keep their config and data > file info in the "pythoncard_config" directory created by the > framework. On Unix, the directory will be ~/pythoncard_config. On > Windows, the directory varies as described in the following post: > > http://aspn.activestate.com/ASPN/Mail/Message/PythonCard/1496793 > > So, if you run a PythonCard app with any of the runtime tools and > select "Save Configuration" from the "Debug" menu, the window positions > and sizes of your runtime windows (Shell, Message Watcher, etc.) will > be saved in "pythoncard_config/pythoncard_config.txt" not the > PythonCard directory. Likewise, when you change the text style used by > the codeEditor via the "Styles..." menu item under the "Format" menu, > the modification will be saved in "pythoncard_config/stc-styles.cfg" > > Alex Tweedly > al...@tw... > > > changelog.txt changes since release 0.8 > > Release 0.8.2 2006-05-18 > added minimized and maximized attributes to Background class > created documentation.py module to hold code previously in widgets.py > for automatically generating component and background docs > added getTextExtent and getFullTextExtent methods to BitmapCanvas > revised internationalResourceName to support platform-specific resources > added UK <-> US to conversions.py and simplified SOAP.py module check > updated turtle.py and bitmapcanvas.py component to force update on Mac > renamed samples.py to samples.pyw > added work-in-progress version of multiresourceEditor > (tools/resourceEditor/multiresourceEditor) > renamed to layoutEditor > support customizable window styles in backgroundInfo of resourceEditor > added convenience wrappers for pop-up menus, multiple check-box dialogs, > multiple button dialogs (helpful.py and samples/helpfulWrappers) > added sample for sudoku solver/helper (samples/sudoku) > replaced StringType with StringTypes to handle Unicode better > Major update standaloneBuilder, including support for py2exe > allow for Python2.4 or Python 2.5 on Mac > > > > -- > Alex Tweedly http://www.tweedly.net > > > --------------000208080806030700090808 > Content-Type: text/html; charset=3DISO-8859-1 > Content-Transfer-Encoding: 7bit > > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > <html> > <head> > <meta content=3D"text/html;charset=3DISO-8859-1" http-equiv=3D"Content-Ty= pe"> > </head> > <body bgcolor=3D"#ffffff" text=3D"#000000"> > <div class=3D"moz-text-flowed" > style=3D"font-family: -moz-fixed; font-size: 13px;" lang=3D"x-western"> > <br> > <br> > PythonCard is a GUI construction kit for building cross-platform > desktop applications on Windows, Mac OS X, and Linux. > <br> > <br> > Release 0.8.2 includes over 50 sample applications and tools to help = ; > users build applications in Python, including codeEditor, findfiles, = ; > and resourceEditor (layout editor). A list of changes since release > 0.8.1 is at the end of this message. New samples include a US-UK > converter and a Sudoku solver. There are a new set of "convenience" > functions to assist is creating pop-up menus and some commonly used > custom dialogs (usage of these is demonstrated in the Sudoku sample, as > well as in a new sample "helpful wrappers").<br> > <br> > The tools/oneEditor directory contains a new version of the > codeEditor, named tabcodeEditor.py that supports tabbed editor pane= s > and the resource file popups from codeEditorR; once the code is mor= e > mature, it will replace the current codeEditor. The original > codeEditor remains for now, but (unless problems show up) will likely > be removed in the next release.<br> > <br> > The tools/resourceEditor directory contains a new version of the > resourceEditor, named multiresourceEditor.py which supports a number of > operations on multiple components, such as Align, Distribute and > Equalize, as well as visual tools to move components (Nudge) and to > re-layer them. The other major change is that the Property Window has > been redesigned to be larger, and display all properties at once, and > allow editing of any of them immediately. The existing resourceEditor > remains for now, though if the feedback on the newer layout is OK then > the old version may be retired at the next release.<br> > <br> > The tools/standaloneBuilder has been extensively revised, and now > includes support for py2exe as well as pyInstaller.<br> > <br> > PythonCard requires Python 2.3 or later and wxPython 2.5.2.8 or later. > <br> > <br> > You can download the latest release at: > <br> > <a class=3D"moz-txt-link-freetext" > href=3D"http://sourceforge.net/project/showfiles.php?group_id=3D19015"> > http://sourceforge.net/project/showfiles.php?group_id=3D19015</a> > <br> > <br> > Please be sure to look at the migration_guide.txt file in the docs > directory if you are upgrading from a previous release. Since the > package name has changed, you can continue to use the older > PythonCardPrototype package simultaneously with the new PythonCard > package, but you must upgrade to wxPython 2.5.2.8. > <br> > <br> > <br> > All the information you need about PythonCard can be found on the > project web page at: > <br> > <a class=3D"moz-txt-link-freetext" > href=3D"http://pythoncard.sourceforge.net/"> > http://pythoncard.sourceforge.net/</a> > <br> > <br> > The installation instructions and walkthroughs are available on the > main documentation page: > <br> > <a class=3D"moz-txt-link-freetext" > href=3D"http://pythoncard.sourceforge.net/documentation.html"> > http://pythoncard.sourceforge.net/documentation.html</a> > <br> > <br> > For a list of most of the samples that have been built with > PythonCard > and screenshots of them in action go to: > <br> > <a class=3D"moz-txt-link-freetext" > href=3D"http://pythoncard.sourceforge.net/samples/samples.html"> > http://pythoncard.sourceforge.net/samples/samples.html</a> > <br> > <br> > The kind people at SourceForge host the project: > <br> > <a class=3D"moz-txt-link-freetext" > href=3D"http://sourceforge.net/projects/pythoncard/"> > http://sourceforge.net/projects/pythoncard/</a> > <br> > <br> > If you want to get involved the main contact point is the Mailing list: > <br> > <a class=3D"moz-txt-link-freetext" > href=3D"http://lists.sourceforge.net/lists/listinfo/pythoncard-users"> > http://lists.sourceforge.net/lists/listinfo/pythoncard-users</a> > <br> > <br> > Additional Notes: > <br> > Remember to backup or just delete your old PythonCard directory > before > installing a new version, so that the old files aren't still in the > package directory. If you installed a previous version of PythonCard > on Windows using the binary installer, then you should be able to > remove the old package via the Add/Remove Programs Control Panel. > <br> > <br> > The distutils installer will put the framework, components, docs, > samples, and tools in Lib\site-packages or your Python directory > (typically C:\Python23). Of course, on Linux and Mac OS X that path > will be slightly different and have forward slashes. > <br> > <br> > Windows users should get a PythonCard menu in the Start->Programs > menu with links to the documentation, samples, codeEditor, > findfiles, > resourceEditor, tabcodeEditor and multiresourceEditor. > <br> > <br> > The tools and most of the samples will now keep their config and > data > file info in the "pythoncard_config" directory created by the > framework. On Unix, the directory will be ~/pythoncard_config. On > Windows, the directory varies as described in the following post: > <br> > <br> > <a class=3D"moz-txt-link-freetext" > href=3D"http://aspn.activestate.com/ASPN/Mail/Message/PythonCard/1496793"= > > http://aspn.activestate.com/ASPN/Mail/Message/PythonCard/1496793</a> > <br> > <br> > So, if you run a PythonCard app with any of the runtime tools and > select "Save Configuration" from the "Debug" menu, the window > positions and sizes of your runtime windows (Shell, Message Watcher= , > etc.) will be saved in "pythoncard_config/pythoncard_config.txt" no= t > the PythonCard directory. Likewise, when you change the text style > used by the codeEditor via the "Styles..." menu item under the > "Format" menu, the modification will be saved in > "pythoncard_config/stc-styles.cfg" > <br> > <br> > Alex Tweedly<br> > <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:al...@tw..."> > al...@tw...</a><br> > <br> > <br> > changelog.txt changes since release 0.8 > <br> > <br> > Release 0.8.2 2006-05-18<br> > added minimized and maximized attributes to Background class<br> > created documentation.py module to hold code previously in widgets.py<br> > for automatically generating component and background docs<br> > added getTextExtent and getFullTextExtent methods to BitmapCanvas<br> > revised internationalResourceName to support platform-specific > resources<br> > added UK <-> US to conversions.py and simplified SOAP.py module > check<br> > updated turtle.py and bitmapcanvas.py component to force update on Mac<br= > > renamed samples.py to samples.pyw<br> > added work-in-progress version of multiresourceEditor <br> > (tools/resourceEditor/multiresourceEditor)<br> > renamed to layoutEditor<br> > support customizable window styles in backgroundInfo of resourceEditor<br= > > added convenience wrappers for pop-up menus, multiple check-box > dialogs,<br> > multiple button dialogs (helpful.py and > samples/helpfulWrappers)<br> > added sample for sudoku solver/helper (samples/sudoku)<br> > replaced StringType with StringTypes to handle Unicode better<br> > Major update standaloneBuilder, including support for py2exe<br> > allow for Python2.4 or Python 2.5 on Mac <br> > <br> > <br> > <br> > </div> > <pre class=3D"moz-signature" cols=3D"72">-- > Alex Tweedly <a class=3D"moz-txt-link-freetext" href=3D" > http://www.tweedly.net">http://www.tweedly.net</a> > </pre> > </body> > </html> > > --------------000208080806030700090808-- > --=3D=3D=3D=3D=3D=3D=3DAVGMAIL-4472474E459C=3D=3D=3D=3D=3D=3D=3D > Content-Type: text/plain; x-avg=3Dcert; charset=3Dus-ascii > Content-Transfer-Encoding: quoted-printable > Content-Disposition: inline > Content-Description: "AVG certification" > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.392 / Virus Database: 268.6.1/344 - Release Date: 19/05/2006 > > --=3D=3D=3D=3D=3D=3D=3DAVGMAIL-4472474E459C=3D=3D=3D=3D=3D=3D=3D-- > > > > --__--__-- > > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > > > End of Pythoncard-users Digest > |
From: Alex T. <al...@tw...> - 2006-05-22 23:20:47
|
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.6.1/344 - Release Date: 19/05/2006 |
From: Ray A. <ray...@sa...> - 2006-05-12 16:19:51
|
I have a using a CustomDialog modal window that I would like to configure with an on_close() definition in order to run some checks. It doesn't seem to work. Am I missing something or do I need to use a different method? Ray |
From: Ray A. <ray...@sa...> - 2006-05-12 15:56:19
|
That's helpful. It's a long term project, so knowing that underline will be supported in the future is useful. Thanks, Ray |
From: Alex T. <al...@tw...> - 2006-05-11 19:09:36
|
Ray Allen wrote: >It seems therefore that I can't simply hack it by adding code to the >resource file - as a relative newbie I was hoping to avoid delving into wx >at this stage, but thanks for the information on why this is happening. >Maybe there is an alternative though? I was trying to indicate to the user >that they can see more information by selecting an item from the list. I >thought that by adding an underline to the item text it would look more like >a link, encouraging the user to 'drill down'. Is there anything else I >could do to give this impression - using Pythoncard? > > It'll depend on context whether this works, but how about adding an ellipsis (three dots), like you would put in a menu to indicate that selecting that item will bring up a dialog box (i.e. click here and you get more choices to make). So you'd make this list item be "my item ..." Do all the list items bring up more information ? Could you add text to indicate that ? How about using tooltips so that at least users who hover over the list get told about the extra info ? Or - if it's not urgent - wait, and I'll add underline support (and strikethrough, and anything else that the dialog box suggests we support that's possible) in about 2-3 weeks. It's probably not that difficult - but we need to get 0.8.2 out before adding a change like that. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.6/337 - Release Date: 11/05/2006 |
From: Ray A. <ray...@sa...> - 2006-05-11 09:20:34
|
It seems therefore that I can't simply hack it by adding code to the resource file - as a relative newbie I was hoping to avoid delving into wx at this stage, but thanks for the information on why this is happening. Maybe there is an alternative though? I was trying to indicate to the user that they can see more information by selecting an item from the list. I thought that by adding an underline to the item text it would look more like a link, encouraging the user to 'drill down'. Is there anything else I could do to give this impression - using Pythoncard? Ray Allen ----- Original Message ----- From: "Brian Mahoney" <mrb...@gm...> To: "Schollnick, Benjamin" <Ben...@xe...> Cc: "Ray Allen" <ray...@sa...>; <pyt...@li...> Sent: Wednesday, May 10, 2006 7:10 AM Subject: Re: [Pythoncard-users] font underline In the Font dialog the sample of the font will display with overstrike and underline, so it is clear if a font supports those characteristics. The Font dialog settings are not all being saved by pythoncard methods. The pythoncard/dialog.py FontDialog method has the code "result.fontDescription = fontDescription(fontWx)" and this result is returned by FontDialog, however the fontDescription method of pythoncard/font.py which sets the returned dictionary uses only a few of the font.Getxxxx methods and it does not do a font.GetUnderlined So, fontDescription fails to retrieve all of the font properties which may be set in the Font dialog. The on_wFont_mouseClick method in propertyEditor.py which called the font dialog doesn't extract many of the font properties anyway. These two methods would need to be hacked or fixed to reserve the underline/overstrike settings (and more?) from the Font dialog On 5/9/06, Schollnick, Benjamin <Ben...@xe...> wrote: > Is it possible the font itself doesn't support underlining? > Have you tried using a different font? > > - Ben > > > -----Original Message----- > > From: pyt...@li... > > [mailto:pyt...@li...] On > > Behalf Of Ray Allen > > Sent: Tuesday, May 09, 2006 1:10 PM > > To: pyt...@li... > > Subject: [Pythoncard-users] font underline > > > > > > PythonCard resource editor doesn't seem to apply the > > underline font effect > > when checked. I've tried adding various options to the resource file > > manually ('text-decoration':'underline') and others to get > > this working but > > to no avail. This is on Windows. Any advice appreciated. > > Ray Allen > > > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web > > services, security? Get stuff done quickly with > > pre-integrated technology to make your job easier Download > > IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Pythoncard-users mailing list Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > |
From: Brian M. <mrb...@gm...> - 2006-05-10 06:10:39
|
In the Font dialog the sample of the font will display with overstrike and underline, so it is clear if a font supports those characteristics. The Font dialog settings are not all being saved by pythoncard methods. The pythoncard/dialog.py FontDialog method has the code "result.fontDescription =3D fontDescription(fontWx)" and this result is returned by FontDialog, however the fontDescription method of pythoncard/font.py which sets the returned dictionary uses only a few of the font.Getxxxx methods and it does not do a font.GetUnderlined So, fontDescription fails to retrieve all of the font properties which may be set in the Font dialog. The on_wFont_mouseClick method in propertyEditor.py which called the font dialog doesn't extract many of the font properties anyway. These two methods would need to be hacked or fixed to reserve the underline/overstrike settings (and more?) from the Font dialog On 5/9/06, Schollnick, Benjamin <Ben...@xe...> wrote: > Is it possible the font itself doesn't support underlining? > Have you tried using a different font? > > - Ben > > > -----Original Message----- > > From: pyt...@li... > > [mailto:pyt...@li...] On > > Behalf Of Ray Allen > > Sent: Tuesday, May 09, 2006 1:10 PM > > To: pyt...@li... > > Subject: [Pythoncard-users] font underline > > > > > > PythonCard resource editor doesn't seem to apply the > > underline font effect > > when checked. I've tried adding various options to the resource file > > manually ('text-decoration':'underline') and others to get > > this working but > > to no avail. This is on Windows. Any advice appreciated. > > Ray Allen > > > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web > > services, security? Get stuff done quickly with > > pre-integrated technology to make your job easier Download > > IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& > dat=3D121642 > _______________________________________________ > Pythoncard-users mailing list Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job ea= sier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmdlnk&kid=120709&bid&3057&dat=121642 > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > |
From: Schollnick, B. <Ben...@xe...> - 2006-05-09 21:08:40
|
Is it possible the font itself doesn't support underlining? Have you tried using a different font? - Ben > -----Original Message----- > From: pyt...@li...=20 > [mailto:pyt...@li...] On=20 > Behalf Of Ray Allen > Sent: Tuesday, May 09, 2006 1:10 PM > To: pyt...@li... > Subject: [Pythoncard-users] font underline >=20 >=20 > PythonCard resource editor doesn't seem to apply the=20 > underline font effect=20 > when checked. I've tried adding various options to the resource file=20 > manually ('text-decoration':'underline') and others to get=20 > this working but=20 > to no avail. This is on Windows. Any advice appreciated. > Ray Allen=20 >=20 >=20 >=20 > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web=20 > services, security? Get stuff done quickly with=20 > pre-integrated technology to make your job easier Download=20 > IBM WebSphere Application Server v.1.0.1 based on Apache=20 > Geronimo=20 > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& dat=3D121642 _______________________________________________ Pythoncard-users mailing list Pyt...@li... https://lists.sourceforge.net/lists/listinfo/pythoncard-users |
From: Ray A. <ray...@sa...> - 2006-05-09 17:09:40
|
PythonCard resource editor doesn't seem to apply the underline font effect when checked. I've tried adding various options to the resource file manually ('text-decoration':'underline') and others to get this working but to no avail. This is on Windows. Any advice appreciated. Ray Allen |
From: Alex T. <al...@tw...> - 2006-05-09 01:03:25
|
[It's not often you get to reply to a thread that's 8 months old ] Kevin Altis wrote: > Alex Tweedlt said: > >> Thanks again for that. (Not quite was I was hoping for :-), but very >> valuable info). >> >> So we now know this simplest case works as expected - and the rather >> complex case within PythonCard doesn't. >> >> It should be straightforward (if somewhat tedious) to narrow down the >> differences until we find where the difference is. But that's not the >> kind of debugging we can do via email on a list (or two!!), so I'm >> hoping a PythonCard / Mac user can take it from there (or will >> contact me off-list and we can work on narrowing it down). > I finally bought my own Mac, but by then I had forgotten this problem (or assumed it had gone away). Today I upgraded to Python 2.4 and ran into the problem myself - and now I'm in a position to track it down. > > I expect the problem has to do with relative paths. For some reason > Python 2.4.1 is behaving different from 2.3 on the Mac as well as > 2.3.x and 2.4.x versions on Windows and Linux. The reason why > PythonCard tickles this problem is likely due to one or more lines in > model.py. In particular, at the top there is a try/except block with > the following line that was added as a fix for relative paths that > would show up in earlier versions of Python when the module was imported: > No, it's not relative paths. We do some hackery to try to determine whether we are running 'normally' or from a standalone built with py2app, py2exe, bundlebuilder, macmillan, etc. (so we can look for resource files in the different places they finish up, rather than in their usual directory alongside the .py file). Part of this is in util.py / main_is_frozen() - where there was an explicit test for a 2.3 based path, specific to the OSX version. Because we wrongly believed we were "frozen". we looked in the wrong place(s). Not sure what the medium term fix is (long term I think it is probably setuptools as Ronald suggested earlier) - but there will be a short term fix in CVS soon, hopefully tonight, so if you have been wanting to move to Python 2.4 but were held back by PythonCard, you should be able to get that soon. Note there may be a delay of up to 24 hours before anonymous cvs access catches any updates. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/333 - Release Date: 05/05/2006 |
From: Ruben M. <rmc...@ya...> - 2006-05-08 23:14:03
|
Alright, I gave in. I posted the source codes on the web page. I also added screen shots. http://rmcorrespond.googlepages.com/customsoftware Take care. -Ruben --- Ruben Marquez <rmc...@ya...> wrote: > Alex, > > Tanks for the feedback. I uploaded both files > again. > I hope they work well this time. As for the source, > no problem. They are both GPL programs. But, for > now > I am only making the source available uppon request. > > So, since you asked, I am attaching the source to > both > of theme here. Enjoy, and let me know of any > improvements you make. > > -Ruben > > --- Alex Tweedly <al...@tw...> wrote: > > > Ruben Marquez wrote: > > > > >Hi, > > > > > >I recently got access to one of those new > > GooglePages > > >and decided to play around with it a little. I > > >figured it would be a nice *easy* way to get a > > little > > >website going. I may eventually do something a > > little > > >more professional, but hey, this was free in both > > >money and time. :) > > > > > >I had been thinking of releasing some of my > little > > >personal apps for a while. So, this finally > > motivated > > >me to clean them up enough for release. I have > > only > > >finished a couple and will probably do at least a > > >couple more, but I couldn't wait to share it with > > you. > > > Some of these I have been using for several > years, > > >but never got around to release them. Any way, I > > hope > > >you like them and that they may be of use to you. > > > > > > >http://rmcorrespond.googlepages.com/customsoftware > > > > > > > > > > > Thanks Ruben, but .... > > > > The CocoRename one gives me an error (invalid or > > corrupted zip folder) > > when I try to expand it. > > > > The other one (7Squeeze...) is only an executable, > > and I'd be more > > interested in seeing the Python source than in a > > finished executable > > (just on principle I don't tend to run executables > > where I can't see the > > source code - sorry). > > > > -- > > Alex Tweedly http://www.tweedly.net > > > > > > > > -- > > No virus found in this outgoing message. > > Checked by AVG Free Edition. > > Version: 7.1.392 / Virus Database: 268.5.2/329 - > > Release Date: 02/05/2006 > > > > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support > > web services, security? > > Get stuff done quickly with pre-integrated > > technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 > > based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Pythoncard-users mailing list > > Pyt...@li... > > > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Alex T. <al...@tw...> - 2006-05-08 17:37:43
|
I sent this to the pythoncard-devel list last night, but it still hasn't appeared, either in my mailbox or on the archive; meanwhile, mail sent at the same time has already appeared on the main users list, so I'm trying this message again, but on the main users list. Alex Tweedly wrote: > > [ if you didn't see it, I posted a message on pythoncard-users with > some of the background ] > > Problem is in finding resource files for modules in sub-directories of > the application, and is specific to Mac and to Python2.4 > > In model.py, we do > >> def childWindow(parent, frameClass, filename=None, rsrc=None): >> if filename is None: >> if rsrc is None: >> if util.main_is_frozen(): >> # KEA 2004-05-20 >> # running standalone >> # need to support py2exe differently than >> bundlebuilder and mcmillan probably >> # but this is the py2exe 0.5 way >> # figure out the .rsrc.py filename based on the >> module name stored in library.zip >> filename = >> os.path.split(sys.modules[frameClass.__module__].__file__)[1] >> # KEA 2004-09-14 >> # it seems sort of dumb to duplicate this function >> # just to handle the parent differently >> # so I'm adding this check >> if isinstance(parent, wx.Notebook): >> parentFrame = parent.GetParent().GetParent() >> filename = >> os.path.join(parentFrame.application.applicationDirectory, filename) >> else: >> filename = >> os.path.join(parent.application.applicationDirectory, filename) >> else: >> # figure out the .rsrc.py filename based on the >> module name >> filename = sys.modules[frameClass.__module__].__file__ >> # chop the .pyc or .pyo from the end >> base, ext = os.path.splitext(filename) >> filename = internationalResourceName(base) >> rsrc = resource.ResourceFile(filename).getResource() > > > in util.py, we do > >> # Thomas Heller's function for determining >> # if a module is running standalone >> def main_is_frozen(): >> if sys.platform == 'darwin': >> # this is a temporary hack for bundlebuilder >> return not sys.executable == >> '/System/Library/Frameworks/Python.framework/Versions/2.3/Resources/Python.app/Contents/MacOS/Python' >> >> else: >> return (hasattr(sys, "frozen") or # new py2exe, McMillan >> hasattr(sys, "importers") # old py2exe >> or imp.is_frozen("__main__")) # tools/freeze, cx_freeze > > > Clearly, the fact that we have that specific test using a Python 2.3 > path is a problem. I have temporarily got around this (for my own Mac > system) by changing that line to > > return not (sys.executable == > '/System/Library/Frameworks/Python.framework/Versions/2.3/Resources/Python.app/Contents/MacOS/Python' > or > '/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python') > > > Note I assumed that 2.4 would (sensibly) not be installed in the > System Library, but even so this won't work for 2.5, and could fail > for other installation possibilities. If anyone who understands this > better knows how this *should* be solved, please speak up. :-) > > Otherwise, I'll commit this band-aid for now - I think it (or better) > should be in 0.8.2, because I think there is more interest in Python > 2.4 for Mac (py2app requires 2.4 or greater, the Universal build is > out for 2.4, etc.) Since I have this change to do, I'll also fix a > typo in the docs directory before re-doing the builds intended to be > the release of 0.8.2. > -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.5/333 - Release Date: 05/05/2006 |
From: Franz S. <fra...@gm...> - 2006-05-04 10:40:13
|
On Thu, 4 May 2006 09:40:33 +0100, "Ray Allen" <ray...@sa...> wrote: >Is there a way to configure choice boxes so they autofill using more than >the first letter? >eg. List of countries available from choice box. If I want to select >'United Kingdom', have to click U five times (after passing a number of >other countries beginning with U) to get there. I would like to type 'un' >and end up with countries beginning with 'un'. Currently, this would result >in me seeing countries beginning in N! >Thanks in advance, >Ray Allen > > I tried to implement this. Here is the first prototype: ================================================================== #!/usr/bin/env python # TestChoiceAutoFind.py #todo: make own ChoiceAutoFind class derived from Choice (also parent, pos, size, choices, styles, ...) #todo: provide a better representation of the buffer. (A pop up or a tooltip beside the # right edge of the choice). #todo: make option in constructor, wether to show buffer or not. #todo: docstrings, comments #todo: shold alt-cursor down (open the choice list) delete the buffer? import wx class TestChoiceAutoFind(wx.Panel): def __init__(self, parent): wx.Panel.__init__(self, parent, -1) sampleList = ['zero', 'one', 'two', 'three', 'thirteen', 'twenty'] wx.StaticText(self, -1, "Choice Auto Find", (15, 10)) wx.StaticText(self, -1, "Select one:", (15, 50), (75, -1)) self.ch = wx.Choice(self, -1, (100, 50), choices = sampleList) self.keybuffer = "" self.ch.Bind(wx.EVT_CHAR, self.EvtChar) self.ch.Bind(wx.EVT_SET_FOCUS, self.OnFocus) self.ch.Bind(wx.EVT_CHOICE, self.EvtChoice) def OnFocus(self, event): #delete buffer self.keybuffer = "" self.ShowBuffer() event.Skip() def EvtChar(self, event): if event.GetKeyCode() > 255: #example: cursor keys should work as expected event.Skip() return if event.GetKeyCode() == wx.WXK_BACK: #delete last key in buffer if len (self.keybuffer) > 0: self.keybuffer = self.keybuffer[:-1] elif event.GetKeyCode() == wx.WXK_ESCAPE: #delete buffer self.keybuffer = "" else: #extend buffer with current key self.keybuffer += chr (event.GetKeyCode()) self.ShowBuffer() #try to find in the list for i in range(self.ch.GetCount()): if self.ch.GetString(i).find(self.keybuffer) == 0: self.ch.SetSelection(i) return def EvtChoice(self, event): print 'EvtChoice: %s\n' % event.GetString() def ShowBuffer(self): self.GetParent().SetStatusText("'"+self.keybuffer+"'",0) #show as tooltip beside combobox would be cool; or small popup window app = wx.App(0) f = wx.Frame(None) f.CreateStatusBar() p = TestChoiceAutoFind(f) f.Show() app.MainLoop() ================================================================== I want to continue the discussion on the wxPython user mailing list. -- Franz Steinhaeusler |
From: Ray A. <ray...@sa...> - 2006-05-04 08:40:16
|
Is there a way to configure choice boxes so they autofill using more than the first letter? eg. List of countries available from choice box. If I want to select 'United Kingdom', have to click U five times (after passing a number of other countries beginning with U) to get there. I would like to type 'un' and end up with countries beginning with 'un'. Currently, this would result in me seeing countries beginning in N! Thanks in advance, Ray Allen |
From: Ruben M. <rmc...@ya...> - 2006-05-03 21:35:15
|
Alex, Tanks for the feedback. I uploaded both files again. I hope they work well this time. As for the source, no problem. They are both GPL programs. But, for now I am only making the source available uppon request. So, since you asked, I am attaching the source to both of theme here. Enjoy, and let me know of any improvements you make. -Ruben --- Alex Tweedly <al...@tw...> wrote: > Ruben Marquez wrote: > > >Hi, > > > >I recently got access to one of those new > GooglePages > >and decided to play around with it a little. I > >figured it would be a nice *easy* way to get a > little > >website going. I may eventually do something a > little > >more professional, but hey, this was free in both > >money and time. :) > > > >I had been thinking of releasing some of my little > >personal apps for a while. So, this finally > motivated > >me to clean them up enough for release. I have > only > >finished a couple and will probably do at least a > >couple more, but I couldn't wait to share it with > you. > > Some of these I have been using for several years, > >but never got around to release them. Any way, I > hope > >you like them and that they may be of use to you. > > > >http://rmcorrespond.googlepages.com/customsoftware > > > > > > > Thanks Ruben, but .... > > The CocoRename one gives me an error (invalid or > corrupted zip folder) > when I try to expand it. > > The other one (7Squeeze...) is only an executable, > and I'd be more > interested in seeing the Python source than in a > finished executable > (just on principle I don't tend to run executables > where I can't see the > source code - sorry). > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.392 / Virus Database: 268.5.2/329 - > Release Date: 02/05/2006 > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Ronny De W. <ron...@gm...> - 2006-05-03 21:17:40
|
Dear Ruben, Allthough you link to http://www.gnu.org/philosophy/free-sw.html you don't follow the philosophy: * The freedom to run the program, for any purpose (freedom 0). * The freedom to study how the program works, and adapt it to your needs (freedom 1). Access to the source code is a precondition for this. * The freedom to redistribute copies so you can help your neighbor (freedom 2). * The freedom to improve the program, and release your improvements to the public, so that the whole community benefits (freedom 3). Access to the source code is a precondition for this. For freedom 1 and freedom 3 you have to distribute the sources, not only the executable. So please publish the sources iso only the executable. Enjoy, Ronny De Winter http://quotesviewer.sourceforge.net *- *The Free Euronext Stock Browser Software Ruben Marquez wrote: > Hi, > > I recently got access to one of those new GooglePages > and decided to play around with it a little. I > figured it would be a nice *easy* way to get a little > website going. I may eventually do something a little > more professional, but hey, this was free in both > money and time. :) > > I had been thinking of releasing some of my little > personal apps for a while. So, this finally motivated > me to clean them up enough for release. I have only > finished a couple and will probably do at least a > couple more, but I couldn't wait to share it with you. > Some of these I have been using for several years, > but never got around to release them. Any way, I hope > you like them and that they may be of use to you. > > http://rmcorrespond.googlepages.com/customsoftware > > -Ruben > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > > > > |
From: Alex T. <al...@tw...> - 2006-05-03 21:06:12
|
Ruben Marquez wrote: >Hi, > >I recently got access to one of those new GooglePages >and decided to play around with it a little. I >figured it would be a nice *easy* way to get a little >website going. I may eventually do something a little >more professional, but hey, this was free in both >money and time. :) > >I had been thinking of releasing some of my little >personal apps for a while. So, this finally motivated >me to clean them up enough for release. I have only >finished a couple and will probably do at least a >couple more, but I couldn't wait to share it with you. > Some of these I have been using for several years, >but never got around to release them. Any way, I hope >you like them and that they may be of use to you. > >http://rmcorrespond.googlepages.com/customsoftware > > > Thanks Ruben, but .... The CocoRename one gives me an error (invalid or corrupted zip folder) when I try to expand it. The other one (7Squeeze...) is only an executable, and I'd be more interested in seeing the Python source than in a finished executable (just on principle I don't tend to run executables where I can't see the source code - sorry). -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.392 / Virus Database: 268.5.2/329 - Release Date: 02/05/2006 |
From: Ruben M. <rmc...@ya...> - 2006-05-03 20:28:23
|
Hi, I recently got access to one of those new GooglePages and decided to play around with it a little. I figured it would be a nice *easy* way to get a little website going. I may eventually do something a little more professional, but hey, this was free in both money and time. :) I had been thinking of releasing some of my little personal apps for a while. So, this finally motivated me to clean them up enough for release. I have only finished a couple and will probably do at least a couple more, but I couldn't wait to share it with you. Some of these I have been using for several years, but never got around to release them. Any way, I hope you like them and that they may be of use to you. http://rmcorrespond.googlepages.com/customsoftware -Ruben __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Andy T. <an...@ha...> - 2006-04-30 02:55:11
|
Alex Tweedly wrote: > Comments, suggestions, or any other feedback, welcome. > > Aims > > 1. To provide support for sizer-based layouts, making it easy to design > new projects which are fully based on a set of hierarchical sizers. > > 2. To continue to support absolute position based layout. > > 3. To make it easy to convert an existing absolute position based > project into a sizer based one. > > Summary. > > Add a new child window to the layoutEditor (sizerWindow), which holds > the tree of sizers and components. It will also hold a separate tree of > "unplaced" components - i.e. those components from the absolute layout > which have not yet been placed into the sizer tree. It will be possible > to create new sizers and add them to this "unplaced" tree, and indeed to > add components to such sizers, prior to placing the sizer into the real > application sizer tree. > > The user will be able to select components (one or more) in the layout > window or in the sizerWindow, and then allocate those components into a > sizer in the sizerTree; each sizer or component will have the obvious > parameters set (e.g. weight, position, growability, etc.) > > The ideal edit mode for moving components into the sizer tree is > probably drag-and-drop, but because of the limitations on how items can > be dropped into a treeCtrl, the initial version will use right-clicking > on the tree to provide a pop-up menu providing options (e.g. edit > properties, unplace, add selected components before, add selected > components after, etc.) > > Since no component can be placed more than once in the placed sizer > tree, we can "fake" the ability to select sizers in the layout window. > When "placing selected components" into a sizer, any component which has > already been allocated to a sizer will not be (cannot be) allocated; > however if this applies to all components within a particular sizer > (i.e. they have all been selected), then that sizer will be allocated. > This will facilitate the building of sizer trees "bottom-up" from an > existing absolute position layout. > > Impact on infrastructure. > > The sizer information will be kept in the "background" dictionary within > the resource file, under the key name "sizers". This will contain a list > of sizers, each of which is a dictionary containing a name, type, flags, > and "contents" - a list of items (components or sizers) or, in the case > of GridBagSizer, a list of lists of items. There will also be a new > piece of background info which indicates that the sizer info is to be used. > > This is therefore fully backward compatible - existing versions of the > framework will silently ignore this entry (assuming it is correct Python > code). New version of the framework used with old resource files will, > based on the lack of "useSizer" info will also ignore it, but if the > useSizer flag is set they will instantiate a sizer tree, and also set > the 'visible' flag to False for any components not listed in the sizer > tree (thereby allowing the user to override the placement of complex > examples, such as the layoutEditor itself, which use overlapping > alternate components, etc.). > > When the useSizer flag is being set true within the layoutEditor, or > thereafter when the file is saved, the user will be warned if there are > any such unplaced components being set to invisible. > > Debugging ? > > Fairly soon, wxWidgets (or maybe wxPython) will include the ability to > get visual indication of the sizer boundaries, but until then the sizer > layout will include the ability to display these; and in addition there > will be an ability to provide log / print info on the sizers being > added. The layoutEditor will also be able to output Python code > equivalent to the specified sizers, which will give an alternative way > to understand and debug the resulting layouts. > > Phases of development. > > Phase 1. > > Framework. Build the code to be used within the application to create > sizers and add the components to them. Initially this will be supplied > as a separate additional file - will be integrated with resource/model > later. > > Phase 2. > > Add the basic sizerWindow, support BoxSizers only. Simple component > selection and flag/parameter setting. > > Phase 3. > Add support for GridBagSizers, probably help / tooltip / documentation / > walkthrough / ... > > Phase 4. > The rest :-) > > Phase 5. > Add drag-and-drop, replacing treeCtrl with a custom control if needed. > > > I expect Phase 1 to be complete in a day or two, Phase 2 in a week or so > (but I haven't used treeCtrl before, so this is subject to some > uncertainty). > > +1 Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |
From: Winston W. <win...@st...> - 2006-04-29 03:29:34
|
I agree 100% on the Aims. The rest, I can't comment on though. -ww > Aims > > 1. To provide support for sizer-based layouts, making it easy to > design new projects which are fully based on a set of hierarchical > sizers. > > 2. To continue to support absolute position based layout. > > 3. To make it easy to convert an existing absolute position based > project into a sizer based one. > Summary. > > Add a new child window to the layoutEditor (sizerWindow), which > holds the tree of sizers and components. It will also hold a > separate tree of "unplaced" components - i.e. those components from > the absolute layout which have not yet been placed into the sizer > tree. It will be possible to create new sizers and add them to this > "unplaced" tree, and indeed to add components to such sizers, prior > to placing the sizer into the real application sizer tree. > > The user will be able to select components (one or more) in the > layout window or in the sizerWindow, and then allocate those > components into a sizer in the sizerTree; each sizer or component > will have the obvious parameters set (e.g. weight, position, > growability, etc.) > > The ideal edit mode for moving components into the sizer tree is > probably drag-and-drop, but because of the limitations on how items > can be dropped into a treeCtrl, the initial version will use right- > clicking on the tree to provide a pop-up menu providing options > (e.g. edit properties, unplace, add selected components before, add > selected components after, etc.) > > Since no component can be placed more than once in the placed sizer > tree, we can "fake" the ability to select sizers in the layout > window. When "placing selected components" into a sizer, any > component which has already been allocated to a sizer will not be > (cannot be) allocated; however if this applies to all components > within a particular sizer (i.e. they have all been selected), then > that sizer will be allocated. This will facilitate the building of > sizer trees "bottom-up" from an existing absolute position layout. > > Impact on infrastructure. > > The sizer information will be kept in the "background" dictionary > within the resource file, under the key name "sizers". This will > contain a list of sizers, each of which is a dictionary containing > a name, type, flags, and "contents" - a list of items (components > or sizers) or, in the case of GridBagSizer, a list of lists of > items. There will also be a new piece of background info which > indicates that the sizer info is to be used. > > This is therefore fully backward compatible - existing versions of > the framework will silently ignore this entry (assuming it is > correct Python code). New version of the framework used with old > resource files will, based on the lack of "useSizer" info will > also ignore it, but if the useSizer flag is set they will > instantiate a sizer tree, and also set the 'visible' flag to False > for any components not listed in the sizer tree (thereby allowing > the user to override the placement of complex examples, such as the > layoutEditor itself, which use overlapping alternate components, > etc.). > > When the useSizer flag is being set true within the layoutEditor, > or thereafter when the file is saved, the user will be warned if > there are any such unplaced components being set to invisible. > > Debugging ? > > Fairly soon, wxWidgets (or maybe wxPython) will include the ability > to get visual indication of the sizer boundaries, but until then > the sizer layout will include the ability to display these; and in > addition there will be an ability to provide log / print info on > the sizers being added. The layoutEditor will also be able to > output Python code equivalent to the specified sizers, which will > give an alternative way to understand and debug the resulting layouts. > > Phases of development. > > Phase 1. > > Framework. Build the code to be used within the application to > create sizers and add the components to them. Initially this will > be supplied as a separate additional file - will be integrated with > resource/model later. > > Phase 2. > > Add the basic sizerWindow, support BoxSizers only. Simple component > selection and flag/parameter setting. > > Phase 3. > Add support for GridBagSizers, probably help / tooltip / > documentation / walkthrough / ... > > Phase 4. > The rest :-) > > Phase 5. > Add drag-and-drop, replacing treeCtrl with a custom control if needed. > > > I expect Phase 1 to be complete in a day or two, Phase 2 in a week > or so (but I haven't used treeCtrl before, so this is subject to > some uncertainty). > > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.4.6/323 - Release Date: > 24/04/2006 > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users ______________________________________________________ winston wolff - (646) 827-2242 - http://www.stratolab.com learning by creating - video game courses for kids in new york |
From: Daniel R. <dv...@gm...> - 2006-04-28 14:09:55
|
Phil, Eureka- I'm done! That worked- thanks so much. Have a good one, Dan On 4/28/06, Phil Edwards <ph...@li...> wrote: > > On Friday 28 Apr 2006 14:00, Daniel Ryan wrote: > > Phil, > > > > Great- that worked. Thanks! > > > > Now, another issue- I have my .exe file, but it works only when in the > > /dist directory where I created it. If I move it to the desktop, it > > doesn't work. Do I have to make sure I keep all the components in the > > /dist directory with it? > > > > Yes, you do. That's why that folder is called 'dist' by default, because > you > have to distribute the contents in order to make your standalone version > run > on another computer. How you actually go about doing that is another whol= e > discussion, although my preference is to use Inno Setup, which is a > freeware > software installer that you can download from: > > http://www.jrsoftware.org/isdl.php > > This packages up your program and all its supporting files into a single > .EXE > file which can be distributed to your end users. When they run it, your > application is installed and an entry is added under Control Panel --> Ad= d > & > Remove Software to allow the app to be un-installed easily as well. > > -- > > Regards > > Phil Edwards > Brighton, UK > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > -- Daniel Ryan (410) 271-9673 (cell) |