notepad - Annotations API

Notepad Module

The following methods are available for the notepad module.

  • collapse function

    Shrinks the notepad window down to the collapsed state (just the menu bar).

  • expand function

    Sets the notepad to the expanded state (as opposed to collapsed).

  • hide function

    Hide the notepad.

  • show function

    Show the notepad.

  • toggle function

    Toggle the notepad's visibility status between shown and hidden.

  • isVisible function

    Returns the status of the notepad window's visibility, as True or False.

  • maximize function

    Sets the notepad to the maximum size, filling the window.

  • minimize function

    Sets the notepad to the minimum size (but not collapsed).

  • resize function

    Resizes the notepad window to the dimensions specified.

  • setContent function

    Set the content of the notepad text body.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.