Replying to myself...

> If we look into Fl_Widget and Fl_Input_, we can see that 
> Fl_Widget::position(X,Y) is a shortcut to resize(X,Y,w(),h()) but in 
> Fl_Input_, the function position(X,Y) is redefined and is more complicated.

Sorry, I haven't check the documentation. It appear that the functions 
Fl_Input_::position(int,int) and Fl_Widget::position(int,int) don't have 
the same definition, i.e., Fl_Widget::position(int,int) is to move the 
widget while Fl_Input_::position(int,int) is for the cursor position 
(from what I understand).

Since 1.3.x is still under development, should we change the name of the 
function Fl_Input_::position(int,int) to avoid problem like I have? It's 
strange to me that the function position(int,int) does 2 things 
completely different depending of the type of widget.

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

Reply via email to