Menu

#6 Window title

1.0
closed
nobody
None
2018-10-07
2015-11-24
No

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).

Discussion

  • Ravi Mathur

    Ravi Mathur - 2015-11-25

    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.

     
  • Jacob Williams

    Jacob Williams - 2015-11-25

    Yes, in my example, I'm not using a GUI toolkit, just an OpenFrames window. (see also Ticket #8)

     
  • Ravi Mathur

    Ravi Mathur - 2018-10-07

    Added this functionality through "ofwin_setwindowname()" in the C interface.

     
  • Ravi Mathur

    Ravi Mathur - 2018-10-07
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.