On 28 Mar 2007, at 18:24, Millan wrote:

> Then I'll check it again. I've deduced previous conclusion, that  
> call to
> timeout function is crucial alone, by commenting out timeout  
> function call and
> leaving only overridden "handle()" method in your program, and it  
> didn't
> worked, but simply commenting out may not be the best way to test  
> this.

Sorry, I think you may have misunderstood me: The example I posted  
only has a partial implementation of the handle method (just enough  
to cause the browser window to be closed when the main window exits)  
it does not implement all the functions you would need. I just wanted  
to indicate that it was a possible approach.

The "timeout" was simpler to do for a quick demo - but it lacks  
style, I think, and the "proper" thing to do would be to extend the  
handle method of your window (and probably of your input widget too)  
to handle the passing of focus as you require. The timeout approach  
is just a bit of a hack...!


>
> What do you mean by STR?

Software Trouble Report: http://www.fltk.org/str.php


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to