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
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
21
(1) |
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
|
|
|
|
Haven't done this for a while. It's basically something like this (untested): import wx import new from PythonCard import log from PythonCard import model, dialog """ This is how to invoke: Control_factory(self, attribute={"type":"Button", "name":"Button1", "label":"Button1","position":(5,35)}, eventHandlers={"mouseClick":on_Button_mouseClick}) def on_Button_mouseClick(self, event): return """ class Control_factory(): def addHandler(self, aMethod): # Add the Handler to our Handler list. try: _handlers=self._handlers except: self._handlers={} if aMethod.name not in self._handlers: log.debug("addHandler: " + aMethod.name) #self._handlers[aMethod.name] = event.Handler(aMethod) self._handlers[aMethod.name] = aMethod def delHandler(self, aMethod): # Add the Handler to our Handler list. if aMethod.name in self._handlers: log.debug("delHandler: " + aMethod.name) del self._handlers[aMethod.name] del aMethod def __init__(self, parent, attribute, eventHandlers): name=attribute['name'] self.methods=[] for eventName in eventHandlers.keys(): eventFct=eventHandlers[eventName] def function(parent, background, event): if eventFct==None: return None return eventFct(event) function.name = "on_%s_%s" % (name,eventName) method = new.instancemethod(function, parent, parent.__class__) setattr(parent, function.name, method) self.addHandler(method) self.methods.append(method) parent.components[name] = attribute return def getMethods(self): return self.methods Control_factory(self, attribute={"type":"ImageButton", "name":"stop", "position":(10,10), 'border':'transparent', 'command':u'stop','file':'', 'visible':False, }, eventHandlers={"mouseClick":on_stop_mouseClick}) On 9/27/2012 11:35 PM, Alec Bennett wrote: Hello very quiet Pythoncard email list! > > >I'm trying to add an ImageButton dynamically to a resource file, and can't >figure out how to do so. > > >Suppose the ImageButton looked like this: > > >{'type':'ImageButton', > 'name':'stop', > 'position':(10, 10), > 'border':'transparent', > 'command':u'stop', > 'file':'', > 'visible':False, > }, > > >And I refer to the components in this resource file like this: > > >self.childWindow.components.whateverButton.visible = False (etc.) > > >Any idea how I would add this ImageButton component, short of writing to the >actual resource file? > > >Thanks for any help. > > > > > > > > > > > > >------------------------------------------------------------------------------ >Got visibility? Most devs has no idea what their production app looks like. Find >out how fast your code is with AppDynamics Lite. >http://ad.doubleclick.net/clk;262219671;13503038;y? >http://info.appdynamics.com/FreeJavaPerformanceDownload.html > > >_______________________________________________ Pythoncard-users mailing list >Pyt...@li... >https://lists.sourceforge.net/lists/listinfo/pythoncard-users > -- John Henry
http://www.parqueafacil.com/vrcpvplc/fsornvksg/pqmok/asm/rsm Tony Clarke 3/7/2013 2:30:10 AM