Hello,
I tried to implement a GUI menu to the FigureWindow with a "Save" option.
This callback asks the user for a filename and calls Figure::Print( filename )
function (which I had to move to be public), but this segfaults. What would
need to be done to have the Figure::Print function safe to be public?
Asking in a different way: do you have developer documentation available?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I tried to implement a GUI menu to the FigureWindow with a "Save" option.
This callback asks the user for a filename and calls Figure::Print( filename )
function (which I had to move to be public), but this segfaults. What would
need to be done to have the Figure::Print function safe to be public?
Asking in a different way: do you have developer documentation available?
Thanks
Uh, never mind that, the problem wasn't with Figure::Print, but with
my knowledge of FLTK :)
I hope that once it works you would consider submitting a patch to octplot
Shai