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: Alec B. <wry...@gm...> - 2006-12-07 00:00:52
|
I'm wondering if there's a way to position elements relative to the window size? So for example, if hte window gets resized, the content's position moves with it? |
|
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2006-12-06 18:03:05
|
On 06/12/2006 16:03, Andy Ross wrote: > Is there still an irc channel for Pythoncard? i had recently just > checked for #pythoncard as a channel on freenode is that the wrong thing > to be joining? I'm sure Kevin will correct me if I'm wrong, but I suspect that having reminded people about the IRC facility several times over 2 years ago (yikes...time flies) he might have given up waiting. I feel a bit guilty...I had meant to use the facility but never got around to it until it was too late :-( -- XXXXXXXXXXX |
|
From: Andy R. <dar...@gm...> - 2006-12-06 16:03:58
|
Is there still an irc channel for Pythoncard? i had recently just checked for #pythoncard as a channel on freenode is that the wrong thing to be joining? ~Andy -- Come to me lords of thenorth wind together we shall freeze the bones of this earth |
|
From: Alec B. <wry...@gm...> - 2006-12-06 15:35:48
|
A couple of quick questions: 1) is it possible to have a transparent background for a statictext component? 2) in the resource editor, statictext has a "command" field. However it doesn't seem to trigger the command when I click on it. Is it possible to make it act as a clickable button? 3) I'd just make it a button component, but changing the background color of a button appears to have no effect. Is it possible to edit the color of a button? Thanks. |
|
From: Sean K. F. <skf...@gm...> - 2006-12-06 01:37:32
|
> Hello,
> I am a High School student at Yorktown High School and i worked
> extensively all my junior year with Pythoncard. This year i wanted to
> continue my studies but my teacher seems to believe that Pythoncard is
> dead. However, i will not give in to that message and i hope for a
> response that basically says that Pythoncard is not dead yet
>
> Please prove me right.
Define "dead".
It appears as though you'd like to know whether or not Pythoncard will
somehow "disappear", or be incapable of handling a large project you might
cook up some time down the road. I wouldn't worry about either,
personally. Pythoncard offers one of the most accessible GUI development
layers for, in my opinion, the best language. I wouldn't let your teacher's
comment sway you from something you've become attached to for your own
reasons. That is, after all, one of the great things about Python. There
are many resources available to approach any problem using Python.
Selecting the one that is right for you is entirely up to you and your
comfort level alone.
You'll find several resources on the web today that have either been
completely abandoned, or have not had many updates within the past year.
This does *not* mean that resource is "dead". Perhaps it is just that
Pythoncard is capable and stable as it stands and does not require
consistent updates. What you might want to ask yourself is whether or not
Pythoncard is the right solution for you *today*. Since you've used it
throughout your junior year in High School, it would appear it has worked
for you in its current state. Personally, I've used Pythoncard, along with
the ever popular StandaloneBuilder for a while now, and I've not come across
a scenario where I needed to look elsewhere. There are other alternatives
to Pythoncard that sit upon the wxPython framework ("wax" is one of them).
Since I approach my solutions in a more "Pythoncard" fashion, Pythoncard
makes sense to me. If it didn't, I wouldn't use it. I have no immediate
need for components outside of what is currently available, and Pythoncard
is indeed quite stable.
I've used Pythoncard for odd niche eLearning development applications and
I'm still amazed at how fast I'm able to throw them together using
Pythoncard. I picked up Pythoncard at first for prototyping applications
only - Some big, some small. I've since used it exclusively for all of my
application development. The availability of "helper apps", like
StandaloneBuilder, are just pure icing on the cake. I've used platforms far
more "active", such as .NET in the past, and I must say that the time and
overhead of implementing the identical project in Pythoncard has been far
less for me.
In the end, it is about choosing what is right for both you and the problem
at hand. For my needs, Pythoncard is the right fit.
--
Regards,
Sean K. Friese [skf...@gm...]
|
|
From: <kc1...@ya...> - 2006-12-05 22:47:50
|
Oops! Clicked too fast.=0A=0ANot releasing it as 1.0 give people the=0Aimp= ression that it's dead. Having such impression makes it=0Auninteresting fo= r skillful programmers to join in with the development=0Aeffort (sorry, I d= on't consider myself a "skilful programmer". And=0Athen it's *really* dead= . =0A--=0AJohn Henry=0A=0A----- Original Message ----=0AFrom: "kc106_2005-p= yth...@ya..." <kc1...@ya...>=0ATo: pythoncard-use= rs...@li...=0ASent: Tuesday, December 5, 2006 2:41:04 PM=0ASub= ject: Software are never finished - just updated (was: RE: [Pythoncard-user= s] Revival of Pythoncard)=0A=0AWhy aren't Pythoncard release 1.0? From whe= re I am standing, other then a few issues previously identified, it's more = stable then a software package that I know of which is now at rev 16.4!=0A= =0A=0A> -----Original Message-----=0A> From: pythoncard-users-bounces@lists= .sourceforge.net =0A> [mailto:pyt...@li...= t] On =0A> Behalf Of Alex Tweedly=0A> Sent: Tuesday, December 05, 2006 9:11= AM=0A> To: Andy Ross=0A> Cc: Pycard mailing list; je...@el...=0A> Subj= ect: Re: [Pythoncard-users] Revival of Pythoncard=0A> =0A> =0A> Andy Ross w= rote:=0A> =0A> > Hello,=0A> > I am a High School student at Yorktown Hig= h School and i worked=0A> > extensively all my junior year with Pythoncard.= This year i =0A> wanted to =0A> > continue my studies but my teacher seems= to believe that =0A> Pythoncard is =0A> > dead. However, i will not give i= n to that message and i hope for a =0A> > response that basically says that= Pythoncard is not dead yet=0A> >=0A> > Please prove me right.=0A> =0A> =0A= > It's not dead. There isn't a huge amount happening - but there's =0A> ce= rtainly still support from this list, most questions that are asked =0A> ge= t reasonable answers fairly quickly. There has been a =0A> (fairly) recent= =0A> update to standaloneBuilder, and there is work going on with the =0A>= layoutBuilder (mostly to handle sizer-based layouts, and =0A> before that = to =0A> support multiple component edits).=0A> =0A> It's not been that long= since new component support was added =0A> (Notebooks). I don't know of an= yone currently adding support for any =0A> other widgets - but if there is = one you need, tell us about it.=0A> =0A> Even though we haven't reached the= "magic" 1.0 release, the =0A> API has been =0A> stable for a couple of rel= eases (and a couple of years), so =0A> it is, IMHO, =0A> quite reasonable t= o use PythonCard as a base for non-trivial projects.=0A> =0A> -- =0A> Alex = Tweedly al...@tw... http://www.tweedly.net=0A> =0A> =0A> =0A> -- = =0A_______________________________________________=0APythoncard-users maili= ng list Pyt...@li...=0Ahttps://lists.sourceforge.= net/lists/listinfo/pythoncard-users=0A=0A =0A--=0AJohn Henry=0A=0A=0A=0A=0A |
|
From: <kc1...@ya...> - 2006-12-05 22:41:12
|
Why aren't Pythoncard release 1.0? From where I am standing, other then a = few issues previously identified, it's more stable then a software package = that I know of which is now at rev 16.4!=0A=0A=0A> -----Original Message---= --=0A> From: pyt...@li... =0A> [mailto:py= tho...@li...] On =0A> Behalf Of Alex Tweedl= y=0A> Sent: Tuesday, December 05, 2006 9:11 AM=0A> To: Andy Ross=0A> Cc: Py= card mailing list; je...@el...=0A> Subject: Re: [Pythoncard-users] Revi= val of Pythoncard=0A> =0A> =0A> Andy Ross wrote:=0A> =0A> > Hello,=0A> > = I am a High School student at Yorktown High School and i worked=0A> > exte= nsively all my junior year with Pythoncard. This year i =0A> wanted to =0A>= > continue my studies but my teacher seems to believe that =0A> Pythoncard= is =0A> > dead. However, i will not give in to that message and i hope for= a =0A> > response that basically says that Pythoncard is not dead yet=0A> = >=0A> > Please prove me right.=0A> =0A> =0A> It's not dead. There isn't a = huge amount happening - but there's =0A> certainly still support from this = list, most questions that are asked =0A> get reasonable answers fairly quic= kly. There has been a =0A> (fairly) recent =0A> update to standaloneBuilde= r, and there is work going on with the =0A> layoutBuilder (mostly to handle= sizer-based layouts, and =0A> before that to =0A> support multiple compone= nt edits).=0A> =0A> It's not been that long since new component support was= added =0A> (Notebooks). I don't know of anyone currently adding support fo= r any =0A> other widgets - but if there is one you need, tell us about it.= =0A> =0A> Even though we haven't reached the "magic" 1.0 release, the =0A> = API has been =0A> stable for a couple of releases (and a couple of years), = so =0A> it is, IMHO, =0A> quite reasonable to use PythonCard as a base for = non-trivial projects.=0A> =0A> -- =0A> Alex Tweedly al...@tw... h= ttp://www.tweedly.net=0A> =0A> =0A> =0A> -- =0A____________________________= ___________________=0APythoncard-users mailing list Pythoncard-users@lists.= sourceforge.net=0Ahttps://lists.sourceforge.net/lists/listinfo/pythoncard-u= sers=0A=0A =0A--=0AJohn Henry=0A=0A |
|
From: Alex T. <al...@tw...> - 2006-12-05 17:11:40
|
Andy Ross wrote: > Hello, > I am a High School student at Yorktown High School and i worked > extensively all my junior year with Pythoncard. This year i wanted to > continue my studies but my teacher seems to believe that Pythoncard is > dead. However, i will not give in to that message and i hope for a > response that basically says that Pythoncard is not dead yet > > Please prove me right. It's not dead. There isn't a huge amount happening - but there's certainly still support from this list, most questions that are asked get reasonable answers fairly quickly. There has been a (fairly) recent update to standaloneBuilder, and there is work going on with the layoutBuilder (mostly to handle sizer-based layouts, and before that to support multiple component edits). It's not been that long since new component support was added (Notebooks). I don't know of anyone currently adding support for any other widgets - but if there is one you need, tell us about it. Even though we haven't reached the "magic" 1.0 release, the API has been stable for a couple of releases (and a couple of years), so it is, IMHO, quite reasonable to use PythonCard as a base for non-trivial projects. -- Alex Tweedly al...@tw... http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.15.7/569 - Release Date: 05/12/2006 |
|
From: Andy R. <dar...@gm...> - 2006-12-05 16:40:22
|
Hello, I am a High School student at Yorktown High School and i worked extensively all my junior year with Pythoncard. This year i wanted to continue my studies but my teacher seems to believe that Pythoncard is dead. However, i will not give in to that message and i hope for a response that basically says that Pythoncard is not dead yet Please prove me right. Sincerely Andy Ross |
|
From: Lance H. <lh...@ha...> - 2006-12-05 10:58:36
|
Hi Alex, I suppose I should check before asking stupid questions :-) Thanks Lance Alex Tweedly wrote: > Lance Haig wrote: > > >> Hi all, >> >> I am going to be on a 12 hour flight next week and want to be able to >> learn as I fly :-). When I am there they only have dial up access to the >> net which is pay as you go. >> Is it possible to get a download version of the tutorial documentation >> found on the pythoncard website (or the sf site)? >> >> >> >> > They are part of the standard PythonCard install, they should be in > [PythonCard]/docs/html > > >> The Hula project http://www.hula-project.org has had some changes in the >> ownership of the code and they are looking for python and C developers. >> So I want to see if I can pick up enough python and pythoncard to help >> out that is why I need the documentation. >> >> >> > > > |
|
From: Alec B. <wry...@gm...> - 2006-12-05 10:52:18
|
I'm trying to get the mouse pointer to turn to a hand when it's hovering over an imagebutton in a Windows PythonCard application. In case that's not clear: for example, when your mouse goes over a link in a webbrowser, the mouse pointer turns to a hand to show that it's a link. I'd like to be able to do the same in my PyCard application to let the user know the image is clickable. Is it possible? Thanks. |
|
From: Alex T. <al...@tw...> - 2006-12-05 10:22:30
|
Lance Haig wrote:
>Hi all,
>
>I am going to be on a 12 hour flight next week and want to be able to
>learn as I fly :-). When I am there they only have dial up access to the
>net which is pay as you go.
>Is it possible to get a download version of the tutorial documentation
>found on the pythoncard website (or the sf site)?
>
>
>
They are part of the standard PythonCard install, they should be in
[PythonCard]/docs/html
>The Hula project http://www.hula-project.org has had some changes in the
>ownership of the code and they are looking for python and C developers.
>So I want to see if I can pick up enough python and pythoncard to help
>out that is why I need the documentation.
>
>
--
Alex Tweedly al...@tw... http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.7/569 - Release Date: 05/12/2006
|
|
From: Lance H. <lh...@ha...> - 2006-12-05 10:00:59
|
Hi all, I am going to be on a 12 hour flight next week and want to be able to learn as I fly :-). When I am there they only have dial up access to the net which is pay as you go. Is it possible to get a download version of the tutorial documentation found on the pythoncard website (or the sf site)? The Hula project http://www.hula-project.org has had some changes in the ownership of the code and they are looking for python and C developers. So I want to see if I can pick up enough python and pythoncard to help out that is why I need the documentation. Thanks again Lance |
|
From: Carl W. <car...@ya...> - 2006-12-03 20:22:11
|
Please remove my name from this list. Thank you. --------------------------------- Everyone is raving about the all-new Yahoo! Mail beta. |
|
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2006-12-03 20:19:14
|
On 01/12/2006 05:29, Karl Knechtel wrote: > > Eventually I found a sample in some wxPython tutorials, from which I got > something that worked: > > # in on_initialize of the Background subclass > panel = wx.Panel(self, -1) > panel.Bind(wx.EVT_KEY_DOWN, self.on_keyDown) > panel.SetFocus() > > The key being creation of a separate Panel object. My questions are, (1) > why is this seemingly necessary? and (2) what is the -1 value passed to > the Panel constructor? (1) Well, I'm only a few chapters into the "wxPython In Action" book and trying to get event handling into my brain, so if anyone has a better explanation please chip in. Here's one possibility. Key press up and down events are wx.KeyEvent types, which can only be picked up by window objects that can get focus. Since the application object can not gain focus it cannot detect a KeyEvent. KeyEvents are not passed up the chain of objects either - they can only be detected by the window object with focus. Having said all that, I'm not sure how you were able to detect key-up events. (2) This is the window ID for the panel - if you specify -1, which is the default, you let wxPython/wxWidgets create an ID for you. Every GUI object has a window ID. <http://wxwidgets.org/manuals/2.6.3/wx_wxpanel.html#wxpanel> > I assume this is a wxPython problem; where might I report it? Or, have > any of you any good ideas about how to deal with it? (Right now I put in > some code to do it manually; I am planning to change it to do a > .Rescale(), check the resulting image via the data-buffer to detect the > problem, and correct it with some blitting logic when it happens.) > > - Any good ideas about how to control the key repeat rate for keyDown > messages? Can't help much, sorry, but you should have more luck on the wxPython site or using one of the wxPython mailing lists: <http://www.wxpython.org/maillist.php> > - Later, I will want to implement a scrolling canvas (I need this also for > the tile editor and engine). For the editors (not the engine ;) ) I want > to attach scroll bars to the canvas area, to indicate what part of the > image is drawn, and to scroll it. I thought about using Sliders, but they > don't look right, and don't indicate the relative size of the displayed > window, the way real scrollbars do. But I haven't found a scrollbar-widget > in PythonCard. Did I miss something? Or is there something I can use from > wxPython? Also, is there some benefit I can gain from making a "group" of > controls here (the canvas, horizontal scrollbar and vertical scrollbar)? wxPython has a drop-in replacement for the wx.Panel, called wx.ScrolledWindow , which has a method called SetScrollbars which allows you to set the overall size of the area. I'm not sure if they indicate the relative size. -- XXXXXXXXXXX |
|
From: Lance H. <lh...@ha...> - 2006-12-01 23:56:46
|
Hi Karl, Thanks for the suggestion I have used that before but I was trying to find something different. Looks like I will have to go back to it. Thanks Lance Looks like I need Karl Knechtel wrote: > On Fri, 1 Dec 2006, Lance Haig wrote: > > >> Hi guys, >> >> Is there an SVN client that is built on pythoncard that we can use for >> projects? >> >> > I don't know of any built on PythonCard, but ordinary ones will work just > fine with PythonCard projects :) > > I personally use TortoiseSVN at home. It's quite easy to set up and works > great for one-person projects. > > http://tortoisesvn.tigris.org/ > > HTH, > Karl Knechtel {:> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > > |
|
From: Karl K. <kar...@ut...> - 2006-12-01 20:26:17
|
On Fri, 1 Dec 2006, Lance Haig wrote: > Hi guys, > > Is there an SVN client that is built on pythoncard that we can use for > projects? > I don't know of any built on PythonCard, but ordinary ones will work just fine with PythonCard projects :) I personally use TortoiseSVN at home. It's quite easy to set up and works great for one-person projects. http://tortoisesvn.tigris.org/ HTH, Karl Knechtel {:> |
|
From: Lance H. <lh...@ha...> - 2006-12-01 14:21:16
|
Hi guys, Is there an SVN client that is built on pythoncard that we can use for projects? Thanks Lance |
|
From: Phil E. <ph...@li...> - 2006-12-01 10:05:48
|
On Thursday 30 November 2006 02:05, Bernie Hogan wrote: > Hi Everyone, > > Does anyone know about using py2app to create a universal binary? Any luck? > The official page says wxPython and PythonCard aren't supported yet. > I hadn't come across py2app until now - it sounds like just what needs to be added to the standaloneBuilder tool in order to allow PythonCard projects to be bundled for Linux, Windows and Mac. Unfortunately, I don't own a Mac, so unless somebody wants to take a shot at building py2app support into my standalonBuilder code, I'm not going to be able to help much... :-( |
|
From: Karl K. <kar...@ut...> - 2006-12-01 05:29:21
|
Hello to everyone, I'm Karl, and I picked up Pythoncard a few months ago
with a few specific projects in mind, but only recently started working on
them seriously. Anyway, I have a few questions and a lot of background
info on my project. Sorry about the length :)
Basically, I am going to be making a game engine that is specific to the
traditional tile-and-sprite system (HUD and in-world sprites overlaying a
tiled background) that is used to implement things like isometric or
forced-perspective tactics games and RPGs (but also platformers) - stuff
like you would have on a GBA or on cell phones, except developed on/for
desktop, in Python. :) I may end up using Pygame or something else
(possibly lots of my own C or C++ modules) for the engine itself (actually
there is also a "virtual machine" component as well; I want it to feel
like you're programming for the device via an emulator - except that it
groks Python), but I think PythonCard should be a good choice for some
editor tools, which are my starting point - a "tile editor" (really more
of a map-maker) and a "sprite editor" (for marking sprite coordinates on a
sprite sheet, and possibly moving them around too).
However, I've run into a few technical issues... I'd like to share a
couple of things I learned by experience (combined with lots of
surprisingly painful Googling) as well as asking a bunch of questions :)
- Key bindings were quite troublesome for me. I wanted "global" key
handling, not any kind of messing around with keyboard focus (although I
may revise that later). At first, I had some horrible hack that relied on
grabbing a reference to the global Application instance that was "running"
my Background subclass - and for reasons I don't understand, it would only
grab key-up events, not key-down ones. Nothing else seemed to work; using
.Bind() on the class really sounded like it was supposed to work, but it
had no effect.
Eventually I found a sample in some wxPython tutorials, from which I got
something that worked:
# in on_initialize of the Background subclass
panel = wx.Panel(self, -1)
panel.Bind(wx.EVT_KEY_DOWN, self.on_keyDown)
panel.SetFocus()
The key being creation of a separate Panel object. My questions are, (1)
why is this seemingly necessary? and (2) what is the -1 value passed to
the Panel constructor?
- I want to represent sprite rectangles on the sprite-sheet by "shading"
them via alpha-blending towards a solid colour. The idea being that you
would see (and be warned about) overlapping sprite areas automatically,
because the shading effect would double up.
So far I have only found one hack that will accomplish that, and it's
quite ugly and seems not to work in some cases for reasons I don't
understand (but I probably just have to do some debugging). This is,
create a texture filled with solid colour, and .Blit() from it. This is
nasty because (a) it only works for rects (doesn't give me the effect I
really want, which is that of a translucent Pen or Brush); (b) may
require multiple blits unless you have a large texture set up, and will
thus be driven by somewhat complex code.
I would do it manually in Python, but you can only get a read/write buffer
for an Image, and you need a Bitmap for drawing to the screen, and the
conversion costs are unacceptable (I need the effected region to change in
near-real time in response to key commands or mouse drags). I'd do it
manually in my own C++ module, but I have no idea where to even begin with
that kind of integration (i.e. how do I get at the buffer on the C++
side?). Although I'd probably like to drop to that level eventually
anyway, for the engine, so I should learn how :\
And worse, I haven't even been able to get custom stippling working (not
that it would really have the desired effect anyway, since the stipple
textures always "align" and won't darken each other)! Only the built-in
hatches (when set via .fillMode) seem to work. I tried replacing the Brush
of the BitmapCanvas' underlying _bufImage, and also calling SetStipple()
on it, but these simply have no apparent effect. (Yes, I know you
shouldn't touch "private" members starting with an underscore, but there
doesn't seem to be anything in the public interface that does this, and
you're supposed to be able to do this stuff directly in wxPython, so...)
- Image rescaling seems to have a bug. (I had been using it because I want
to be able to "zoom in" on the spritesheet, without any filtering and with
full precision.) Specifically, if you rescale to an integer multiple of
the old size (the same multiple in both dimensions - I haven't tried other
cases), then in some cases, it will "shift" the texture one pixel each
direction. That is to say, if the multiple is N, then the top-left pixel
gets represented by an (N+1) by (N+1) block in the rescaled image, and the
bottom-right by an (N-1) by (N-1) block.
I assume this is a wxPython problem; where might I report it? Or, have
any of you any good ideas about how to deal with it? (Right now I put in
some code to do it manually; I am planning to change it to do a
.Rescale(), check the resulting image via the data-buffer to detect the
problem, and correct it with some blitting logic when it happens.)
- Any good ideas about how to control the key repeat rate for keyDown
messages?
- Later, I will want to implement a scrolling canvas (I need this also for
the tile editor and engine). For the editors (not the engine ;) ) I want
to attach scroll bars to the canvas area, to indicate what part of the
image is drawn, and to scroll it. I thought about using Sliders, but they
don't look right, and don't indicate the relative size of the displayed
window, the way real scrollbars do. But I haven't found a scrollbar-widget
in PythonCard. Did I miss something? Or is there something I can use from
wxPython? Also, is there some benefit I can gain from making a "group" of
controls here (the canvas, horizontal scrollbar and vertical scrollbar)?
Karl Knechtel {:>
|
|
From: Matt M. <mat...@ya...> - 2006-11-30 05:00:01
|
I've been playing around with making windows modal (not just dialogs, but anything) via the MakeModal method (check out wx.core_). I've got it set up so that during the child's on_initialize, self.MakeModal(true) is called, preventing the user from going back to the parent. I have a 'Close' button on the child window, with the handler on_btnClose_command(self, event). Inside the handler is the call self.MakeModal(False), followed by self.close(), so that the parent is usable again once the child is destroyed. But, what if the user doesn't close the window with my Close button? What if he closes with the Close icon in the top right corner? I've tried this, and the parent isn't usable (which makes me think the child isn't really being destroyed). Is there a way to attach some function to that event called by clicking the icon? And, somewhat unrelated, is there a list somewhere of event types for different widgets (there's select for listbox, and mouseClick and command for buttons and some others)? Or maybe a better question would be, what exactly is inside 'event'? Thanks ya'll! --------------------------------- Want to start your own business? Learn how on Yahoo! Small Business. |
|
From: Bernie H. <ber...@ut...> - 2006-11-30 02:06:54
|
Hi Everyone, Does anyone know about using py2app to create a universal binary? Any luck? The official page says wxPython and PythonCard aren't supported yet. Take care, BERNiE |
|
From: Bernie H. <ber...@gm...> - 2006-11-30 02:02:52
|
Hi Everyone, Does anyone know about using py2app to create a universal binary? Any luck? The official page says wxPython and PythonCard aren't supported yet. Take care, BERNiE |
|
From: Uwe H. <uwe...@tg...> - 2006-11-28 19:47:39
|
Sir, I went carefully through the installation instruction on http://pythoncard.sourceforge.net/macosx_tiger_installation.html Then, after which pythonw /Library/Frameworks/Python.framework/Versions/Current/bin/pythonw cd /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ site-packages/PythonCard/samples/minimal pythonw minimal.py I get the following dump: Traceback (most recent call last): File "minimal.py", line 8, in ? from PythonCard import model File "/sw/lib/python2.4/site-packages/PythonCard/model.py", line 21, in ? File "//Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/wx-2.6-mac-unicode/wx/__init__.py", line 42, in ? from wx._core import * File "//Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/site-packages/wx-2.6-mac-unicode/wx/_core.py", line 4, in ? import _core_ ImportError: Failure linking new module: /Library/Frameworks/ Python.framework/Versions/2.4/lib/python2.4/site-packages/wx-2.6-mac- unicode/wx/_core_.so: Symbol not found: __cg_TIFFSetErrorHandler Referenced from: /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ Versions/A/ImageIO Expected in: /sw/lib/libTIFF.dylib I understand that PythonCard is well in the path: pythonw >>> import sys >>> sys.path ['/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/ site-packages/PythonCard/samples/minimal', '/Library/Frameworks/ Python.framework/Versions/2.4/lib/python2.4/site-packages', '/Library/ Frameworks/Python.framework/Versions/2.4/lib/python24.zip', '/Library/ Frameworks/Python.framework/Versions/2.4/lib/python2.4', '/Library/ Frameworks/Python.framework/Versions/2.4/lib/python2.4/plat-darwin', '/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/plat- mac', '/Library/Frameworks/Python.framework/Versions/2.4/lib/ python2.4/plat-mac/lib-scriptpackages', '/Library/Frameworks/ Python.framework/Versions/2.4/lib/python2.4/lib-tk', '/Library/ Frameworks/Python.framework/Versions/2.4/lib/python2.4/lib-dynload', '/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site- packages/wx-2.6-mac-unicode'] >>> However, libTIFF.dylib is expected at the wrong place and also the traceback line 21 points to a file in /sw... which does not exist. I guess there is a mixup with pathes. Can you help ? Thanks, Falco |
|
From: Ruben M. <rmc...@ya...> - 2006-11-27 13:26:00
|
Two questions, 1.- Do you have wxPython installed? 2.- With everything that has been going with SUSE (its patent deal with Microsoft) have you considered trying a different distribution instead? I am a former SUSE user so I know how nice SUSE can be compared to some distros, but believe me you can do better than that, especially now. --- Matt Minton <mat...@ya...> wrote: > I hope this doesn't sound too luserish. I have been > using PythonCard for Win XP and love it, so I'm > trying to get it to run on my Linux partition. I > have the wxGTK library > (python-wxGTK-2.6.1.0-4.i586.rpm) installed, and > followed the instruction given previously on this > list to build PythonCard from source. Everything > installed great, but when I ran minimal.py as a > test, I got the following traceback: > > >matt@linux:/usr/local/lib/python2.4/site-packages/PythonCard/samples/minimal> > >python minimal.py > >Traceback (most recent call last): > > File "minimal.py", line 8, in ? > > from PythonCard import model > > File > "/usr/local/lib/python2.4/site-packages/PythonCard/model.py", > line 21, >in ? import wx > > File > "/usr/local/lib/python2.4/site-packages/PIL/__init__.py", > line 42, in ? > > > > File > "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", > line >4, in ? ImportError: > >/usr/local/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core_.so: > >undefined symbol: PyUnicodeUCS4_FromEncodedObject > > Any help that can be provided would be greatly > appreciated. Thanks. > > > > --------------------------------- > Sponsored Link > > $420,000 Mortgage for $1,399/month - Think You Pay > Too Much For Your Mortgage? Find Out!> ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users > ____________________________________________________________________________________ Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited |