That sounds like a simple solution. How do I do it? I don't see any reference 
to it in the documentation
http://www.fltk.org/documentation.php/doc-1.1/Fl_Text_Display.html#Fl_Text_Display




> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> says...
> > Hi,
> >    I have an Fl_Window with an Fl_Text_Display in it. I want my 
> > Fl_Text_Display to ignore all keyboard events, so that other widgets in my 
> > Fl_Window can handle them, but accept relevant mouse events. That is, I 
> > want to be able to scroll through the Fl_Text_Display by clicking the mouse 
> > on the scroll bar of the Fl_Text_Display.
> >    It appears that the Fl_Text_Display handles FL_Up and FL_Down if the 
> > mouse is NOT over the Fl_Text_Display, but ignores them if the mouse is 
> > over it.
> >    I tried making a new class:
>
> Set the Fl_Text_Display, to read only and the mouse wil work but it will
> not take keyboard input.

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

Reply via email to