History

Add Window.raise() as replacement for Window.raiseMainWindow()

David Rowe committed 8 years ago

Commit d1d58ec1 parent 11f5e782 files · +12 −1Browse files

Showing the changes to interface/src/scripting/WindowScriptingInterface.h (1 of 2 files). Show all

Unified · Split

interface/src/scripting/WindowScriptingInterface.h+7−0
@@ -68,9 +68,16 @@ public slots: · 67 unmodified lines
6868 */
6969 void setFocus();
7070
71+ /**jsdoc
72+ * Raise the Interface window if it is minimized. If raised, the window gains focus.
73+ * @function Window.raise
74+ */
75+ void raise();
76+
7177 /**jsdoc
7278 * Raise the Interface window if it is minimized. If raised, the window gains focus.
7379 * @function Window.raiseMainWindow
80+ * @deprecated Use {@link Window.raise|raise} instead.
7481 */
7582 void raiseMainWindow();
7683