ConfirmDialog.ConfirmDialog Class Reference


Detailed Description

N button confirm dialog.

Call show() to get it going, then ask for returnValue. It will be I for button I, 1 based indices! If you specify '' for a button name, it will be ignored and mess up your button count. The last valid button value will be used for the 'close the window' value. If you want to change this behavior, set myWinCloseValue to a positive value before calling show().

Buttons specified should be a tuple; e.g., (_("OK"),_("Bad")) or, in the case of a single button, just a string; e.g., "OK". See examples at the bottom. You should be able to run this standalone: python ConfirmDialog as I'm not sure how to unit test it.

#include <class_confirm_dialog_1_1_confirm_dialog.h>

List of all members.

Public Member Functions

  __init__ ()
  returnValue ()
  show ()
  stop ()

Public Attributes

  myWinCloseValue

Member Function Documentation

ConfirmDialog.ConfirmDialog.__init__ ( )
ConfirmDialog.ConfirmDialog.returnValue ( )
ConfirmDialog.ConfirmDialog.show ( )
ConfirmDialog.ConfirmDialog.stop ( )

Member Data Documentation


ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog
ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog ConfirmDialog.ConfirmDialog