Web Analytics Made Easy - Statcounter
Skip to content

Popup scrolled

Show a scrolled Popup window containing the user's text that was supplied.

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

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)
size (int, int) (None, None) (w,h) w=characters-wide, h=rows-high
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

sprint

This method is an alias for popup_scrolled