I was reading section 8.9 Event Propagation , and I encountered some methods in 
that sections said to be controlling the leaf widgets.

• Fl::add_handler()
• Fl::belowmouse()
• Fl::focus()
• Fl::grab()
• Fl::modal()
• Fl::pushed()
• Fl::release()(deprecated, see Fl::grab(0))
• Fl_Widget::take_focus()

I just want to what they're all about , why we needed these function , It'd be 
awesome if you could please explain by example only one of those important 
methods.


Another question : I'm using Fl_Text_Display widget which has to have buffer of 
type Fl_Text_Buffer , Which I initialize with sufficient buffer size. Now to 
update the text of buffer I'm using it's Fl_Text_Buffer::insert() method. is it 
OK to do that? , is this the idiom to update the buffer (exclude append here 
please)?

Last question :

"Fl::event_button()
Fl::event_clicks()
Fl::event_dx()" , these method are any useful at all? , since suppose my event 
handler gets called for some event click etc , then I already know which event 
caused my handler to invoke (supposing my function currently handles only one 
event at the time) , then why should I use this call Fl::event_clicks(); at 
all?.

I really appreciate any help, efforts and others time given for my questions. 
Thanks :)
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to