From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id EBF8C7F30A for ; Thu, 28 Feb 2013 01:39:48 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of ygrekheretix@gmail.com) identity=pra; client-ip=209.85.160.44; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ygrekheretix@gmail.com"; x-sender="ygrekheretix@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of ygrekheretix@gmail.com designates 209.85.160.44 as permitted sender) identity=mailfrom; client-ip=209.85.160.44; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ygrekheretix@gmail.com"; x-sender="ygrekheretix@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-pb0-f44.google.com) identity=helo; client-ip=209.85.160.44; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="ygrekheretix@gmail.com"; x-sender="postmaster@mail-pb0-f44.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AosBAE+mLlHRVaAsk2dsb2JhbAA+B4YIvCwJfBYOAQEBAQkJCwkUBCOCHwEBBAE6BgEbHgMBCwYFCykSIxEBBQEcGRaHagEDCQUBoy2MMoJ7hHAKGScNWYh1AQUMjTYYH4EiFoMqA4hohUqIDgGBHo1qP4Q4gVwj X-IPAS-Result: AosBAE+mLlHRVaAsk2dsb2JhbAA+B4YIvCwJfBYOAQEBAQkJCwkUBCOCHwEBBAE6BgEbHgMBCwYFCykSIxEBBQEcGRaHagEDCQUBoy2MMoJ7hHAKGScNWYh1AQUMjTYYH4EiFoMqA4hohUqIDgGBHo1qP4Q4gVwj X-IronPort-AV: E=Sophos;i="4.84,752,1355094000"; d="scan'208";a="3692241" Received: from mail-pb0-f44.google.com ([209.85.160.44]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 28 Feb 2013 01:39:47 +0100 Received: by mail-pb0-f44.google.com with SMTP id wz12so709980pbc.31 for ; Wed, 27 Feb 2013 16:39:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=LqZVFvAKi/e7PeAMfZnacmyMQz6ESkY09QatQbzdCWk=; b=Cx685amnVuvtd1M1xzriASDcmtrNQaoVg1U2Gp4JMSpA1UhU8hgz7rz6v5jLmWCb6E DyLeVboeoa1frryC3NTYwXWzVSw4e0BMCHFaBYmzSc7fbSv1GEgGOssZJaUfTs/TkmQd Vtc9HyaF7I0s2pUwh9Sv29OOhkr1cXpbLp3S6p1euJTmPkiDDE6QT1iN4FKw5e5txlM7 gUFtLgtKyDrtalh4VOkCwH3BX+FO/o9b3IhgfSVgBI49oN18lnoLlaP0IcOch5BtX08y 0Kdk70hR7tsrDYPMc37UPFF6tJDwQjeUzkqOwfUvz+pAsMYgpMQGPuLVi8RX3WvH6F0a bA5g== X-Received: by 10.66.189.228 with SMTP id gl4mr10521999pac.68.1362011986127; Wed, 27 Feb 2013 16:39:46 -0800 (PST) Received: from kiwi.local.tld (cm32.eta100.maxonline.com.sg. [116.88.100.32]) by mx.google.com with ESMTPS id ab1sm6248781pbd.37.2013.02.27.16.39.44 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Feb 2013 16:39:45 -0800 (PST) Date: Thu, 28 Feb 2013 08:39:42 +0800 From: ygrek To: caml-list@inria.fr Message-Id: <20130228083942.5cefef3eeb88c604cd1dfcc8@gmail.com> In-Reply-To: <58FDBA43E51F42D083872E99902EA8F3@Ganymede> References: <58FDBA43E51F42D083872E99902EA8F3@Ganymede> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] interrupt OCaml when using the Graphics library On Wed, 27 Feb 2013 19:35:52 +0100 Alain Coste wrote: > I am using the Graphics library, and I don't know how to wake-up OCaml when > it is suspended waiting for an event in the graphic window. Graphics module is suitable for education or very simple drawings when you need to quickly dump something on the screen. If you want to do anything more fancy, especially interacting with a user, you are better off with some OCaml GL library. -- ygrek http://ygrek.org.ua