Re: Grid component in PythonCard

Andy Todd <[email protected]> Thu, 23 Oct 2008 07:08:43 +1100
Newsgroups gmane.comp.python.pythoncard
Organization Dexter Pinion Appreciation Society
Message-ID <[email protected]>
Andrew Spagnoletti wrote:
> Hi,
> 
> The Grid component is mentioned in the PythonCard documentation for 
> release 0.8.2 but is not presented as an option in the PythonCard Layout 
> module.
> 
> Is there some way to include it?
> 
> 

You have to add it to the resource file by hand. For an example take a 
look at the simpleGrid sample shipped with PythonCard, where it is 
included in the resource file as;

"""
    { 'type':'Grid',
       'name':'mygrid',
       'position':(0, 0),
       'size':(400, 300),

"""

Regards,
Andy
-- 
 From the desk of Andrew J Todd esq - http://www.halfcooked.com/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/