Some questions regarding cross platform development

"Chris Nicola" <[email protected]>
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
Hello everyone, I am new to Python, PythonCard and this mailing list
so bear with me as I a few questions that will probably seem somewhat
trivial.

I am currently developing an interface that I intend to use in both
Linux and Windows and I am noticing a few 'quirks'.  I did the
original prototype for the interface in Windows and then loaded it up
in the resourceEditor in Linux to take a look at it.  A number of the
components did not show up at all, several errors had occurred with
regards to the default background color settings that the windows
resourceEditor had added to components like multi-column lists.

The resourceEditor in Linux handled this by not loading these
components them but it also removed them entirely (i.e., if I saved
the work without doing anything other than opening the file it would
remove the offending components).  I ended up fixing this by removing
all of the lines which set the background color and, just in case the
font lines as well (as Linux systems generally don't have Tahoma by
default anyways).  I am uncertain as to why, in Linux, PythonCard does
not seem to handle the background color instruction though so perhaps
someone can explain why this might be happening.

The second thing was that once I had that fixed that I noticed that
the position of many items was off from the way it had been set up in
windows.  I was actually expecting this since the size of GTK controls
are different enough from windows controls to cause a problem.  Is
there a commonly accepted way to handle this?

That's it for now, I am sure these are beginner questions but any help
would be greatly appreciated.

Thanks,
Chris

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.