> BTW, another way to do this is to give the menu item for "1 Viewport"
> a name, ie. in fluid open the Properties editor for the menu item
> and give it a "Name:", such as item_1viewport.
> ..again, where 'w' is the pointer to your menu widget.
> Or, if you know your callback doesn't make use of that first
> argument to the callback, you can just make that zero, eg:
> item_1viewport->do_callback(0);
My menu item does have a name. It's called Split_1. Your syntax above solved
the problem for me. Thanks for that.
Split_1->do_callback(0);
Why the zero is necessary when executing a menuitem callback? For most widgets,
button->do_callback() gets the job done. Thanks again.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk