set X11 window title from `graph->plotname'
in response to a bug report by Dominique Michel "#272 no title in plots" http://sourceforge.net/p/ngspice/bugs/272/
This commit is contained in:
parent
74b32f392c
commit
ed23c7e315
|
|
@ -388,6 +388,8 @@ X11_NewViewport(GRAPH *graph)
|
|||
DEVDEP(graph).shell = XtCreateApplicationShell
|
||||
("shell", topLevelShellWidgetClass, NULL, 0);
|
||||
|
||||
XtVaSetValues(DEVDEP(graph).shell, XtNtitle, graph->plotname, NULL);
|
||||
|
||||
/* set up form widget */
|
||||
DEVDEP(graph).form = XtCreateManagedWidget
|
||||
("form", formWidgetClass, DEVDEP(graph).shell, formargs, XtNumber(formargs));
|
||||
|
|
|
|||
Loading…
Reference in New Issue