Package dtk :: Package ui :: Module dialog :: Class SaveFileDialog

Class SaveFileDialog

source code


Simple dialog to save file.

Instance Methods
 
__init__(self, title, parent, ok_callback=None, cancel_callback=None)
Initialize SaveFileDialog class.
source code
Method Details

__init__(self, title, parent, ok_callback=None, cancel_callback=None)
(Constructor)

source code 

Initialize SaveFileDialog class.

Parameters:
  • title - Dialog title.
  • parent - Parent widget to call open file dialog.
  • ok_callback - Callback when user click ok button, this function accept one argument: filename.
  • cancel_callback - Callback when user click cancel button, this function accept one argument: filename.