🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #232

Styles: pb

#232
From: Yves Arrouye
Date: Mon, 06 Apr 1992 06:50
25 lines
1328 bytes
I would like to provide language-independence in my application. My first
try was to define attributes like *french.filemenuname and
*english.filemenuname, but this doesn't work. Another try was to replace the
'.' by '*', and (then switching to the 3.0 world), doing

    unidraw->GetWorld()->style()->find_style("french")->find_attribute(...)

but this didn't work too. Now, I added "french" and "english" prefixes to the
Style returned by World::style(), but the attribute is not found...

How can I do that ? Another question is : if I want to switch between
languagesehen my application is running, what must I do ?

Thanks for any help.

P.S.: I'm looking for an InterViews 2.6 reference manual, too, because using
Unidraw involves sticking to the 2.6 world as much as possible...



-- 

----------
Yves Arrouye                                              arrouye@imag.imag.fr  
Ensimag                                                   
Technical Details
Message-ID: <9204060650.AA29350@imag.imag.fr>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!IMAG.FR!arrouye

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!IMAG.FR!arrouye
From: arrouye@IMAG.FR (Yves Arrouye)
Subject: Styles: pb
Message-ID: <9204060650.AA29350@imag.imag.fr>
Sender: news@shelby.stanford.edu (USENET News System)
Organization: IMAG Institute, University of Grenoble, France
Date: Mon, 6 Apr 1992 06:50:49 GMT
Lines: 25