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: Alex T. <al...@tw...> - 2005-08-13 14:52:14
|
I've incorporated the comments and suggestions into the documentation for resource_editor_overview - thanks again to all who commented, especially to Norman Winn. I've also talked with David McNab about the Timers and Threads walkthrough (timers-thread.html); at his suggestion, I've taken over maintenance of that document, and updated it to reflect the change from PythonCard v. 0.7 (using wxPython timers) to v. 0.8.1 (PythonCard timers). -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.8/71 - Release Date: 12/08/2005 |
From: Alex T. <al...@tw...> - 2005-08-11 12:54:55
|
rlw...@ho... wrote: >Hi Alex, > >the link >http://www.tweedly.net/Python/docs/documentation.html >gives a 404 Not Found error. > >I'm very curious if the other documentation is getting updated to 0.8.1 as well. > Yes, sorry about that. I've only updated this single doc and placed it on my personal web site. Once I get all the comments incorporated (thanks to all, but special mention to Norman Winn for all the feedback), I'll update CVS and then this will be fitted back in context - so this link to the rest of the docs will work again, both as part of the package you install and on the web site. I plan to produce a new doc - very similar to this one but for the multi-resource Editor. That's actually new stuff to cover, so it may take me longer. Then I'll look at updating the rest of the docs - but no promises. If you have run into one which is misleading or confusing because of it being out of date, suggest that and I'll move it near the top of my list (though that still doesn't mean I'll get to it). . -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 |
From: <rlw...@ho...> - 2005-08-11 08:58:47
|
Hi Alex, the link http://www.tweedly.net/Python/docs/documentation.html gives a 404 Not Found error. I'm very curious if the other documentation is getting updated to 0.8.1 as well. Thanks for your efforts! Roger |
From: Alex T. <al...@tw...> - 2005-08-10 22:44:32
|
No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 |
From: Kevin A. <al...@se...> - 2005-08-10 22:40:10
|
On May 20, 2005, at 3:23 PM, bra...@om... wrote: > > Is there a simple way to print a PythonCard window just as it appears > on the screen? > Below is a modified version of the code in the widgets.py sample which I think should get an image of the current background (frame) or panel, whichever you want and save that to a PNG file. I haven't tested it, but it should work. Once you have an image on disk you should be able to just embed the image in a simplistic HTML file and use the HTMLEasyPrinting stuff. Hopefully that will do it. If the code below works I could see generalizing it and maybe making it a function in util.py w = self # self.panel imagesDir = "your_dir_here" name = "your_filename_here" bmp = wx.EmptyBitmap(w.size[0], w.size[1]) memdc = wx.MemoryDC() memdc.SelectObject(bmp) dc = wx.WindowDC(w) memdc.BlitPointSize((0, 0), w.size, dc, (0, 0)) imgfilename = os.path.join(imagesDir, name + '.png') bmp.SaveFile(imgfilename, wx.BITMAP_TYPE_PNG) dc = None memdc.SelectObject(wx.NullBitmap) memdc = None bmp = None ka |
From: Alex T. <al...@tw...> - 2005-08-10 21:29:46
|
No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 |
From: Kooshesh, S. A <KOO...@do...> - 2005-08-10 20:08:41
|
Hello! I'm just wondering if anyone has a link to a autocompleter for the = combobox. I know it would be relatively easy to write one, but why = reinvent the wheel, eh? I guess I should define autocompleter: As you type text into the combobox it fills the rest of the text with = what it thinks you want from a list. ****************************************** Sayed Arian Sterling Kooshesh Computer Applications Technician District 2/IDOT 819 Depot Ave Dixon, IL 61021 koo...@do... (815) 284-5494 |
From: Alex T. <al...@tw...> - 2005-08-10 17:04:27
|
normanwinn wrote: > Hi, > > In making an attempt at the proof reading (here's somewhere where my > naive Python state is actually useful) I found myself running the > resource editor to check out the text. I found some issues. > > Platform Windows XP, laptop 1400x1050 screen resolution > PythonCard version: 0.8.1 > wxPython version: 2.6.1.0 > Python version: 2.4 > > Here they are: > > 1. My resourceEditor Property Editor window isn't sized properly. The > 'Update' button is cut off, both bottom and right. This is probably a > tiny thing to correct but, as it is something that a beginner hits > right off, it might/must discourage some. > I don't see that problem. Same versions (XP Home, slightly later PythonCard from CVS, but there've been no changes in the resourceEditor), though lower screen res (1024x768)). > 2. I created a Dialog Template and edited one or two properties. I hit > 'Update' and previewed my dialog. It hadn't changed. I then closed the > resourceEditor and saved my work. On re-opening it my changes were > there. Is this correct behaviour? Not really. There is a note in the source that this should be changed. I'll take a look at it. > I just worked it out. I have to save first and then I see my changes. > Doesn't the 'Update' button suggest it does this? Not really, the Update button means that the changes in the property field are accepted and "made" in the internal resource (the Update button used to be much more important than it is now - nowadays the change is taken when you navigate away from the edit field). > Might actually be nice to have 'Preview before' and 'Preview with > changes' buttons. Tricky. If you've made some changes, then saved, then made some more ... the "preview before" would show the last saved version, not the one just before the current change. > Which would kind of lead to an 'Undo' feature. I'm probably wandering > into Pythoncard 2.0 territory but the neat way the resource is stored > would appear to make a multiple resource 'Undo/redo' straightforward > to implement. > Sounds like 2.0, or at least 1.1 Undo/redo can soak up a lot of space and CPU if we save a whole resource file for each change ....need to experiment to see if that's feasible. > 3. When I click the 'Show Desktop' icon on the Windows system tray, > everything disappears correctly. When I then just want to look, say, > at Alex's work in the browser, the resourceEditor components show up > as well. Is this a Windows TM issue? > (Oh, how I miss 'Hide others' as on the Mac) > Sorry, but what's the "Show Desktop" icon ? Or maybe I should say "How do you get one of those ?" -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 |
From: Phil E. <ph...@li...> - 2005-08-10 16:36:37
|
On Wed, 2005-08-10 at 17:19 +0100, Alex Tweedly wrote: > My apologies to anyone who was confused or misled - not my intention at > all. This is Dan's document, with about 10% changed to bring it up to > date to 0.8.1 (and about 50% of the screenshots updated). The kudos for > the document all go to Dan; if my wording led anyone to think I had > written this, then I owe some apologies to Dan too. All I did was a few > tweaks to bring it up to date - enough to want a proof-read, but I hope > not enough to materially change the excellent quality of Dan's writing. > > I kind of just assumed that as this was part of the main documentation, > it would be familiar to everyone already, so I wasn't as clear about > this as I should have been. > I'm astounded - I didn't even know that this existed up until today. I'm not sure whether to view that as a damning indictment of my own laziness in finding documentation, or as a huge endorsement of PythonCard for being so easy to use. ;-) |
From: Alex T. <al...@tw...> - 2005-08-10 16:19:58
|
Kevin Altis wrote: > > On Aug 10, 2005, at 1:26 AM, Phil Edwards wrote: > >> Good work, Alex, certainly no problems that I can see and undoubtedly a >> document that will become an invaluable reference work in the future. > > > A big thanks to Alex for updating this document. The original by Dan > Shafer is at: > > http://pythoncard.sourceforge.net/resource_editor_overview.html > > Along with many others that Dan and others have done in the past on > the documentation page of the main site. Kudos to everyone that has > contributed over the years. My apologies to anyone who was confused or misled - not my intention at all. This is Dan's document, with about 10% changed to bring it up to date to 0.8.1 (and about 50% of the screenshots updated). The kudos for the document all go to Dan; if my wording led anyone to think I had written this, then I owe some apologies to Dan too. All I did was a few tweaks to bring it up to date - enough to want a proof-read, but I hope not enough to materially change the excellent quality of Dan's writing. I kind of just assumed that as this was part of the main documentation, it would be familiar to everyone already, so I wasn't as clear about this as I should have been. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 |
From: Kevin A. <al...@se...> - 2005-08-10 15:19:51
|
On Aug 10, 2005, at 1:26 AM, Phil Edwards wrote: > Good work, Alex, certainly no problems that I can see and undoubtedly a > document that will become an invaluable reference work in the future. A big thanks to Alex for updating this document. The original by Dan Shafer is at: http://pythoncard.sourceforge.net/resource_editor_overview.html Along with many others that Dan and others have done in the past on the documentation page of the main site. Kudos to everyone that has contributed over the years. http://pythoncard.sourceforge.net/documentation.html ka > On Tue, 2005-08-09 at 22:02 +0100, Alex Tweedly wrote: >> I've made a non-trivial update to the documentation for the resource >> Editor. (Note - this is the real resourceEditor, not the experimental >> multi-component one). Much of it is still the same - but there were >> quite a few revisions, and over 50% of the screenshots have been >> redone. >> >> If you can spare a few minutes, please read over >> >> http://www.tweedly.net/Python/docs/resource_editor_overview.html >> >> and let me know of any problems or changes needed; once I have some >> feedback and some more confidence in it, I'll put these changes into >> CVS. >> >> btw - a similar doc for the multi-component resourceEditor is coming >> soon. >> >> -- >> Alex Tweedly http://www.tweedly.net |
From: Alex T. <al...@tw...> - 2005-08-10 12:41:56
|
normanwinn wrote: > Hi, > > Just read that Alex Tweedly is working on a Sudoku for Pythoncard. I > immediately thought he might have a solution for my rather simple > problem - to produce Sudoku blanks. Quickly rejected posting this > request as I thought it was too lazy of me. Do you mean completely blank blanks ? Or to generate puzzle definitions ? (i.e. 9x9 squares with 30-36 initial values filled in). (I noticed the cheaper newspapers seem to use what must be machine-generated puzzles, with 4 initial values in each of the small 3x3 squares, while the broadsheets have fewer initial values and asymmetric allocation of them). I'm not sure if I'll do any printing - that's an area I have never had any reason to look at yet, and I suspect it's got a few quirks involved. I probably will do puzzle generation (either random, or allow the user to give any number of initial "seeds" and complete the generation of enough initial values to ensure a unique solution). > > Then an idea hit me. Why not something that will take the scanned > image of a Sudoku game and put that into Alex's implementation. I > don't know what the state of things is elsewhere but in the UK every > newspaper has them. The Times has three daily. This could just be > Python's killer app, and via Pythoncard. > Scanning them sounds like a lot of trouble to me. To enter a puzzle from a paper into the file format I use takes about 30 seconds; to enter a puzzle definition and save it within the program takes about 60-90 seconds (but is much more user-friendly). [ I think there's a general lesson about GUI vs command-line hidden in there :-) ] And it won't be PythonCard's killer app - there are already a good number of Sudoku solvers, helpers and generators out there in a variety of languages. I haven't yet noticed a good free one - but I haven't really been looking, because I wanted to solve this programming task myself for the fun of it. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 |
From: normanwinn <nor...@on...> - 2005-08-10 10:15:29
|
Hi, In making an attempt at the proof reading (here's somewhere where my naive Python state is actually useful) I found myself running the resource editor to check out the text. I found some issues. Platform Windows XP, laptop 1400x1050 screen resolution PythonCard version: 0.8.1 wxPython version: 2.6.1.0 Python version: 2.4 Here they are: 1. My resourceEditor Property Editor window isn't sized properly. The 'Update' button is cut off, both bottom and right. This is probably a tiny thing to correct but, as it is something that a beginner hits right off, it might/must discourage some. 2. I created a Dialog Template and edited one or two properties. I hit 'Update' and previewed my dialog. It hadn't changed. I then closed the resourceEditor and saved my work. On re-opening it my changes were there. Is this correct behaviour? I just worked it out. I have to save first and then I see my changes. Doesn't the 'Update' button suggest it does this? Might actually be nice to have 'Preview before' and 'Preview with changes' buttons. Which would kind of lead to an 'Undo' feature. I'm probably wandering into Pythoncard 2.0 territory but the neat way the resource is stored would appear to make a multiple resource 'Undo/redo' straightforward to implement. 3. When I click the 'Show Desktop' icon on the Windows system tray, everything disappears correctly. When I then just want to look, say, at Alex's work in the browser, the resourceEditor components show up as well. Is this a Windows TM issue? (Oh, how I miss 'Hide others' as on the Mac) --------------- I have got myself diverted from proof reading. Will wait to get shot down on my comments before adding more, Norman -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.4/66 - Release Date: 09/08/2005 |
From: Phil E. <ph...@li...> - 2005-08-10 08:26:39
|
Good work, Alex, certainly no problems that I can see and undoubtedly a document that will become an invaluable reference work in the future. On Tue, 2005-08-09 at 22:02 +0100, Alex Tweedly wrote: > I've made a non-trivial update to the documentation for the resource > Editor. (Note - this is the real resourceEditor, not the experimental > multi-component one). Much of it is still the same - but there were > quite a few revisions, and over 50% of the screenshots have been redone. > > If you can spare a few minutes, please read over > > http://www.tweedly.net/Python/docs/resource_editor_overview.html > > and let me know of any problems or changes needed; once I have some > feedback and some more confidence in it, I'll put these changes into CVS. > > btw - a similar doc for the multi-component resourceEditor is coming soon. > > -- > Alex Tweedly http://www.tweedly.net > > > |
From: normanwinn <nor...@on...> - 2005-08-10 08:26:22
|
Hi, Just read that Alex Tweedly is working on a Sudoku for Pythoncard. I immediately thought he might have a solution for my rather simple problem - to produce Sudoku blanks. Quickly rejected posting this request as I thought it was too lazy of me. Then an idea hit me. Why not something that will take the scanned image of a Sudoku game and put that into Alex's implementation. I don't know what the state of things is elsewhere but in the UK every newspaper has them. The Times has three daily. This could just be Python's killer app, and via Pythoncard. I presume there is an OCR package around for Python? Norman Winn -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.4/66 - Release Date: 09/08/2005 |
From: Alex T. <al...@tw...> - 2005-08-09 22:02:31
|
I've made a non-trivial update to the documentation for the resource Editor. (Note - this is the real resourceEditor, not the experimental multi-component one). Much of it is still the same - but there were quite a few revisions, and over 50% of the screenshots have been redone. If you can spare a few minutes, please read over http://www.tweedly.net/Python/docs/resource_editor_overview.html and let me know of any problems or changes needed; once I have some feedback and some more confidence in it, I'll put these changes into CVS. btw - a similar doc for the multi-component resourceEditor is coming soon. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 |
From: Alex T. <al...@tw...> - 2005-08-09 18:57:33
|
Tiberiu Ichim wrote: > Hi! > I've upgraded one of my apps from pythoncard 0.7 to the latest 0.8 > Unfortunately, the calendar widget has been modified (it no longer has > drop-down boxes for month and year), and for my application it would > be better to have those back. I've tried fiddling with the window > style flags from wx, but I couldn't get it to work the way it used to. > Besides creating separate widgets and linking them to the calendar > with code, is there a possibility to get the old style back? > Sorry for the late reply - I've been hoping my old machine still had 0.7 on it, and finally got a chance to revive it - and found only a very incomplete portion of 0.7 still there. I don't think the new calendarctrl (in wxPython, not in Pythoncard) has any way to directly set the year (you can use the < and > arrows to change one month at a time, and that will wrap over year boundaries). You could probably use the old calendar (as import wx.lib.calendar) - but you'd need to use wx Events directly not get it through PythonCard. Possible, but not recommended. I'd suggest simply adding a a couple of widgets - the code to link them is simple .... > def on_monthChoice_select(self, event): > prev = self.components.Calendar1.date > self.components.Calendar1.date = > prev.replace(month=self.components.monthChoice.selection+1) (note the +1 to account for the selections being 0-11 while the months are 1-12). And the year should be very similar ... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 |
From: Kevin A. <al...@se...> - 2005-08-09 18:25:03
|
On Aug 8, 2005, at 1:09 PM, Alex Tweedly wrote: > Kevin Altis wrote: > >> If you're attending OSCON this year and would like to get together to >> discuss PythonCard 1.x issues, or even better, brainstorm on >> PythonCard 2.x then I would be happy to chat. If there are enough >> people attending OSCON that want to get together, we can even do a >> dinner or get together over at my house for a barbecue, beer, etc. >> Send me an email ASAP if you're interested. I live in Portland and >> I'm co-chair for the Python track at OSCON, so I'll be at OSCON all >> week. >> >> http://conferences.oreillynet.com/pub/w/38/track_python.html >> >> My PythonCard presentation is Wednesday. > > How did it go ? (Both your presentation, and the Python track in > general). When does everyone apart from you put their slides on-line ? I think most of the Python presentations went well, but we had two less than planned due to an unexpected surgery for one presenter and business demands keeping another away. I was unable to fill those slots with backup Python sessions, so other hot topics took their place. Ruby on Rails certainly seemed to have the buzz. I wasn't that happy with my own presentation as I somehow managed to get a version of wxPython on my Mac with a TextField display problem and didn't realize that until it was too late to back out to another version. Like always though, I think I picked up a few more new users. I would like to figure out a better sample application that can be built in 15-20 minutes and uses more advanced controls like MultiColumnList, BitmapCanvas, etc. rather than doing the simplistic mortgage calculator which is a bit boring. OSCON presentations are available at: http://conferences.oreillynet.com/pub/w/38/presentations.html It is up to the presenter to get O'Reilly the slides, but if you don't see a presentation that you're interested in, you can always send an email to the presenter reminding them to mail their slides to Vee at O'Reilly. > Did you get anyone to brainstorm about 2.x with ? > How about setting up an AIM (or other) chat session to brainstorm > on-line ? There weren't any PythonCard 2.0 brainstorming discussions. I'm happy to schedule an IRC session on freenode in the next week if many people are interested, otherwise I'll probably just start making posts to the pythoncard-devel mailing list on various topics. BTW, after bringing up Anti-Grain Geometry and the lack of anti-aliased full alpha channel support in wxPython during a discussion at OSCON I found out that Fredrik released aggdraw earlier this summer. http://effbot.org/zone/draw-agg.htm Turns out that there was also a small proof of concept for wrapping aggdraw calls in the wxPython DC API. http://www.averdevelopment.com/python/wxAGG.html The code will work with Python 2.3 if you simply add a from sets import Set and change set( to Set( in the code so it doesn't rely on the Python 2.4 built-in. It is pretty easy to imagine doing a BitmapCanvas that supports aggdraw using the same API, but I haven't started working on it yet. I want to see some transparency drawing calls and whether that needs to just be a global flag like autoRefresh or something rolled into each method call. Anyway, this could get me working on another sample :) ka |
From: Alex T. <al...@tw...> - 2005-08-09 18:22:18
|
No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 |
From: Alex T. <al...@tw...> - 2005-08-09 18:04:10
|
> > >I've upgraded one of my apps from pythoncard 0.7 to the latest 0.8 >Unfortunately, the calendar widget has been modified (it no longer has >drop-down boxes for month and year), and for my application it would be >better to have those back. I've tried fiddling with the window style >flags from wx, but I couldn't get it to work the way it used to. Besides >creating separate widgets and linking them to the calendar with code, is >there a possibility to get the old style back? > > > This is my second try at answering this question .... my first try earlier was just plain wrong - please ignore it. This is controlled by one of the initialization constants to wxCalendarCtrl. The Pythoncard calendar component sets it ( calendar.CAL_SEQUENTIAL_MONTH_SELECTION ) which causes it to use the compact form rather than the drop-down form that you want. Easiest thing is to - create a directory called appcomponents within your application directory - create a file called __init__.py (that's underscore underscore i n i t underscore underscore . p y ) (can be empty) - copy in the calendar.py from PythonCard/components - change calendar.CalendarCtrl.__init__(self, aParent, widget.makeNewId( aResource.id ), wx.DateTime_Now(), aResource.position, aResource.size, style = wx.CLIP_SIBLINGS | wx.NO_FULL_REPAINT_ON_RESIZE | calendar.CAL_SHOW_HOLIDAYS | calendar.CAL_SHOW_SURROUNDING_WEEKS | calendar.CAL_SEQUENTIAL_MONTH_SELECTION, name = aResource.name ) to calendar.CalendarCtrl.__init__(self, aParent, widget.makeNewId( aResource.id ), wx.DateTime_Now(), aResource.position, aResource.size, style = wx.CLIP_SIBLINGS | wx.NO_FULL_REPAINT_ON_RESIZE | calendar.CAL_SHOW_HOLIDAYS | calendar.CAL_SHOW_SURROUNDING_WEEKS, ## calendar.CAL_SEQUENTIAL_MONTH_SELECTION, name = aResource.name ) and that should do it for you .... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 |
From: Alex T. <al...@tw...> - 2005-08-09 17:56:29
|
Kevin Altis wrote: > If you're attending OSCON this year and would like to get together to > discuss PythonCard 1.x issues, or even better, brainstorm on > PythonCard 2.x then I would be happy to chat. If there are enough > people attending OSCON that want to get together, we can even do a > dinner or get together over at my house for a barbecue, beer, etc. > Send me an email ASAP if you're interested. I live in Portland and I'm > co-chair for the Python track at OSCON, so I'll be at OSCON all week. > > http://conferences.oreillynet.com/pub/w/38/track_python.html > > My PythonCard presentation is Wednesday. How did it go ? (Both your presentation, and the Python track in general). When does everyone apart from you put their slides on-line ? Did you get anyone to brainstorm about 2.x with ? How about setting up an AIM (or other) chat session to brainstorm on-line ? -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 |
From: Alex T. <al...@tw...> - 2005-08-09 17:43:57
|
kim...@ya... wrote: >Hello list, > >When I run a PythonCard in my home machine, I am >getting the message: > >E:\Python23\lib\fcntl.py:7: DeprecationWarning: the >FCNTL module is deprecated; please use fcntl >DeprecationWarning) > > >and the app looks wrong. > >What should I do? > > As far as I can tell, there is no reference to fcntl (or FCNTL) from anywhere within Pythoncard, so I would guess it's coming form the app itself (or some other lib that is being included). If you get the error from the Pythoncard sample, then I'm very surprised and wrong - please let us know all the version numbers (Python, wxPython, Pythoncard) and OS/version. If it is only this one app, then you need to find where in the app it is doing an import FCNTL and change all references to from FCNTL to fcntl. (Sorry, I don't have any docs from Python pre-2.3, so I can't check if there were differences that would require the app to be changed). -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 |
From: Alex T. <al...@tw...> - 2005-08-09 17:14:05
|
I've written a "wrapper" function to let me easily do pop-up menus, without having to remember how to deal with wxPython directly each time I want it. The calling interface is pretty simple, you pass in - the background (i.e. usually "self") - list of items as strings (one-level of submenu as a sub-list is allowed) - (x,y) to display the menu. For example: result = helpful.popUpMenu(self, ["one", "two", ["Three", "Four"], "555"], self.components.Button.position) print "menu gives", result The result is either the string selected, or None. Hopefully, this (or some better equivalent) will become part of PythonCard, but in the meantime you can find this (and the multiButtonDialog I mentioned a few weeks back) at www.tweedly.net/Python/helpful.pys -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.2/65 - Release Date: 07/08/2005 |
From: <kim...@ya...> - 2005-08-08 00:42:45
|
Hello list, When I run a PythonCard in my home machine, I am getting the message: E:\Python23\lib\fcntl.py:7: DeprecationWarning: the FCNTL module is deprecated; please use fcntl DeprecationWarning) and the app looks wrong. What should I do? Thanks, -- John Henry |
From: <kim...@ya...> - 2005-08-04 23:21:07
|
Ah....this is perfect for my purpose! It's very easy to change my code to use the Grid object - since I am really not doing that much of cell manupulation. I just needed to present a grid, and know which one the user clicked. Thanks again. Alex Tweedly wrote: > Bryan Murdock wrote: > >>On 8/4/05, kim...@ya... >><kim...@ya...> wrote: >> >> >>>Hi everyone, >>> >>>With the multi-column control, is there anyway to >>>allow the user to select a particular cell (instead of >>>the whole row like it's doing now)? >>> >>> >> >>Sounds like you might want the wxGrid widget instead of the >>multiColumntList. >> > I agree - can't see anywhere in multicolumnList (or in the underlying wx > ListCtrl) to get a column number. > >>I don't think that's part of pythoncard, but you >>could still use it probably >> >>http://wiki.wxpython.org/index.cgi/wxGrid_20Manual >> >> > Currently (0.8.1 onwards, I think) Pythoncard includes a basic Grid > component (look in Pythoncard/components/grid.py) and an example of its > use (in samples/simpleGrid - note this isn't linked into the samples > launcher, you'll need to start it up yourself). As always, you can use > this, and supplement it by accessing the wx methods directly. > > -- > Alex Tweedly http://www.tweedly.net > > > ------------------------------------------------------------------------ > > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.0/63 - Release Date: 03/08/2005 -- John Henry |