module: ‘popups.py’

class gwa.code.popups.Popups[source]
popupOK(title_popup, text_popup)[source]

The ‘popupOK’ displays a popup with the information ‘OK’ button.

Arguments :
  • title_popup (type string)

    Text of the title bar of the window

  • text_popup (type string)

    Text of the popup (can include carriage returns to put multiple lines)

Returns:

Reference button that was clicked.

popupYesNo(title_popup, text_popup)[source]

The ‘popupYesNo’ displays a popup with the information button ‘Yes’ and ‘No’.

Arguments :
  • title_popup (type string)

    Text of the title bar of the window

  • text_popup (type string)

    Text of the popup (can include carriage returns to put multiple lines)

Returns:

Reference button that was clicked.

Previous topic

module: ‘draw.py’

Next topic

module: ‘main.py (Eperf)’

This Page