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: Andy T. <an...@ha...> - 2007-02-12 08:11:41
|
Alejandro David Weil wrote: > Hello! > > I've found a few posts you made in lists, related to pythoncard and > GridBaseTable. > But them was not directly about it. > > I'm just starting with pythonCard, and using a special GridBaseTable is > what I need (I don't want to have to know all the information on the > setup of my grid), but, in the few tests I've made yet, I didn't get to > instanciate any "new" GridBaseTable. > > Do you know if it's possible to subclass GridBaseTable and use it with > pythoncard? > > Thanks, > dave > -- > There is no dark side of the moon really. Matter of fact it's all dark. Its more than likely that this is possible, although I've never used GridBaseTable myself. If you have a look at the dbBrowser2 sample included with PythonCard you might get some ideas how to implement. In this a grid component (based on wx.grid) is dynamically created and populated from a database table. Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |
From: <kub...@gm...> - 2007-02-06 17:42:17
|
On 2/2/07, kub...@gm... <kub...@gm...> wrote: > > I've attached 2 sample windows if you could advise how to toggle between > them. > > On 2/1/07, kub...@gm... <kub...@gm...> wrote: > > > > I would like for the main window to disappear when the second window > > pops up and the second window disappear when I go back to the first. In > > other words, I want to toggle between them. > > > > I'm working on a math game and would like to be able to select an > > Addition/Subtraction game with a button (and then return to the main window > > when through) or have a second button on the main window to select an > > Addition/Subtraction/Multiplication/Division game when the child is ready > > for more advanced mathematics. Again with a button to return to the main > > window. > > > > > > On 2/1/07, Alex Tweedly < al...@tw...> wrote: > > > > > > kub...@gm... wrote: > > > > > > I'm new to using python and pythoncard. I've developed a few simple > > > apps and pythoncard gui's by adapting or modifying existing examples. One > > > simple example I don't see thought is a way to switch between windows. I > > > would like to have a main window with a button to go to a second window. > > > Then a button on the second window to go back to the main window. Does > > > anyone have an example or an explanation of how I can accomplish this? > > > > > > Can you be slightly more specific .... (or alternatively give an > > > example from a well-known application) > > > > > > You start with a single (main) window, and then click on a button. > > > A new (second window appears and is usable. > > > but ... what happens to the main window ? > > > > > > Does it > > > - disappear > > > - remain visible, but inactive > > > - remain active ? > > > Or is the second window simply new content that "replaces" the > > > original main window ? > > > > > > When the second window is active, and you click on the button to "go > > > back to the main window", what should happen to the second window > > > (disappear, remain but inactive, remain active). > > > > > > If the main window remains visible but inactive you can build your > > > second window as a custom dialog (should be examples of this in the > > > samples). > > > If the main window disappears, you could build it (the second window) > > > as a child window, and simply Hide() the main window as needed (similar to > > > what happens in, I think, the Life example, but doing it with the main > > > window rather than Child windows. > > > > > > Unfortunately, I am in the middle of a (painful) switch from PC to > > > Mac, so I don't currently have a working wxPython / PythonCard installation > > > - so I can't check the samples to give more specific pointers. > > > > > > > > > -- > > > > > > Alex Tweedly mailto:al...@tw... <al...@tw...> > > > www.tweedly.net > > > > > > > > > |
From: <kub...@gm...> - 2007-02-06 17:30:56
|
I would like for the main window to disappear when the second window pops up and the second window disappear when I go back to the first. In other words, I want to toggle between them. I'm working on a math game and would like to be able to select an Addition/Subtraction game with a button (and then return to the main window when through) or have a second button on the main window to select an Addition/Subtraction/Multiplication/Division game when the child is ready for more advanced mathematics. Again with a button to return to the main window On 2/1/07, Alex Tweedly <al...@tw...> wrote: > > kub...@gm... wrote: > > I'm new to using python and pythoncard. I've developed a few simple apps > and pythoncard gui's by adapting or modifying existing examples. One simple > example I don't see thought is a way to switch between windows. I would > like to have a main window with a button to go to a second window. Then a > button on the second window to go back to the main window. Does anyone have > an example or an explanation of how I can accomplish this? > > Can you be slightly more specific .... (or alternatively give an example > from a well-known application) > > You start with a single (main) window, and then click on a button. > A new (second window appears and is usable. > but ... what happens to the main window ? > > Does it > - disappear > - remain visible, but inactive > - remain active ? > Or is the second window simply new content that "replaces" the original > main window ? > > When the second window is active, and you click on the button to "go back > to the main window", what should happen to the second window (disappear, > remain but inactive, remain active). > > If the main window remains visible but inactive you can build your second > window as a custom dialog (should be examples of this in the samples). > If the main window disappears, you could build it (the second window) as a > child window, and simply Hide() the main window as needed (similar to what > happens in, I think, the Life example, but doing it with the main window > rather than Child windows. > > Unfortunately, I am in the middle of a (painful) switch from PC to Mac, so > I don't currently have a working wxPython / PythonCard installation - so I > can't check the samples to give more specific pointers. > > > -- > > Alex Tweedly mailto:al...@tw... <al...@tw...> > www.tweedly.net > |
From: Andy T. <an...@ha...> - 2007-02-05 08:20:28
|
Alex Tweedly wrote: > Victor van Reijswoud wrote: >> Hello, >> >> I have just tried to install PythonCard 0.8.2. Followed the >> instructions on http://pythoncard.sourceforge.net/ >> macosx_tiger_installation.html. >> >> installation of Python and wxPython seem to go as described. >> PythonCard, however does not installs in: >> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ >> python2.3/site-packages/PythonCard/ >> >> While it was expected to install in 2.4. >> >> Python seems to work though. >> >> What can I best do? >> > I haven't got quite that far yet (and having been a PC user until > recently, I am still somewhat confused by the complex way things are > stored on Mac), but I suspect the problem may arise from this part of > the instructions .... > > (the context is installing Python2.4, then wxPython and then PythonCard) > >> Installing PythonCard >> >> The PythonCard-0.8.2.tar.gz file you downloaded should automatically >> be decompressed by Stuffit; if the file isn't already decompressed, >> then double-click the PythonCard-0.8.2.tar.gz file. You should now >> have a PythonCard-0.8.2 directory on your desktop. Open the Terminal >> application and do a cd to that directory and then run the setup.py >> script using the 2.3 Python you just installed. The sudo command will >> prompt you for your password. > The second last sentence should, I think, say " ...using the 2.4 Python > you just installed". > > For me, simply typing the "sudo python ..." command that follows would > indeed use the system default 2.3 Python - and hence install it in the > wrong Framework directory. > > You may be able to simply do > > sudo /Library/Frameworks/Python.framework/Versions/2.4/bin/python2.4 > setup.py install > > but note I haven't yet tried it, and could easily be wrong, since I > don't fully understand this complexity. > > There must be a recommended way to get a newly installed version (e.g. > 2.4) to be more easily used > > > > > > > -- > > Alex Tweedly mailto:al...@tw... www.tweedly.net > > > ------------------------------------------------------------------------ A good alternative to the instructions on the web page is to use MacPorts - http://www.macports.org/ Follow their instructions to get the base library installed and then fire up the terminal prompt and type; $ sudo port install python24 py-wxpython That way you can track upstream fixes and releases by typing; $ sudo port upgrade outdated Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |
From: Victor v. R. <vic...@gm...> - 2007-02-02 11:11:47
|
That solution worked perfectly well. Alex, thanks! PythonCard is installed in the site-packages in /Library/Frameworks/ python.framework/Versions/2.4/lib/python2.4. So that is good. Now, when I started the so-called Acid Test I get an error in the new installation: - "The document "minimal.py" could not be opened." - But after a while it opens! When I open a console I see the following: - $ "/usr/bin/pythonw" "/Library/Frameworks/Python.framework/ Versions/2.4/lib/python2.4/site-packages/PythonCard/samples/minimal/ minimal.py" && echo Exit status: $? && exit 1 (while minimal is open - that seems to be correct uh? Does anyone know why I get this error. Have set all the settings as displayed in the installation guide. Thanks again, Victor On 2 Feb 2007, at 01:05, Alex Tweedly wrote: > Victor van Reijswoud wrote: >> Hello, >> >> I have just tried to install PythonCard 0.8.2. Followed the >> instructions on http://pythoncard.sourceforge.net/ >> macosx_tiger_installation.html. >> >> installation of Python and wxPython seem to go as described. >> PythonCard, however does not installs in: >> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ >> python2.3/site-packages/PythonCard/ >> >> While it was expected to install in 2.4. >> >> Python seems to work though. >> >> What can I best do? >> > I haven't got quite that far yet (and having been a PC user until > recently, I am still somewhat confused by the complex way things > are stored on Mac), but I suspect the problem may arise from this > part of the instructions .... > > (the context is installing Python2.4, then wxPython and then > PythonCard) > >> Installing PythonCard >> >> The PythonCard-0.8.2.tar.gz file you downloaded should >> automatically be decompressed by Stuffit; if the file isn't >> already decompressed, then double-click the >> PythonCard-0.8.2.tar.gz file. You should now have a >> PythonCard-0.8.2 directory on your desktop. Open the Terminal >> application and do a cd to that directory and then run the >> setup.py script using the 2.3 Python you just installed. The sudo >> command will prompt you for your password. > The second last sentence should, I think, say " ...using the 2.4 > Python you just installed". > > For me, simply typing the "sudo python ..." command that follows > would indeed use the system default 2.3 Python - and hence install > it in the wrong Framework directory. > > You may be able to simply do > > sudo /Library/Frameworks/Python.framework/Versions/2.4/bin/ > python2.4 setup.py install > > but note I haven't yet tried it, and could easily be wrong, since I > don't fully understand this complexity. > > There must be a recommended way to get a newly installed version > (e.g. 2.4) to be more easily used > > > > > > > -- > Alex Tweedly mailto:al...@tw... www.tweedly.net > > |
From: Alex T. <al...@tw...> - 2007-02-01 23:20:26
|
kub...@gm... wrote: > I'm new to using python and pythoncard. I've developed a few simple > apps and pythoncard gui's by adapting or modifying existing examples. > One simple example I don't see thought is a way to switch between > windows. I would like to have a main window with a button to go to a > second window. Then a button on the second window to go back to the > main window. Does anyone have an example or an explanation of how I > can accomplish this? > Can you be slightly more specific .... (or alternatively give an example from a well-known application) You start with a single (main) window, and then click on a button. A new (second window appears and is usable. but ... what happens to the main window ? Does it - disappear - remain visible, but inactive - remain active ? Or is the second window simply new content that "replaces" the original main window ? When the second window is active, and you click on the button to "go back to the main window", what should happen to the second window (disappear, remain but inactive, remain active). If the main window remains visible but inactive you can build your second window as a custom dialog (should be examples of this in the samples). If the main window disappears, you could build it (the second window) as a child window, and simply Hide() the main window as needed (similar to what happens in, I think, the Life example, but doing it with the main window rather than Child windows. Unfortunately, I am in the middle of a (painful) switch from PC to Mac, so I don't currently have a working wxPython / PythonCard installation - so I can't check the samples to give more specific pointers. -- Alex Tweedly mailto:al...@tw... www.tweedly.net |
From: Alex T. <al...@tw...> - 2007-02-01 23:05:20
|
Victor van Reijswoud wrote: > Hello, > > I have just tried to install PythonCard 0.8.2. Followed the > instructions on http://pythoncard.sourceforge.net/ > macosx_tiger_installation.html. > > installation of Python and wxPython seem to go as described. > PythonCard, however does not installs in: > /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ > python2.3/site-packages/PythonCard/ > > While it was expected to install in 2.4. > > Python seems to work though. > > What can I best do? > I haven't got quite that far yet (and having been a PC user until recently, I am still somewhat confused by the complex way things are stored on Mac), but I suspect the problem may arise from this part of the instructions .... (the context is installing Python2.4, then wxPython and then PythonCard) > Installing PythonCard > > The PythonCard-0.8.2.tar.gz file you downloaded should automatically > be decompressed by Stuffit; if the file isn't already decompressed, > then double-click the PythonCard-0.8.2.tar.gz file. You should now > have a PythonCard-0.8.2 directory on your desktop. Open the Terminal > application and do a cd to that directory and then run the setup.py > script using the 2.3 Python you just installed. The sudo command will > prompt you for your password. The second last sentence should, I think, say " ...using the 2.4 Python you just installed". For me, simply typing the "sudo python ..." command that follows would indeed use the system default 2.3 Python - and hence install it in the wrong Framework directory. You may be able to simply do sudo /Library/Frameworks/Python.framework/Versions/2.4/bin/python2.4 setup.py install but note I haven't yet tried it, and could easily be wrong, since I don't fully understand this complexity. There must be a recommended way to get a newly installed version (e.g. 2.4) to be more easily used -- Alex Tweedly mailto:al...@tw... www.tweedly.net |
From: Victor v. R. <vic...@gm...> - 2007-02-01 14:22:40
|
Hello, I have just tried to install PythonCard 0.8.2. Followed the instructions on http://pythoncard.sourceforge.net/ macosx_tiger_installation.html. installation of Python and wxPython seem to go as described. PythonCard, however does not installs in: /System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/site-packages/PythonCard/ While it was expected to install in 2.4. Python seems to work though. What can I best do? Thx victor |
From: <kub...@gm...> - 2007-01-31 15:06:45
|
I'm new to using python and pythoncard. I've developed a few simple apps and pythoncard gui's by adapting or modifying existing examples. One simple example I don't see thought is a way to switch between windows. I would like to have a main window with a button to go to a second window. Then a button on the second window to go back to the main window. Does anyone have an example or an explanation of how I can accomplish this? Thanks |
From: Alec B. <wry...@gm...> - 2007-01-24 03:56:22
|
I'm sorry to email the list about this, but I'm at wit's end. I get this error, which crashes most of my GUI, and I'm having days of trouble isolating it. Does anyone have any clues on this? wx._core.PyAssertionError, C++ assertion "m_count == -1" failed in . .\..\src\msw\textctrl.cpp(122): wrong initial m_updatesCount value Some things that might help: - my program is multi threaded (4 threads in all) - I'm on Windows - the error only partially crashes the application. It's only effect is in the GUI, but not the whole GUI: the statusbar and menubar still work fine, but the main window no longer repaints. Any tips hugely appreciated. |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2007-01-23 20:48:38
|
On 10/01/2007 18:05, Steffl, Joseph wrote: > There are some differences for the listctrl mixin code between: > C:\Python24\Lib\site-packages\wx-2.6-msw-unicode\wx\lib\mixins\listctrl. > py and > C:\Python24\Lib\site-packages\wx-2.8-msw-unicode\wx\lib\mixins\listctrl. > py > > but the additional functionality described in CheckListCtrlMixin.py for > 2.8 doesn't appear to have made it to the pythoncard multichoicedialog. > I'm wondering if there is a way to either get the old functionality back > or, using the new functionality, is there some change that needs to take > place in PythonCard in order to give the users an equivalent experience > in being able to select all items? Probably, and as Kevin suggested, you might have to roll your own multiple choice dialog. It doesn't appear that anyone else is finding this issue a showstopper, or just as likely not too many people have upgraded wxPython to 2.8, so it's not going to be a priority issue. I would like to get back to this eventually and work out what's going on, as an exercise in learning how PythonCard and wxPython interact, but other things keep getting in the way right now and all of my PythonCard-related stuff has pretty much had to be put on hold. -- XXXXXXXXXXX |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2007-01-23 20:47:51
|
On 16/01/2007 08:59, XXXXXXXXXXX wrote: > On 10/01/2007 17:54, Steffl, Joseph wrote: >> With WxPython 2.6 and Pythoncard could select the first element, select >> the last element while holding the Shift and selecting the last >> element. This would cause all elements to be selected. >> >> With WxPython 2.8 and Pythoncard I don't seem to have a way of selecting >> all the elements if I want to. >> > > I still can't get that shortcut to work in 2.5.2.8 (or 2.8). I have > another install (on XP) that I'll try out - I can't remember if it's 2.6 > or 2.5.x again. > :-( Unfortunately it's 2.5.2.8 again and I'm not in a position to upgrade anything at the moment (customer visit....not a good time to be upgrading :-)) so I'm still seeing Shift+click behaving the same as a normal click. Anybody else running wxPython 2.6 and able to select blocks of rows? -- XXXXXXXXXXX |
From: Alec B. <wry...@gm...> - 2007-01-21 04:13:58
|
I'm using Windows (don't hate me), and trying to make the directory browser dialog (directoryDiag) look more like the file browser dialog (openFileDialog). This is the file browser dialog, which is pretty large and has shortcuts to My Documents, Desktop, etc. on the left frame: result = dialog.openFileDialog(wildcard=wildcard) The problem with the file browser dialog is it won't return any data unless you select a file. This is the directory browser dialog, which is extremely small, non-resizable and generally hard to work with: result = dialog.directoryDialog(self, 'Choose a directory', 'a') Does anyone know of a way to expand the directoryDialog to look more like the openFileDialog, or to get the openFileDialog to return a directory but without clicking on any file? Thanks for any help. |
From: bedda m. <bed...@ho...> - 2007-01-20 16:03:23
|
$ python minimal.py python: can't open file 'minimal.py' http://pythoncard.sourceforge.net/macosx_tiger_installation.html here s where i m tryng to do my best to start using python and here is what they say in the site... Open the folder called "minimal" in /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/PythonCard/samples. Find the icon labeled minimal.py and double-click it. In a few moments (after an operating system console window has appeared), a small window like the one shown in Figure 2 will appear. This indicates that your installation was successful and everything is working. Close the minimal application in the usual way and proceed with the Walk-Through. but.... $ ls /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/ README wx.pth wxversion.py There s non pythoncard where it is supposed to be... should i uninstall everything and start again? or there s something easier to do? thanks anyway for your help antonio >From: Andy Todd <an...@ha...> >To: bedda matrix <bed...@ho...> >CC: PythonCard <pyt...@li...> >Subject: Re: [Pythoncard-users] installing pythoncard >Date: Wed, 17 Jan 2007 18:48:59 +1100 > >bedda matrix wrote: >>hi to everybody and forgive my english... i m writing from italy... >>well i ve tried to install python and python card and all the packages on >>a mac osx, following step by step the instructions on the site and >>everything seems ok. but when i go for the acid test i can t open the >>minimal.py... if someone can help me please... >> >>thanks a lot >> >>antonio >> > >What happens when you try and 'open' minimal.py, and how are you trying to >open it? > >On the Mac you need to use the 'pythonw' executable, this could be your >problem. In a terminal window what happens when you type; > >$ pythonw minimal.py > >Regards, >Andy >-- >-------------------------------------------------------------------------------- >From the desk of Andrew J Todd esq - http://www.halfcooked.com/ _________________________________________________________________ Capodanno a New York? http://search.live.com/images/results.aspx?q=New%20York&FORM=BIRE |
From: Alec B. <wry...@gm...> - 2007-01-18 13:01:59
|
Nevermind, it works perfectly. I had the call to teh child window wrong. It should have been: self.viewerWindow.ShowFullScreen(True) On 1/18/07, Alec Bennett <wry...@gm...> wrote: > I'm trying to open a child window as fullscreen on monitor 2. I'm able > to launch a child window on monitor 2, and I'm able to go fullscreen > on monitor 1, but not fullscreen on monitor 2. > > Here's the code I'm using to launch a child window on monitor 2: > > import minimal > self.viewerWindow = model.childWindow(self, minimal.Minimal) > > # 0 is monitor one, 1 is monitor two > display = wx.Display(1) > geometry = display.GetGeometry() > > w, h = geometry.GetSize() > self.viewerWindow.size = (w, h) > > x = geometry[0] > y = geometry[1] > self.viewerWindow.position = (x, y) > > > Adding this line makes it go fullscreen, but only on monitor 1: > > self.ShowFullScreen(True) > > Does anyone have any tricks to make it go fullscreen on monitor 2? > |
From: Alec B. <wry...@gm...> - 2007-01-18 12:56:57
|
I'm trying to open a child window as fullscreen on monitor 2. I'm able to launch a child window on monitor 2, and I'm able to go fullscreen on monitor 1, but not fullscreen on monitor 2. Here's the code I'm using to launch a child window on monitor 2: import minimal self.viewerWindow = model.childWindow(self, minimal.Minimal) # 0 is monitor one, 1 is monitor two display = wx.Display(1) geometry = display.GetGeometry() w, h = geometry.GetSize() self.viewerWindow.size = (w, h) x = geometry[0] y = geometry[1] self.viewerWindow.position = (x, y) Adding this line makes it go fullscreen, but only on monitor 1: self.ShowFullScreen(True) Does anyone have any tricks to make it go fullscreen on monitor 2? |
From: Andy T. <an...@ha...> - 2007-01-17 07:59:17
|
bedda matrix wrote: > hi to everybody and forgive my english... i m writing from italy... > well i ve tried to install python and python card and all the packages on a > mac osx, following step by step the instructions on the site and everything > seems ok. but when i go for the acid test i can t open the minimal.py... if > someone can help me please... > > thanks a lot > > antonio > What happens when you try and 'open' minimal.py, and how are you trying to open it? On the Mac you need to use the 'pythonw' executable, this could be your problem. In a terminal window what happens when you type; $ pythonw minimal.py Regards, Andy -- -------------------------------------------------------------------------------- From the desk of Andrew J Todd esq - http://www.halfcooked.com/ |
From: Alex T. <al...@tw...> - 2007-01-16 22:37:14
|
Lee Connell wrote: > > I am using PythonCard 0.8 and wxPython 2.8. > > > > Whenever I change the label value of a widget/window it ends up > automatically changing the name value of that same widget/window. I > can’t seem to get around it, anyone else having this issue? > > That is the intended behaviour - that (by default) any change in either one of label or name causes equivalent change in the other. To disassociate them from each other, check the box (which should be, but isn't always) labelled "Vary" to the left of the Name field (i.e. just to the right of the top of the text field listing component names / types. -- Alex Tweedly mailto:al...@tw... www.tweedly.net |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2007-01-16 08:59:14
|
On 10/01/2007 17:54, Steffl, Joseph wrote: > With WxPython 2.6 and Pythoncard could select the first element, select > the last element while holding the Shift and selecting the last > element. This would cause all elements to be selected. > > With WxPython 2.8 and Pythoncard I don't seem to have a way of selecting > all the elements if I want to. > > -----Original Message----- > From: XXXXXXXXXXX [mailto:XXXXXXXXXXXXXXXXXXXXXXXX] > Sent: Wednesday, January 10, 2007 11:22 AM > To: pyt...@li... > Cc: Steffl, Joseph > Subject: Re: [Pythoncard-users] Change in pythonCard > multipleChoiceDialog between WxPython unicode versions 2.6 and 2.8 on XP > > What's the keyboard shortcut for selecting all the options? I just tried > things like Ctrl+a in the multipleChoiceDialog sample on my old machine > (PythonCard 0.8.2 + wxPython 2.5.2.8 + Windows NT 4) and I couldn't get > anything to work there either. > > I can't believe "select all" shortcuts came and went with version > 2.6.x... I still can't get that shortcut to work in 2.5.2.8 (or 2.8). I have another install (on XP) that I'll try out - I can't remember if it's 2.6 or 2.5.x again. -- XXXXXXXXXXX |
From: Lee C. <lee...@gm...> - 2007-01-15 21:59:21
|
I am using PythonCard 0.8 and wxPython 2.8. =20 Whenever I change the label value of a widget/window it ends up automatically changing the name value of that same widget/window. I = can=92t seem to get around it, anyone else having this issue? --=20 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.16.12/628 - Release Date: = 1/15/2007 11:04 AM =20 |
From: Alec B. <wry...@gm...> - 2007-01-15 21:56:53
|
I'm trying to launch a long-running process from pythoncard, and am having trouble because it freezes up the GUI. I gather that the solution is to spawn a thread, but I would need to pass that thread quite a bit of information. Is there some standard way of doing this? Maybe there's some way of nesting a function in that subthread? Forgive what is probably a pretty fundamental question, but I'd rather get some advice on this than come up with some needless kludge. |
From: bedda m. <bed...@ho...> - 2007-01-15 11:43:08
|
hi to everybody and forgive my english... i m writing from italy... well i ve tried to install python and python card and all the packages on a mac osx, following step by step the instructions on the site and everything seems ok. but when i go for the acid test i can t open the minimal.py... if someone can help me please... thanks a lot antonio _________________________________________________________________ Fai gli auguri di Natale con l'animoticon di Messenger! Scaricalo ora! http://natale2006.it.msn.com/messenger/messenger.asp |
From: Aaron H. <ap...@in...> - 2007-01-11 17:04:14
|
On Thursday 11 January 2007 11:29, Andy Ross wrote: > Hello all, > > is there a way to make the text entry dialog have multiple entries? From > what i can tell wx.TE_MULTILINE makes a larger entry box but not a way for > multiple entry. > It works for me. I have a line of code like this: result =3D dialog.textEntryDialog(self, "Enter or update the notes:", "Note= s=20 Editor", "", wx.TE_MULTILINE) It allows for multiple lines of notes entered. That doesn't mean you can=20 enter multiple lines and get it to return an array of entries like=20 ["Line1","Line2","Line3"]. Of course, you could .split("\n") the results=20 yourself. =2DAaron |
From: Phil E. <ph...@li...> - 2007-01-11 16:52:59
|
On Thursday 11 January 2007 16:29, Andy Ross wrote: > > is there a way to make the text entry dialog have multiple entries? From > what i can tell wx.TE_MULTILINE makes a larger entry box but not a way for > multiple entry. > I think you'll have to roll your own custom dialog for this... -- Regards Phil Edwards Brighton, UK |
From: Andy R. <dar...@gm...> - 2007-01-11 16:29:49
|
Hello all, is there a way to make the text entry dialog have multiple entries? From what i can tell wx.TE_MULTILINE makes a larger entry box but not a way for multiple entry. Andy Ross |