Notification of changes to diagram

  • Brian Martin

    Brian Martin - 2012-01-30

    Is there a way to know when any changes are made to the diagram?
    I want to know this so I can prompt the user if he/she attempts to exit the application without saving if the diagram has been altered so work is not accidentally lost.

    I'm a bit new to the framework and have been looking through the docs and source but have not yet found a way of doing this.


  • Brian Martin

    Brian Martin - 2012-02-07

    May have solved this by emitting events from shapes.

    Now a new problem - the mere creation of shapes seems to take ages. Removing sfUNDOREDO speeds things up. Might be me - the demos don't seem to suffer from this even those that support undo/redo.



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks