Called just before the window is closed (e.g., by the window manager). This method is not called by show .
See also can-close?.
removes a preferences callback for 'framework:line-offsets. See the preferences sectionpreferences for more information