caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>
To: briand@aracnet.com
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] lablgtk questions
Date: Tue, 23 Mar 2004 13:53:37 +0900	[thread overview]
Message-ID: <20040323135337G.garrigue@kurims.kyoto-u.ac.jp> (raw)
In-Reply-To: <16479.46764.331135.624194@soggy.deldotd.com>

From: briand@aracnet.com

> Is there a lablgtk list ?  I found a link to one, sent e-mail to what
> I assume was the subscription adress and did not hear anything back.

Please send again.
Your mail may have been mistaken for spam, but I cannot find it.

> If I'm in the right place I have a couple of what are probably easy
> questions :
> 
> The following
> 
>   let w = GWindow.window ~title:title () in
>       ...
>       area#event#add [`BUTTON_PRESS];
>       w#event#connect#button_press ~callback: ...
> 
> will connect the window w to a button press event.
> 
> How do I disconnect it ?!  I can't seem to find an example anywhere
> (except for widgets, but it seems to be different for windows).

let id = w#event#connect#button_press ~callback: ... in
...
w#misc#disconnect id

> Does anyone know where I can find example code which uses the usual
> widget suspects (menus, etc..) with an opengl area.

What about motazaar?
  http://www.boblycat.org/~malc/motazaar/

> The examples in the lablgtk and lablgl dir's don't seem to provide
> such an example.  The opengl examples only use opengl and vice versa.

True, but there's actually nothing special to mixing the two: openGL
drawing occurs only in GlArea widgets.

Jacques Garrigue

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


      reply	other threads:[~2004-03-23  4:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-23  4:01 briand
2004-03-23  4:53 ` Jacques Garrigue [this message]

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=20040323135337G.garrigue@kurims.kyoto-u.ac.jp \
    --to=garrigue@kurims.kyoto-u.ac.jp \
    --cc=briand@aracnet.com \
    --cc=caml-list@inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).