mailr10376 - /branches/bieri_gui/gui_bieri/filedialog.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on January 26, 2010 - 13:49:
Author: bugman
Date: Tue Jan 26 13:49:16 2010
New Revision: 10376

URL: http://svn.gna.org/viewcvs/relax?rev=10376&view=rev
Log:
Converted the openfile() args to keyword args.


Modified:
    branches/bieri_gui/gui_bieri/filedialog.py

Modified: branches/bieri_gui/gui_bieri/filedialog.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/filedialog.py?rev=10376&r1=10375&r2=10376&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/filedialog.py (original)
+++ branches/bieri_gui/gui_bieri/filedialog.py Tue Jan 26 13:49:16 2010
@@ -54,20 +54,20 @@
         return newdir
 
 
-def openfile(msg, directory, filetype, default):
+def openfile(msg=None, directory=None, filetype=None, default=None):
     """Open a file.
 
     For example to open /usr/save.relaxGUI, where the supported files to 
open are: *.relaxGUI, *.*:
         openfile('select file to open', '/usr', 'save.relaxGUI', 'relaxGUI 
files (*.relaxGUI)|*.relaxGUI|all files (*.*)|*.*')
 
 
-    @param msg:         The message to display.
+    @keyword msg:       The message to display.
     @type msg:          str
-    @param directory:   The directory to open in.
+    @keyword directory: The directory to open in.
     @type directory:    str
-    @param filetype:    The file to default selection to.
+    @keyword filetype:  The file to default selection to.
     @type filetype:     str
-    @param default:     A list of supported files, indicated as "(Label)|os 
command|...
+    @keyword default:   A list of supported files, indicated as "(Label)|os 
command|...
     @type default:      str
     """
 




Related Messages


Powered by MHonArc, Updated Tue Jan 26 14:00:02 2010