> On 07.05.2012 11:11, leowang wrote:
>
> > I have use take_focus to let the focus on the widget, but how can I remove 
> > the focus from this widget?
>
> Give the focus to another widget, or use Fl::focus(0); maybe.
>
> But what do you want to achieve with this?
>
> Albrecht
Hi Albrecht,
I have the case that, I have two Fl_Box widget, each has a normal_pic as it's  
background, and if the focus on it, it will change the focusd_pic as it's 
background, if the focus remove, then change the normal pic. So I need to 
remove the focus from the widget which has focus.

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

Reply via email to