I now have it nearly:
if(inputWindow1 == NULL)
{
int wx, wy, wh;
wx = xx - scroll_x_;
wy = yy - textsize_ - 3 - scroll_y_;
wh = textsize_ + 6;
inputWindow1 = new MenuWindow(wx, wy, ww, wh);
inputWindow1->begin();
inputWidget1 = new Input(0, 0, ww, wh);
inputWidget1->value("Hello");
inputWidget1->tooltip("inputWidget1");
inputWindow1->end();
insert(*inputWindow1,children() - 2);
inputWindow1->show();
}
Now the widget is visible, text has been entered twice or so.
Then the widget behaves like an OutputWidget.
winfried
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk