r = {Background { Menus { components { (etc. etc. ) }}}
#In other words a typical resource file.
x = model.ChildWindow(self, foo.Main, rsrc = r)
is the way to do it inline.
On Tue, 29 Mar 2005 19:50:03 -0500, Bernie Hogan
<ber...@ut...> wrote:
> Hi there,
>
> Sorry if this is a n00b question. I'm putting together a data entry
> application that has a number of states, each with its own particular
> window. I've designed the windows, and constructed the data structure that
> works across windows, but I can't link the resource files together.
>
> Is it the case that you can only run PythonCard resource files+scripts as
> standalone applications? Is there a simple workaround either in the resource
> file or in the python script.
>
> Take Care,
> BERNiE
>
> Bernie Hogan
> Ph.D. Student
> Department of Sociology
> [NetLab, Knowledge Media Design Institute]
> University of Toronto
> --
> Reply to Ber...@Ut...
>
> --
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Pythoncard-users mailing list
> Pyt...@li...
> https://lists.sourceforge.net/lists/listinfo/pythoncard-users
>
--
'There is only one basic human right, and that is to do as you damn well please.
And with it comes the only basic human duty, to take the consequences.
|