close
Finds the close button among the components of the provided interface widget, and closes it using mouse.
Return
true
if the interface is not opened or was successfully closed, false
otherwise.
Parameters
Widget of interface that is being closed
Finds the close button among the components of the provided interface widget, and closes it using either mouse or hotkey. WARNING: It is recommended to use the overloaded method .close. In the future, when the antipatterns are implemented, the client will automatically decide whether or not to use hotkeys to close the interface.
Return
true
if the interface is not opened or was successfully closed, false
otherwise.
Parameters
Widget of interface that is being closed
Whether or not use hotkey to close the interface
Finds the close button among the provided interface components, and closes it using mouse.
Return
true
if the interface is not opened or was successfully closed, false
otherwise.
Parameters
Components of interface that is being closed
Finds the close button among the provided interface components, and closes it using either mouse or hotkey. WARNING: It is recommended to use the overloaded method .close. In the future, when the antipatterns are implemented, the client will automatically decide whether or not to use hotkeys to close the interface.
Return
true
if the interface is not opened or was successfully closed, false
otherwise.
Parameters
Components of interface that is being closed
Whether or not use hotkey to close the interface