Taaus changed the topic of #ocaml to: http://caml.inria.fr/oreilly-book/
<timmy> method key_press : callback:(GdkEvent.Key.t -> bool) -> GtkSignal.id
<timmy> anyone know what the bool is for?
skylan has quit [Read error: 104 (Connection reset by peer)]
skylan has joined #ocaml
malc has joined #ocaml
malc has quit ["no reason"]
malc has joined #ocaml
malc has quit ["no reason"]
smkl has quit [Read error: 110 (Connection timed out)]
smkl has joined #ocaml
owll has joined #ocaml
malc has joined #ocaml
malc has quit ["no reason"]
toko-rj has joined #ocaml
owll has quit [Read error: 104 (Connection reset by peer)]
toko-rj has left #ocaml []
<Dybbuk> I think OCaml is my new favorite language.
puffin has quit ["bluuuuuuuuuuuuuuuuu"]
kjs3 has joined #ocaml
malc has joined #ocaml
<timmy> any lablgtk people here? i want to press enter in a text box and have the text box cleared, but right now the problem is that if i clear it on key_press, then the textbox will still be left with o newline because the enter key is not blocked
<malc> timmy: try after
<timmy> malc: how?
<malc> timmy: event#connect#after#key_press ...
<timmy> oh
<timmy> do you know what the bool means in that callback?callback:(GdkEvent.Key.t -> bool)
<malc> timmy: true means that the event was served and there is no need for further processing (if my memory serves me)
<timmy> ok
<timmy> thanks
<malc> n/p
<Dybbuk> You could also bind key_release, I think.
malc has quit ["no reason"]
kjs3 has quit [Read error: 110 (Connection timed out)]
timmy has quit ["Lost terminal"]