From: Alex T. <al...@tw...> - 2004-09-12 17:37:28
|
At 10:08 12/09/2004 -0700, Kevin Altis wrote: >On Sep 12, 2004, at 9:52 AM, Arthur Elsenaar wrote: > >> >>ah, good it's in wxPython. >> >>>Note this is an initialization-time only setting, can't be changed once >>>the list exists. >> >>does this mean one cannot do this in a pythoncard script, only in the >>framework because of the initialization order? It's passed in to the init function in wxPython; so the limitations apply equally to wxPython direct as to PythonCard. The limitation is that you can't change the "heading-ness" of the list - whatever it is when the list is created, so it remains. So if Kevin changes Pythoncard to allow this to be specified, you'll need to specify it the way you want in the resource editor - it won't be possible to leave headings off in the resource editor, and later add them from within the script, or vice versa. (Of course, you'll be able to leave them *blank* in the resource editor, and have the script supply the values, but not to change their existence.) -- Alex. |