On Tue, 23 Aug 2005 19:25:47 +0200
Danny Milosavljevic <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Am Dienstag, den 23.08.2005, 18:10 +0200 schrieb A.J. Venter:
> > > > 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 ?
>
> yes, it is.
> yes, it will work if you include/load gtk2.
>
> simple test:
>
> uses gtk2;
>
> begin
> gtk_rc_parse('/usr/share/olad4/theme/gtkrc');
> ....
> end.
FYI:
The gtk interface loads ChangeFileExt(ParamStr(0),'.gtkrc') on start via
gtk_rc_parse.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives