SourceForge logo
SourceForge logo
Menu

pythoncard-users — PythonCard Users and Developers

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

Showing results of 5121

<< < 1 .. 9 10 11 12 13 .. 205 > >> (Page 11 of 205)
Hi again,
Update on my previous report: I tried the Layout Editor (rather than
Resource Editor) under Ubuntu and most things work.
Under Ubuntu I cannot move Buttons or Choice boxes individually, but
if I select them with a text box I can move them together, which is
silly, but deal-with-able. Seems like some underlying class issue in
wx->GTK? I don't have a complete catalog of all the components which
are movable versus not.
Another thing that cropped up is that whenever I select an item in the
Layout Editor, it moves downwards by about 30 pixels. Odd.
Under Windows, every select moves the item down and right by 2 pixels each.
But at least multiple select works!
cheers
morgan
On Tue, 4 Nov 2008 09:22:48 +0200, "Andrew Spagnoletti" <and...@gm...> wrote:
> I have a few questions of my own that I would like to throw out to
> the broader PythonCard community.
> 1. I have attempted to establish what the status of PythonCard is (without
> success), because the project appears to have terminated some years ago.
> Does anyone know? 
I hope it's still being used by quite a lot of people, but it's difficult to tell because the list is so quiet. Kevin has mentioned on the developer list that he's recently tested PythonCard with Python 2.6 and the latest wxPython, and he's going to try and look at one of the Mac-specific issues I mentioned recently.
It's the usual problem though - people have other priorities and I suspect 0.8.2 is good enough for many. I'm using it quite a bit at the moment for simple utilities and I'm trying to learn more about the inner workings because there are some more complex projects that I might be able to use it for in the future. I'm also trying to contribute something back at long last by attempting to duplicate issues other people are finding and if possible doing a bit of debugging. Without knowing how many people are still using PythonCard I don't know whether it'll help anyone or just help satisfy my inner-geekness.
It would be good to blow the dust and cobwebs off the bug/suggestion/to-do lists, and get the project rolling, but we need to know who can help and if it's worth it, i.e. who is still using it.
Maybe to start with, since the list is so quiet, we can do a poll and get an idea of numbers, platforms/versions being used, a top 3 bug/request list and who can contribute? Any takers? I'll start it off if nobody else does....first though I need to go around and work out how many combinations of OS + Python + wxPython I have!
> Is there any comprehensive documentation on PythonCard?
Other than the stuff on the web-site, I tend to rely on examining the source code and when necessary the "wxPython In Action" book.
-- 
XXXXXXXXXXX
On 2008年11月04日 23:01:15 +0000, Alex Tweedly <al...@tw...> wrote:
> I'd use the layout editor in preference to the resource editor. It was 
> intended to be a replacement for the older (single-component) version, 
> and as far as I know has no significant problems that would require you 
> to use the older version. There may be issues with component order on 
> the Mac, but I think they were all resolved.
Fair enough....I've got into a routine of copying existing projects, altering the GUI in the resource editor and then changing the behaviour in the code editor. I really should take a look at the layout editor one of these days.
> A couple of years ago, I made a switch from PC to Mac, which was 
> absolutely disastrous for Python use, so I never did get Python + wx + 
> Pythoncard to all work adequately, and was effectively unable to do any 
> Pythoncard work for quite a long time.
My target platform is Windows and I'm building .EXEs, so my Mac doesn't get used much with PythonCard other than trying to duplicate platform-specific issues that others have discovered on this list. There are still problems (like the CoreGraphics single device context limit in wxPython 2.8.x) and it doesn't look like the GTK platforms are smooth-sailing either.
-- 
XXXXXXXXXXX
Andrew Spagnoletti wrote:
>
> I have a few questions of my own that I would like to throw out to 
> the broader PythonCard community.
> 1. I have attempted to establish what the status of PythonCard is 
> (without success), because the project appears to have terminated some 
> years ago. Does anyone know? Is there any comprehensive documentation 
> on PythonCard?
It is kind of in limbo. What it does, it does (more or less) adequately. 
There is a lot more it could do (i.e. addiitonal component types, better 
features in the editors, sizers via the editor, ability to mix in 
additional initialization characteristics, ... lots of additional things 
it could do), but unless someone is really motivated by a need for 
something specific, and has time to delve into developing it, I don't 
see any prospect of those being done.
I'm not sure there is anything I'd describe as comprehensive 
documentation. There is a fair amount in the docs directory, and the 
samples contain lots of useful info, even though not 'documentation' as 
such. And if you haven't used it, the findfiles tool is a good way to 
find things in the samples, as well as being a generally useful tool anyway.
> 2. I have a particular problem; does anyone know how to right-align a 
> column in a multi column list in PythonCard? In commercial systems 
> this is a common requirement. Similarly, is there a way of setting the 
> font type and size for a particular column in a multi column list?
See samples/minimalList - it creates its columns using
> list.InsertColumn(0, "Artist")
> list.InsertColumn(1, "Title", wx.LIST_FORMAT_RIGHT)
> list.InsertColumn(2, "Genre") 
Don't know offhand about the font type, but there should be a similar 
direct call into wx to do it. Or, it may not be possible to set the font 
for each column (I don't see a wx sampel that does this, with a cursory 
look). You may need to use a grid rather than a list .... but an explore 
of the wx samples or docs should sort that out for you.
'size' - column size or font size ?
column size is set by list.SetColumnWidth() - see further down in the 
same sample.
-- Alex.
>
> Regards,
>
> Andrew.
>
>
>
> On Tue, Nov 4, 2008 at 3:46 AM, Morgan Venable <ve...@gm... 
> <mailto:ve...@gm...>> wrote:
>
> Hi all,
>
> Item 1:
> I'm having a hard time getting PythonCard to run cleanly on my Ubuntu
> machine, seeing some peculiar errors that keep my program from
> terminating properly on exit. Things generally work okay (the
> resourceEditor is a disaster area, but I've managed to get what I need
> done) but exiting any app spits out a bunch of errors like the
> following:
>
> [from exit of Minimal.py:]
>
> me@mylocalhost:~/somepath/$ python minimal.py
>
> (python:29257): GLib-GObject-WARNING **:
> /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance
> `0x165c380' has no handler with id `224'
>
> (python:29257): GLib-GObject-WARNING **:
> /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance
> `0x139f510' has no handler with id `121'
>
> (python:29257): GLib-GObject-WARNING **:
> /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance
> `0x139f030' has no handler with id `49'
>
> In this case all I did was run Minimal.py, and exit it.
> I get similar errors when I run any other PythonCard application.
>
> My installation is... complicated. Multiple versions of things, some
> from Synaptic, others not.
>
> I'm running Ubuntu 8.04.
> Python 2.5 (but older versions are installed too)
> PythonCard 0.8.2, installed via the setup script in the tar.gz
> PythonCard 0.8.1, installed via Synaptic (installed 0.8.2 before i
> realized there was a package)
> libwxgtk2.6-0, via Synaptic
> libwxgtk2.8-0, via Synaptic
>
> I deleted the 0.8.2 version of PythonCard, but the problems persist.
> Are the multiple versions of libwxgtk part of my problem here?
>
>
>
> Item 2:
> It appears to be impossible to get a StaticText widget to render in
> front of a BitmapCanvas. I need to use some bitmapcanvases to show
> colored areas behind my interface. No matter what the order of the
> items is in the resource file, the static text ALWAYS renders behind
> the BitmapCanvas.
> Other widgets like buttons, gauges etc all render fine, according to
> order in the file.
>
> Bug or Feature?
>
> [the semantics of "Front = behind everything" and "Back = in front of
> everything" puzzle me, but whatever.]
>
> I know I can work around it by drawing that text in the BitmapCanvas
> itself, but this seems pretty wrong.
>
>
> Item 3:
> Is it possible to select and move multiple items together? This
> doesn't work in Ubuntu AFAICT.
> Is this implemented/working on any other platforms?
>
>
> Thanks!
>
>
> I'm still super-stoked on how easy it's been to put together a basic
> interface for this application -- I migrated my entire project from
> Ruby into Python so that I could use a reasonable GUI toolkit. Just
> trying to clean up the loose ends so other people can run it and not
> throw errors all over the place!
>
> cheers
>
> morgan
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> <mailto:Pyt...@li...>
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
> 
XXXXXXXXXXX wrote:
> I think we're on the same wavelength :-) You're saying that you can do multiple selection in the PythonCard resource editor, yes? Because I can't...
>
> ...hang on...
>
> ...got it. It works in the layout editor...which I haven't got around to using much yet. But not in the resource editor.
> 
I'd use the layout editor in preference to the resource editor. It was 
intended to be a replacement for the older (single-component) version, 
and as far as I know has no significant problems that would require you 
to use the older version. There may be issues with component order on 
the Mac, but I think they were all resolved.
Actually, it was intended to be a first step towards a combined editor 
that would incorporate both resource/layout editing and code editing - 
but that was much too big a problem for me, so I stopped at making it a 
better layout editor, incorporating the features I thought were most 
needed. I made some efforts towards incorporating sizers (but never 
succeeded in getting them anywhere near to right). Someone else did do 
some work on a sizer based editor - but at the time I was unable to even 
try it out, so I don't know how far that effort got.
A couple of years ago, I made a switch from PC to Mac, which was 
absolutely disastrous for Python use, so I never did get Python + wx + 
Pythoncard to all work adequately, and was effectively unable to do any 
Pythoncard work for quite a long time. I have now switched back to a PC, 
so I can at least run the tools and look at things; but I still have 
relatively little (i.e. almost no) time to do any programming, so I 
can't realistically offer much hope that I will do significant 
development on Pythoncard any time soon.
-- Alex.
On Mon, 3 Nov 2008 17:46:10 -0800, "Morgan Venable" <ve...@gm...> wrote:
> It appears to be impossible to get a StaticText widget to render in
> front of a BitmapCanvas. I need to use some bitmapcanvases to show
> colored areas behind my interface. No matter what the order of the
> items is in the resource file, the static text ALWAYS renders behind
> the BitmapCanvas.
> Other widgets like buttons, gauges etc all render fine, according to
> order in the file.
> 
> Bug or Feature?
Could be a bug. I can place StaticText over a BitmapCanvas without any issues on XP, but on my old OpenBSD box (Python 2.4 + wxPython 2.6.3) I see the same problem, plus I cannot change the background colour of the StaticText component. Maybe a GTK2 issue?
-- 
XXXXXXXXXXX
On Tue, 4 Nov 2008 11:31:09 +0200, "Andrew Spagnoletti" <and...@gm...> wrote:
> There could be a communication issue here; I understood the reference was to
> selecting and moving multiple components in PythonCard, not in the
> subsequent live application. In PythonCard, when developing the application,
> it can be done. I am using Python 2.6 and the latest PythonCard version.
I think we're on the same wavelength :-) You're saying that you can do multiple selection in the PythonCard resource editor, yes? Because I can't...
...hang on...
...got it. It works in the layout editor...which I haven't got around to using much yet. But not in the resource editor.
-- 
XXXXXXXXXXX
There could be a communication issue here; I understood the reference was to
selecting and moving multiple components in PythonCard, not in the
subsequent live application. In PythonCard, when developing the application,
it can be done. I am using Python 2.6 and the latest PythonCard version.
On Tue, Nov 4, 2008 at 11:12 AM, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXwrote:
> On Tue, 4 Nov 2008 09:22:48 +0200, "Andrew Spagnoletti" <
> and...@gm...> wrote:
> > On Tue, Nov 4, 2008 at 3:46 AM, Morgan Venable <ve...@gm...>
> wrote:
> > > Item 3:
> > > Is it possible to select and move multiple items together? This
> > > doesn't work in Ubuntu AFAICT.
> > > Is this implemented/working on any other platforms?
> >
> > I use Python and PythonCard on the Windows (XP) platform so I can answer
> > Item 3; yes - in Windows simply draw a rectangle with your mouse around
> the
> > components (or Ctrl-click) to select multiple items and drag them in
> unison.
>
> Hmmm....doesn't work here on XP (Python 2.3 - 2.6 + wxPython 2.6 - 2.8).
> Control-click just selects one at a time, and no click-drag rectangle
> appears :-(
>
> --
> XXXXXXXXXXX
>
On Tue, 4 Nov 2008 09:22:48 +0200, "Andrew Spagnoletti" <and...@gm...> wrote:
> On Tue, Nov 4, 2008 at 3:46 AM, Morgan Venable <ve...@gm...> wrote:
> > Item 3:
> > Is it possible to select and move multiple items together? This
> > doesn't work in Ubuntu AFAICT.
> > Is this implemented/working on any other platforms?
>
> I use Python and PythonCard on the Windows (XP) platform so I can answer
> Item 3; yes - in Windows simply draw a rectangle with your mouse around the
> components (or Ctrl-click) to select multiple items and drag them in unison.
Hmmm....doesn't work here on XP (Python 2.3 - 2.6 + wxPython 2.6 - 2.8). Control-click just selects one at a time, and no click-drag rectangle appears :-(
-- 
XXXXXXXXXXX
Hi,
I use Python and PythonCard on the Windows (XP) platform so I can answer
Item 3; yes - in Windows simply draw a rectangle with your mouse around the
components (or Ctrl-click) to select multiple items and drag them in unison.
I have a few questions of my own that I would like to throw out to
the broader PythonCard community.
1. I have attempted to establish what the status of PythonCard is (without
success), because the project appears to have terminated some years ago.
Does anyone know? Is there any comprehensive documentation on PythonCard?
2. I have a particular problem; does anyone know how to right-align a column
in a multi column list in PythonCard? In commercial systems this is a common
requirement. Similarly, is there a way of setting the font type and size for
a particular column in a multi column list?
Regards,
Andrew.
On Tue, Nov 4, 2008 at 3:46 AM, Morgan Venable <ve...@gm...> wrote:
> Hi all,
>
> Item 1:
> I'm having a hard time getting PythonCard to run cleanly on my Ubuntu
> machine, seeing some peculiar errors that keep my program from
> terminating properly on exit. Things generally work okay (the
> resourceEditor is a disaster area, but I've managed to get what I need
> done) but exiting any app spits out a bunch of errors like the
> following:
>
> [from exit of Minimal.py:]
>
> me@mylocalhost:~/somepath/$ python minimal.py
>
> (python:29257): GLib-GObject-WARNING **:
> /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance
> `0x165c380' has no handler with id `224'
>
> (python:29257): GLib-GObject-WARNING **:
> /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance
> `0x139f510' has no handler with id `121'
>
> (python:29257): GLib-GObject-WARNING **:
> /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance
> `0x139f030' has no handler with id `49'
>
> In this case all I did was run Minimal.py, and exit it.
> I get similar errors when I run any other PythonCard application.
>
> My installation is... complicated. Multiple versions of things, some
> from Synaptic, others not.
>
> I'm running Ubuntu 8.04.
> Python 2.5 (but older versions are installed too)
> PythonCard 0.8.2, installed via the setup script in the tar.gz
> PythonCard 0.8.1, installed via Synaptic (installed 0.8.2 before i
> realized there was a package)
> libwxgtk2.6-0, via Synaptic
> libwxgtk2.8-0, via Synaptic
>
> I deleted the 0.8.2 version of PythonCard, but the problems persist.
> Are the multiple versions of libwxgtk part of my problem here?
>
>
>
> Item 2:
> It appears to be impossible to get a StaticText widget to render in
> front of a BitmapCanvas. I need to use some bitmapcanvases to show
> colored areas behind my interface. No matter what the order of the
> items is in the resource file, the static text ALWAYS renders behind
> the BitmapCanvas.
> Other widgets like buttons, gauges etc all render fine, according to
> order in the file.
>
> Bug or Feature?
>
> [the semantics of "Front = behind everything" and "Back = in front of
> everything" puzzle me, but whatever.]
>
> I know I can work around it by drawing that text in the BitmapCanvas
> itself, but this seems pretty wrong.
>
>
> Item 3:
> Is it possible to select and move multiple items together? This
> doesn't work in Ubuntu AFAICT.
> Is this implemented/working on any other platforms?
>
>
> Thanks!
>
>
> I'm still super-stoked on how easy it's been to put together a basic
> interface for this application -- I migrated my entire project from
> Ruby into Python so that I could use a reasonable GUI toolkit. Just
> trying to clean up the loose ends so other people can run it and not
> throw errors all over the place!
>
> cheers
>
> morgan
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>
Hi all,
Item 1:
I'm having a hard time getting PythonCard to run cleanly on my Ubuntu
machine, seeing some peculiar errors that keep my program from
terminating properly on exit. Things generally work okay (the
resourceEditor is a disaster area, but I've managed to get what I need
done) but exiting any app spits out a bunch of errors like the
following:
[from exit of Minimal.py:]
me@mylocalhost:~/somepath/$ python minimal.py
(python:29257): GLib-GObject-WARNING **:
/build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance
`0x165c380' has no handler with id `224'
(python:29257): GLib-GObject-WARNING **:
/build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance
`0x139f510' has no handler with id `121'
(python:29257): GLib-GObject-WARNING **:
/build/buildd/glib2.0-2.16.6/gobject/gsignal.c:1741: instance
`0x139f030' has no handler with id `49'
In this case all I did was run Minimal.py, and exit it.
I get similar errors when I run any other PythonCard application.
My installation is... complicated. Multiple versions of things, some
from Synaptic, others not.
I'm running Ubuntu 8.04.
Python 2.5 (but older versions are installed too)
PythonCard 0.8.2, installed via the setup script in the tar.gz
PythonCard 0.8.1, installed via Synaptic (installed 0.8.2 before i
realized there was a package)
libwxgtk2.6-0, via Synaptic
libwxgtk2.8-0, via Synaptic
I deleted the 0.8.2 version of PythonCard, but the problems persist.
Are the multiple versions of libwxgtk part of my problem here?
Item 2:
It appears to be impossible to get a StaticText widget to render in
front of a BitmapCanvas. I need to use some bitmapcanvases to show
colored areas behind my interface. No matter what the order of the
items is in the resource file, the static text ALWAYS renders behind
the BitmapCanvas.
Other widgets like buttons, gauges etc all render fine, according to
order in the file.
Bug or Feature?
[the semantics of "Front = behind everything" and "Back = in front of
everything" puzzle me, but whatever.]
I know I can work around it by drawing that text in the BitmapCanvas
itself, but this seems pretty wrong.
Item 3:
Is it possible to select and move multiple items together? This
doesn't work in Ubuntu AFAICT.
Is this implemented/working on any other platforms?
Thanks!
I'm still super-stoked on how easy it's been to put together a basic
interface for this application -- I migrated my entire project from
Ruby into Python so that I could use a reasonable GUI toolkit. Just
trying to clean up the loose ends so other people can run it and not
throw errors all over the place!
cheers
morgan
From: Kevin A. <al...@se...> - 2008年10月23日 17:25:12
In wx terms, idle just means the event queue has emptied, which is 
why you see "idle" events occurring when you move the mouse. Using an 
on_idle handler in PythonCard is one way of updating your UI as it 
allows you to do some processing without worrying about whether an 
event generated from a sizer, window resize or some other update is 
still processing.
For an application using threads such as yours you'll be better 
served by using a timer event. There are numerous examples of this in 
the samples as well as a timers-threads.html documentation at http:// 
pythoncard.sourceforge.net/timers-threads.html
You can use a timer that fires more often than you require for 
processing along with a flag to prevent running code within your 
program unless it is required. For example, in the worldclock 
example, the text on screen isn't updated unless the time has changed.
I'm sure some folks would be interested in seeing your program if you 
want to provide a link.
ka
On Oct 23, 2008, at 7:00 AM, Christopher Lees wrote:
> Hi all.
>
> I'm just writing a GUI frontend in Pythoncard that uses queues to
> communicate between threads. The Idle handler reads the queue and
> updates some information in the GUI.
>
> The issue I'm finding is that the GUI information only updates when I
> move the mouse within the Pythoncard window. I don't know if it's just
> the GUI that's not updating, or if the Idle handler isn't actually
> running.
>
> Is this a known issue? Is there any sort of viable workaround? I am
> running Ubuntu 8.04 with both libwxbase2.6.3.2 and libwxbase2.8.7
> installed, Pythoncard 0.8.1-8, Xorg 7.3, and Python 2.5.2. I can 
> provide
> any other information you want or need.
>
> For those interested, it's a frontend for a CLI program I wrote that
> converts video files to the correct format for Sony Walkman MP3 
> players.
> Uses multiple cores as well!
>
> Chris
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win 
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in 
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
From: Christopher L. <chr...@ip...> - 2008年10月23日 14:32:03
Hi all.
I'm just writing a GUI frontend in Pythoncard that uses queues to
communicate between threads. The Idle handler reads the queue and
updates some information in the GUI.
The issue I'm finding is that the GUI information only updates when I
move the mouse within the Pythoncard window. I don't know if it's just
the GUI that's not updating, or if the Idle handler isn't actually
running.
Is this a known issue? Is there any sort of viable workaround? I am
running Ubuntu 8.04 with both libwxbase2.6.3.2 and libwxbase2.8.7
installed, Pythoncard 0.8.1-8, Xorg 7.3, and Python 2.5.2. I can provide
any other information you want or need.
For those interested, it's a frontend for a CLI program I wrote that
converts video files to the correct format for Sony Walkman MP3 players.
Uses multiple cores as well!
Chris
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2008年10月23日 13:37:20
On 2008年10月22日 08:38:22 +0100, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX wrote:
> I'll do some more investigation to see whether this is an OSX bug in GetBestSize().
Hmmm....looks like another issue that arrived with wxPython 2.8.x. I created the following non-PythonCard application:
import wx
class DemoFrame(wx.Frame):
 def __init__(self):
 wx.Frame.__init__(self,None,-1,"Test",size=(400,400))
 
 self.list = wx.ListCtrl(self,-1,style=wx.LC_REPORT,size=(300,100))
 self.list.InsertColumn(0,"Column1")
 self.list.InsertColumn(1,"Column2")
 print "__init__:\nList GetBestSize: ", self.list.GetBestSize(), "Current: ", self.list.GetSize()
 
 self.button = wx.Button(self,-1,"Button",pos=(200,200),size=(100,50))
 print "Button GetBestSize: ", self.button.GetBestSize(), "Current: ", self.button.GetSize()
app = wx.PySimpleApp()
frame = DemoFrame()
frame.Show()
app.MainLoop()
and ran it on a few platforms:
OSX 10.4 + wxPython 2.5.3.1:
List	GetBestSize: 100,80	Current: 300,100
Button	GetBestSize: 70,20	Current: 100,50
OS 10.4 + wxPython 2.8.9.1:
List	GetBestSize: 300,100	Current: 300,100
Button	GetBestSize: 70,20	Current: 100,20
XP + wxPython 2.8.9.1:
List	GetBestSize: 100,80	Current: 300,100
Button	GetBestSize: 75,23	Current: 100,50
So GetBestSize() looks broken on OS 10.4 + wxPython 2.8.9.1 for multi-column lists. Setting the button height to 50 didn't work either.
-- 
XXXXXXXXXXX
From: Andy T. <an...@ha...> - 2008年10月22日 23:37:28
Andrew Spagnoletti wrote:
> Hi,
> 
> The Grid component is mentioned in the PythonCard documentation for 
> release 0.8.2 but is not presented as an option in the PythonCard Layout 
> module.
> 
> Is there some way to include it?
> 
> 
You have to add it to the resource file by hand. For an example take a 
look at the simpleGrid sample shipped with PythonCard, where it is 
included in the resource file as;
"""
 { 'type':'Grid',
 'name':'mygrid',
 'position':(0, 0),
 'size':(400, 300),
"""
Regards,
Andy
-- 
 From the desk of Andrew J Todd esq - http://www.halfcooked.com/
From: Andrew S. <and...@gm...> - 2008年10月22日 14:58:39
Hi,
The Grid component is mentioned in the PythonCard documentation for release
0.8.2 but is not presented as an option in the PythonCard Layout module.
Is there some way to include it?
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2008年10月22日 07:38:34
On 2008年10月17日 09:25:18 +0100, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX wrote:
> On 2008年4月02日 21:34:49 -0400, Terry Maloney <ter...@gl...> wrote:
> 
> > Now that I've got the 'visuals' working with wxPython 2.7.2.0, I 
> > added a MultiColumnList to my test app ... I can drag and resize it,
> > but updates/saves don't stick for size (though they do for 
> > position) ... it always reverts to (-1, -1) in the Property Editor 
> > window, and trying to set the size there doesn't work either.
> 
> I get this too... OSX 10.4 + wxPython 2.8.9.1.
> 
> Did anybody come up with a fix for this....if not, I'll take a look next week....time permitting. 
Hmmm.....PythonCard deliberately sets the size to (-1,-1) in propertyEditor.py if the component's size matches the call to GetBestSize() - under OSX GetBestSize() is not staying constant for the multicolumn list and keeps matching the new size....hence size always gets set to (-1,-1).
You can get the same result under Windows XP, if you resize the component to exactly (50,50), which is GetBestSize()'s calculation of the minimum size. 
I'll do some more investigation to see whether this is an OSX bug in GetBestSize().
-- 
XXXXXXXXXXX
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2008年10月17日 09:05:50
On 2008年4月02日 21:34:49 -0400, Terry Maloney <ter...@gl...> wrote:
> Now that I've got the 'visuals' working with wxPython 2.7.2.0, I 
> added a MultiColumnList to my test app ... I can drag and resize it,
> but updates/saves don't stick for size (though they do for 
> position) ... it always reverts to (-1, -1) in the Property Editor 
> window, and trying to set the size there doesn't work either.
I get this too... OSX 10.4 + wxPython 2.8.9.1.
Did anybody come up with a fix for this....if not, I'll take a look next week....time permitting. 
-- 
XXXXXXXXXXX
On 2008年10月03日 09:18:41 -0500 (CDT), Glenn Burkhardt <gbb...@ve...> wrote:
> The newly released wxPython 2.8.9.1 fixes the problem with CodeEditor.
Anybody able to run the codeEditor with OSX 10.4+ and wxPython 2.8.9.0+....I still cannot get it to work in OSX due to the following error:
PyNoAppError: The wx.App object must be created first!
so it seems to be the same as 2.8.x.x. The other editors are fine, and as Glenn pointed out they all work on my XP box.
-- 
XXXXXXXXXXX
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2008年10月13日 22:26:13
On 2008年10月12日 13:50:16 -0400, Aaron Stevens <az...@bu...> wrote:
> Yes, that's the error I got. I'm attaching the stack trace.
> I got effectively the same stack trace from running Resource Editor, 
> and the same drawing issue.
Fancy hacking your copy of the LayoutEditor? :-)
I've posted what I found on the developer list, but Kevin and I are on Tiger so any chance you could repeat the code changes I suggest here:
<http://article.gmane.org/gmane.comp.python.pythoncard.devel/256>
It's just two small code changes to layoutEditor.py. Failing that, I'll send my copy of the module.
-- 
XXXXXXXXXXX
From: Aaron S. <az...@bu...> - 2008年10月12日 17:51:33
Attachments: stacktrace.txt
Neil,
Yes, that's the error I got. I'm attaching the stack trace.
I got effectively the same stack trace from running Resource Editor, 
and the same drawing issue.
-Aaron
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2008年10月12日 09:59:07
On Thu, 9 Oct 2008 17:54:09 -0400 Aaron Stevens <az...@bu...> wrote:
> No, I never worked it out. I run Windows XP under Parallels Desktop, 
> so I just gave up and used the windows versions of LayoutEditor.
> I'd love to see a solution if you can work it out!
Well....it looks like the same nested device context limit that is causing the problem with the BitmapCanvas component is also causing the problem with the LayoutEditor. I don't see any error under Windows XP so I guess this limitation has been deliberately restricted to OSX.
Aaron....or anybody running 10.5 (I only have Tiger here, so I hope it's the same cause)....if you run the LayoutEditor from the command line or set the Python launcher to show all error messages in a terminal window, and then load the widgets example, when the window is only partly drawn do you see the stack trace ending with the error about "Cannot nest wxDCs on the same window"?
Also, is anybody seeing the same visible issue in the Resource Editor....where only a part of the window is showing? I just see it in the LayoutEditor but I get the stack trace in both.
I've been able to hack the editor code to stop this and get all of the components showing but I haven't tested it back on my Windows box to see if it breaks anything...and I can't understand why I'm not seeing the same visible issue in the ResourceEditor....just an error message.
-- 
XXXXXXXXXXX
From: John H. <ec...@ya...> - 2008年10月11日 06:49:08
I've been asking that same question for a few years: why wouldn't they release Pythoncard as 1.0? 
--
John Henry
----- Original Message ----
> From: Glenn Burkhardt <gbb...@ve...>
> To: Pyt...@li...
> Cc: ma...@hu...
> Sent: Wednesday, September 3, 2008 7:02:57 AM
> Subject: [Pythoncard-users] what ever happened to... Sizers for PythonCard?
> 
> I notice the note from Hugh Kernohan of 2007年11月03日; was there no 
> interest in pursuing it? I've pulled the zip file off of 'tweedly.org'. 
> Is there any successor file set?
> 
> Also, given the level of activity on this project since the last 2006 
> update, should I assume that folks consider this project completed? 
> Will there be no version 1.0, and this is another project that never 
> progresses past a beta release? Actually, the code looks pretty 
> polished for beta.
> 
> Thanks.
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
From: Aaron S. <az...@bu...> - 2008年10月09日 23:17:07
Hi Neil,
No, I never worked it out. I run Windows XP under Parallels Desktop, 
so I just gave up and used the windows versions of LayoutEditor.
I'd love to see a solution if you can work it out!
Aaron
On Oct 9, 2008, at 4:54 PM, XXXXXXXXXXX wrote:
> 6 months later...and I finally upgrade my trusty old G3 iMac to 
> wxPython 2.8.9.1. Now I see these problems.
>
> First there's the problem with the widget sample not fully loading 
> in the resource editor. That seems to be the same issue as reported 
> by Alex Schenkman in March ("BitmapCanvas problem in OSX") - it gets 
> to drawing the BitmapCanvas widget and then fails due to "Cannot 
> nest wxDCs on the same window". This appears to be due to changes in 
> wxMac:
>
> <http://lists.wxwidgets.org/pipermail/wx-users/2007-October/102956.html 
> >
>
> Having deliberately removed this component I then hit the other 
> issue that 2.8.x.x users were seeing - not all of the window being 
> displayed in the layout/resource editor. Did anybody work out what 
> was causing this?
>
> -- 
> XXXXXXXXXXX
>
>
> On 2008年4月02日 17:27:47 -0400
> Terry Maloney <ter...@gl...> wrote:
>
>> XXXXXXXXXXX wrote:
>>
>>> With the following versions the layout looks the same as XP, i.e. 
>>> all
>>> components are visible and the text area fills the frame:
>>>
>>> OSX 10.4.11 (PowerPC)
>>> Python 2.3.5 (as shipped with Tiger)
>>> wxPython 2.5.3.1
>>> PythonCard 0.8.2
>>>
>>> So it looks more like something specific to newer versions of the
>>> OS/wxPython than a platform difference.
>>
>> I'm also using OSX 10.4.11 (PowerPC), so it's probably not the OS,
>> but definitely is related to wxPython ... versions up to 2.7.2.0 work
>> perfectly, 2.8.0.1 introduces the problem. Unfortunately that's
>> probably not going to help Aaron, as 2.7.2.0 doesn't appear to
>> support OSX 10.5.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win 
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in 
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2008年10月09日 20:54:16
6 months later...and I finally upgrade my trusty old G3 iMac to wxPython 2.8.9.1. Now I see these problems.
First there's the problem with the widget sample not fully loading in the resource editor. That seems to be the same issue as reported by Alex Schenkman in March ("BitmapCanvas problem in OSX") - it gets to drawing the BitmapCanvas widget and then fails due to "Cannot nest wxDCs on the same window". This appears to be due to changes in wxMac:
<http://lists.wxwidgets.org/pipermail/wx-users/2007-October/102956.html>
Having deliberately removed this component I then hit the other issue that 2.8.x.x users were seeing - not all of the window being displayed in the layout/resource editor. Did anybody work out what was causing this? 
-- 
XXXXXXXXXXX
On 2008年4月02日 17:27:47 -0400
Terry Maloney <ter...@gl...> wrote:
> XXXXXXXXXXX wrote:
> 
> > With the following versions the layout looks the same as XP, i.e. all
> > components are visible and the text area fills the frame:
> >
> > OSX 10.4.11 (PowerPC)
> > Python 2.3.5 (as shipped with Tiger)
> > wxPython 2.5.3.1
> > PythonCard 0.8.2
> >
> > So it looks more like something specific to newer versions of the
> > OS/wxPython than a platform difference.
> 
> I'm also using OSX 10.4.11 (PowerPC), so it's probably not the OS, 
> but definitely is related to wxPython ... versions up to 2.7.2.0 work 
> perfectly, 2.8.0.1 introduces the problem. Unfortunately that's 
> probably not going to help Aaron, as 2.7.2.0 doesn't appear to 
> support OSX 10.5.
61 messages has been excluded from this view by a project administrator.

Showing results of 5121

<< < 1 .. 9 10 11 12 13 .. 205 > >> (Page 11 of 205)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /