Login
Remember
IF Answers
Ask a Question

# In Inform 7, how do you create a text window using Flexible Windows by Jon Ingold?

0 votes
105 views
asked May 21 in Authoring by bg (692 points)

The Flexible Windows extension is here.

Would someone please give an example of how to create a text window to the left or right of the main window? I'd also like to know how to show and hide the window during play.

- inform7
- flexible-windows

## 1 Answer

+1 vote
answered May 21 by Dannii (329 points)
selected May 21 by bg
Best answer

    The side window is a g-window spawned by the main window.
    The position of the side window is g-placeright.
    The scale method of the side window is g-proportional.
    The measurement of the side window is 33.

    Toggling the side window is an action.
    Understand "side window" as toggling the side window.

    Carry out toggling the side window:
        if the side window is g-present:
            close the side window;
        otherwise:
            open the side window;

asked May 22 in Authoring by bg (692 points) How do you indent text in a window using Flexible Windows by Jon Ingold? (Inform 7)
asked May 28 in Authoring by bg (692 points) With Flexible Windows by Jon Ingold, is there a way to make the text display at the top of the window, even in Gargoyle? (Inform 7)
asked Jun 1 in Authoring by bg (692 points) In Flexible Windows, is it acceptable to set, e.g., the window position at or after the start of play? (Inform 7)

## Related questions

- How do you indent text in a window using Flexible Windows by Jon Ingold? (Inform 7)
- With Flexible Windows by Jon Ingold, is there a way to make the text display at the top of the window, even in Gargoyle? (Inform 7)
- How do you use a hyperlink to paste text without (in effect) pressing enter? (Flexible Windows, Inform 7)
- How do you avoid an extra line break when refreshing a window with Flexible Windows (Inform 7)?
- How to show window background color in Quixe: background color property or text background? (Flexible Windows, Inform 7)

...