Web Analytics Made Easy - Statcounter
Skip to content

Popup scrolled

Show a scrolled Popup window containing the user's text that was supplied. Use with as many items to print as you want, just like a print statement.

    args = *<1 or N objects>,
    button_color = None,
    yes_no = False,
    auto_close = False,
    auto_close_duration = None,
    size = (None, None),
    location = (None, None),
    title = None,
    non_blocking = False

Parameter Descriptions

Name Type Default Description
*args Any Variable number of items to display
auto_close bool False if True window will close itself
auto_close_duration int or float None Older versions only accept int. Time in seconds until window will close
button_color (str, str) or str None button color (foreground, background)
location (int, int) (None, None) Location on the screen to place the upper left corner of the window
non_blocking bool False if True the call will immediately return rather than waiting on user input
size (int, int) (None, None) (w,h) w=characters-wide, h=rows-high
title str None Title to display in the window.
yes_no bool False If True, displays Yes and No buttons instead of Ok
RETURN str or None or TIMEOUT_KEY Returns text of the button that was pressed. None will be returned if user closed window with X


This method is an alias for popup_scrolled