Re: drawing area & events

Adrien <[email protected]> Thu, 7 Jan 2010 22:24:46 +0100
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
Hi,

I'm not completely fluent with lablgtk's api but I think you should
use the following:
  drawar#event#connect#key_press [1]

Don't know if it's the best thing but I've been using it for some time
without problem[2].

[1] http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgtk/html/GObj.event_signals.html

[2] http://git.ocamlcore.org/cgi-bin/gitweb.cgi?p=caravel/caravel.git;a=blob;f=src/webkit_worker/window/window.ml;h=c56404e547cf3cb2675ec93e297204071f31952e;hb=exp

 ---

Adrien Nader