Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Florian Hars <florian@hars.de>
To: Markus Mottl <markus@oefai.at>
Cc: Johann Spies <jhspies@adept.co.za>, caml-list@inria.fr
Subject: Re: [Caml-list] Ocamlmakefile and Lablgtk
Date: Tue, 13 Nov 2001 09:10:34 +0100	[thread overview]
Message-ID: <20011113091034.B22883@hars> (raw)
In-Reply-To: <20011113004047.A9036@fichte.ai.univie.ac.at>; from markus@oefai.at on Tue, Nov 13, 2001 at 12:40:47AM +0100

On Tue, Nov 13, 2001 at 12:40:47AM +0100, Markus Mottl wrote:
> It would certainly be better to have a true library file in the
> distribution rather than the "naked" compiled module file.

lablgtk comes as a library file, the problem is that every program that
uses the library must properly initialize it before it can use it.
gtkInit does just this:

(* $Id: gtkInit.ml,v 1.2 2000/03/02 08:13:15 garrigue Exp $ *)

(* Does the initialization for toplevels *)

let locale = GtkMain.Main.init ()

And that's all it does. You could do away with this file by calling
GtkMain.Main,init () in your own application.

Yours, Florian.
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


  reply	other threads:[~2001-11-13  8:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-12 13:36 Johann Spies
2001-11-12 17:59 ` Markus Mottl
2001-11-12 22:17   ` Johann Spies
2001-11-12 23:40     ` Markus Mottl
2001-11-13  8:10       ` Florian Hars [this message]
2001-11-13  8:54         ` Markus Mottl
2001-11-14 13:57           ` Jacques Garrigue
2001-11-14 14:10             ` Markus Mottl
2001-11-13 12:37         ` Johann Spies

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011113091034.B22883@hars \
    --to=florian@hars.de \
    --cc=caml-list@inria.fr \
    --cc=jhspies@adept.co.za \
    --cc=markus@oefai.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox