> > Right I'm gonna quit the flamewar (which is OT) and talk about this
> > (which isn't). Actually I've done quite a bit to reduce the problem this
> > is.
>
> if you want a per-application theme, call gtk_rc_parse('filenamerc'); at
> the beginning.

Just let me see if I understand you right, I can create/find gtk theme file 
that fitst my application best, have the package install it 
into /usr/share/olad4 and have olad4 load it on startup with that call ?

I'm guessing this is a native GTK call, will it work with lazarus ?

Where would I put the call ? In the .lpr ? 

That brings up an interesting thought though, I know windows also has a 
similiar mechanism (don't remember what it's called but it's basically 
creating a file in /windows with the same name as your app's main executable 
but some additional extension add).
So wouldn't one way for lazarus to obey programmer fonts etc. be to generate 
such a file for the widget set being compiled to ? If it could be placed in 
an LRS all the better. Of course this won't let you do a different font on 
each button, but at least you could set a global font for buttons. 
The current widget.font properties appear to me to exist purely for delphi 
compatibility and not do anything anyway, but adding a single style property 
to the mainform shouldn't be undoable, and could even be done platform 
indepdant I think with the right exporters.

Just asking :)

A.J.
-- 
A.J. Venter
Chief Software Architect
OpenLab International
http://www.getopenlab.com
http://www.silentcoder.co.za

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to