Window title
Real-time interactive 3D graphics API for scientific simulations
Status: Beta
Brought to you by:
ravidavi
When OpenFrames opens a new window, there should be a way to set the window title from the C/Fortran interface. For example, in WindowProxy::setupWindow,
std::string WindowName = "OpenFrames";
traits->windowName = WindowName;
Except that it should be a user input (for example, a new argument for ofwin_createproxy).
OpenFrames is usually used within a GUI toolkit, e.g. Winteracter, wxWidgets, etc. In those cases the toolkit handles the window title. Since I assumed OpenFrames would (almost) always be embedded in this way, I never bothered to add the ability to specify a window title.
Are you using it standalone, without a dedicated GUI toolkit? If so, I'd consider adding this capability.
Yes, in my example, I'm not using a GUI toolkit, just an OpenFrames window. (see also Ticket #8)
Added this functionality through "ofwin_setwindowname()" in the C interface.