Resource Files (Was: Re: More points for the technical discussion)

Wolfgang Thaller <[email protected]>
Newsgroups gmane.comp.lang.haskell.gui
Message-ID <[email protected]>
On Sunday, February 16, 2003, at 09:58 PM, Glynn Clements wrote:

> User-visible text doesn't belong in the source code. On Windows, the
> label text normally lives in the resource (.rc) file; with Xt-based
> toolkits (Athena, Motif), it belongs in the app-defaults file.
>
> Generally, you only set widget properties programmatically if you have
> to (i.e. because the values are determined dynamically).

Agreed. However, the general consensus (correct me if I'm wrong) seems
to be that we shouldn't use platform-specific resource files.
When we have an API for programmatical creation of the UI, we can
implement a library for  platform-independent resource files on top of 
that.

Cheers,

Wolfgang
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.