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
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
1
|
2
|
3
|
4
|
5
|
6
|
7
(1) |
8
|
9
(1) |
10
(1) |
11
(2) |
12
(2) |
13
|
14
|
15
|
16
(2) |
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
|
william Gunnells <gunnells <at> gmail.com> writes: > > oh and this does not work either: self.components.List1.items = l > For me self.components.items = ['a', 'b', 'c'] worked fine. For integers i would suggest self.components.items = [str(i) for i in a] with a = [1,2,3] # or some other in array
Hi, following problem: I have a background calling a custom dialog via *automate_gui.automateDlg(self, self.script)* *#script = just some text * where automateDlg is the function creating the dialog: *from PythonCard import model class AutomateDlg(model.CustomDialog): def __init__(self, parent): * * model.CustomDialog.__init__(self, parent) * * * * def on_initialize(self, event):* * print 'init' * * def on_save_mouseClick(self, event):* * print 'save'* * * * def on_load_mouseClick(self, event):* * print 'load' * * def on_close(self, event):* * print 'close' * * def on_mouseUp(self, event):* * print 'up' * * def on_script_textUpdate(self, update):* * print 'script'* * def automateDlg(parent, init): dlg = AutomateDlg(parent) dlg.components.script.text = init result = dlg.showModal() result.script = None if(result.accepted): result.script = dlg.components.script.text dlg.destroy() return result * * *the dialog has been created with PythonCard LayoutEditor: *{'type':'CustomDialog',* * 'name':'AutomateDlg',* * 'title':'Automate',* * 'position':(240, 129),* * 'size':(410, 400),* * 'components': [* * * *{'type':'Button',* * 'name':'load',* * 'position':(85, 346),* * 'label':'Load',* * },* * * *{'type':'Button',* * 'name':'save',* * 'position':(5, 346),* * 'label':'Save',* * },* * * *{'type':'TextArea',* * 'name':'script',* * 'position':(5, 3),* * 'size':(391, 338),* * },* * * *{'type':'Button',* * 'id':5100,* * 'name':'ok',* * 'position':(321, 346),* * 'default':1,* * 'label':'OK',* * },* * * *{'type':'Button',* * 'id':5101,* * 'name':'cancel',* * 'position':(242, 346),* * 'label':'Cancel',* * },* * * *] # end components* *} # end CustomDialog* the problem ist, that NONE ofe the events is beeing triggered. I need the 2 extra buttons (save and load) to handle file load/save routines, but none triggers. What did I do wrong? (please ignore ident errors due to copy/paste issues) Thnks and best regards Thomas Liebeskind
def on_initialize(self, event): l=['1','2','3'] self.components.List1.clear() for i in l: print i #self.components.List1.clear() self.components.List1.append(i) I figured it out: if its just going to console: l=[1,2,3] works fine but to append to the list component it: l=['1','2','3'] But thanks for the quick response anyways. Thank you William Gunnells * 918-830-7300 * cell 918-615-2397 * gun...@gm... * co...@qi... On Thu, Mar 11, 2010 at 3:10 PM, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX wrote: > > > On 10/3/10 23:24, william Gunnells wrote: >> >> I know I'm butchering thel list component. Could someone provide an exmple >> as you can see below I can print the list but not add it to List1 >> =name type=List >> I though I understood: but evidently not. >> >> def on_initialize(self, event): >> l=[1,2,3] >> for i in l: >> print i >> self.components.List1.InsertItem(i) >> self.update() >> #self.components.List1.stringSelection(i) >> > > You should be able to use append(i) instead of InsertItem(i) to add items to > the list control. > > -- > XXXXXXXXXXX > >
I tried with append and got the following error: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 13535, in <lambda> lambda event: event.callable(*event.args, **event.kw) ) File "horsewx.py", line 16, in on_initialize self.components.List1.append(i) File "/usr/lib/pymodules/python2.5/PythonCard/components/list.py", line 100, in append self.Append(aString) File "/usr/lib/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 11156, in Append return _core_.ItemContainer_Append(*args, **kwargs) TypeError: String or Unicode type required ************************************************************************* oh and this does not work either: self.components.List1.items = l Thank you William Gunnells 450 W. 7th Street Suite # 303 Tulsa, OK 74119 * 918-830-7300 * cell 918-615-2397 * gun...@gm... * co...@qi...
Received: from sfi-mx-1.v28.ch3.sourceforge.com ([172.29.28.121] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.69) (envelope-from <deb...@ho...>) id 1Npkf9-0006Qb-GK for pyt...@li...; 2010年3月11日 15:51:03 +0000 Received-SPF: pass (sfi-mx-1.v28.ch3.sourceforge.com: domain of hotmail.com designates 65.55.90.141 as permitted sender) client-ip=65.55.90.141; envelope-from=deb...@ho...; helo=snt0-omc3-s2.snt0.hotmail.com; Received: from snt0-omc3-s2.snt0.hotmail.com ([65.55.90.141]) by sfi-mx-1.v28.ch3.sourceforge.com with esmtp (Exim 4.69) id 1Npkf8-0004iz-CB for pyt...@li...; 2010年3月11日 15:51:03 +0000 Received: from SNT114-W65 ([65.55.90.135]) by snt0-omc3-s2.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); 2010年3月11日 07:50:56 -0800 Message-ID: <SNT...@ph...l> Content-Type: multipart/alternative; boundary="_5fe43b91-a27f-4276-b5fa-4e5bba119328_" X-Originating-IP: [200.124.230.68] From: Brian Debuire <deb...@ho...> To: python users <pyt...@li...> Date: 2010年3月11日 15:50:56 +0000 Importance: Normal In-Reply-To: <4B9...@su...> References: <13f...@ma...>, <4B9...@su...> MIME-Version: 1.0 X-OriginalArrivalTime: 11 Mar 2010 15:50:56.0886 (UTC) FILETIME=[A37CA160:01CAC132] X-Sender-Verify: failed, postmaster X-Spam-Score: -0.0 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.5 VA_SENDER_VERIFY_POSTMASTER Unable to Verify pos...@do...d -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message X-Headers-End: 1Npkf8-0004iz-CB Subject: Re: [Pythoncard-users] list box X-BeenThere: pyt...@li... X-Mailman-Version: 2.1.9 Precedence: list List-Id: <pythoncard-users.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/pythoncard-users>, <mailto:pyt...@li...?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=pythoncard-users> List-Post: <mailto:pyt...@li...> List-Help: <mailto:pyt...@li...?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/pythoncard-users>, <mailto:pyt...@li...?subject=subscribe> X-List-Received-Date: 2010年3月11日 15:51:03 -0000
On 10/3/10 23:24, william Gunnells wrote: > I know I'm butchering thel list component. Could someone provide an exmple > as you can see below I can print the list but not add it to List1 > =name type=List > I though I understood: but evidently not. > > def on_initialize(self, event): > l=[1,2,3] > for i in l: > print i > self.components.List1.InsertItem(i) > self.update() > #self.components.List1.stringSelection(i) > You should be able to use append(i) instead of InsertItem(i) to add items to the list control. -- XXXXXXXXXXX
I know I'm butchering thel list component. Could someone provide an exmple as you can see below I can print the list but not add it to List1 =name type=List I though I understood: but evidently not. def on_initialize(self, event): l=[1,2,3] for i in l: print i self.components.List1.InsertItem(i) self.update() #self.components.List1.stringSelection(i) Thank you William Gunnells * gun...@gm... * co...@qi...
I'm launching a child window, and I'd like it to stay visible (unminimized) when the parent is minimized. Is there some clever window style that can accomplish this? Or some other clever way? I'm launching my child window like this. Note that I already have the ability to specify a window style. # launch it self.childWindow = model.childWindow(self, viewer.Minimal) # the child window object, abbreviated class Minimal(model.Background): .....def __init__(self, aParent, aBgRsrc): ..........aBgRsrc.style = ['wx.DEFAULT_FRAME_STYLE'] ..........model.Background.__init__(self, aParent, aBgRsrc)
Back many years ago, there were some discussions about integrating Matplotlib with Pythoncard but no actions were ever taken (that I know of). In looking at the wxmpl package, it just seem like it should be quite doable. wxmpl works by being a subclass of wx.Frame, and the main program declares itself as a sub--class of wx.App. Has anybody looked into this? Regards, -- John Henry