filename_dialog
Thorsten Haude
yoo at vranx.de
Fri Oct 13 23:49:53 CEST 2006
Hi,
we talked about a few changes, but I forgot to add them to the
tracker. Here is the first:
* A.V.Kuznetsov wrote (2006-09-25 14:30):
>One of two new macros, exist_filename_dialog() and
>new_filename_dialog(), seems to be excessive.
I think this is what we should do. We basically talk about a single
dialog, modified for different cases. We could even drop one mode of
operation completely.
So I propose this new function:
filename_dialog(title, mode, default_path, filter, default_filename)
filename_dialog(options)
The first call would have individual options, the second call would
put all options in an array. The array could make this easier, but I
would still mark this as experimental.
All options would be optional (doh), with the following new defaults:
title - "Choose file" or somesuch
mode - "exist"
I think the macro call should be as easy as possible, while not
preventing more powerful use.
Thorsten Arcade Fire: Neighborhood #2 (Laika)
--
Getting a thrill out of some stupid quote is a sign of idiocy.
- turmeric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.nedit.org/pipermail/discuss/attachments/20061013/45eaf6bc/attachment.bin
More information about the Discuss
mailing list