On Wed, 7 Mar 2007 18:04:12 +0100
Sebastian Kraft <[EMAIL PROTECTED]> wrote:
> Am Mittwoch, 7. März 2007 16:50:15 schrieb Marc Santhoff:
> > Am Mittwoch, den 07.03.2007, 15:52 +0100 schrieb Sebastian Kraft:
> > > Am Mittwoch, 7. März 2007 13:45:20 schrieb Marc Santhoff:
> > > > In your application you've got to:
> > > >
> > > > <snip>
> > > > gtk_init (@argc, @argv);
> > > > gtk_rc_parse( <your_preferred_rc_file> )
> > > > ... other inits ..
> > > > gtk_main ();
> > > > </snip>
> > >
> > > Can this be done with lazarus? What unit do I need?
> > > Does this mean I can create a own gtkrc file and ship it with my
> > > application?
> >
> > Since Lazarus is an application it can.
> >
>
> I more or less meant if it is still implemented :)
> But it seems no...
Option a)
call the rc file yourprogram.gtkrc and put it where the executable is
Option b)
Use unit GtkInt and call
GTKWidgetSet.SetRCFilename('your_preferred_rc_file');
Best done before Application.Initialize in .lpr file with {$IFDEF
LCLGtk}.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives