[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Changeset] uigetfile, uigetdir, uiputfile
From: |
Ben Abbott |
Subject: |
Re: [Changeset] uigetfile, uigetdir, uiputfile |
Date: |
Sun, 21 Nov 2010 10:25:20 -0500 |
On Nov 21, 2010, at 8:40 AM, Kai Habel wrote:
> On 18.11.2010 20:57, John W. Eaton wrote:
>> On 18-Nov-2010, Kai Habel wrote:
>>
>> | I have not received much feedback so far. Here is a new Changeset, if
>> | nobody objects I will push this in a few days.
>>
>> Sorry, I haven't had a chance to try it yet, but I have no objection
>> to you pushing it now if it is mostly working.
>>
>> | +## @deftypefnx {Function File} address@hidden =} uigetdir ()
>> | +## Open a GUI dialog to select a directory. If @var{init_path} is not
>> given
>>
>> | +## @deftypefnx {Function File} address@hidden =} uigetfile
>> (@dots{},"Multiselect",@var{mode})
>> | +##
>> | +## Opens a GUI dialog to select a file. It returns the filename
>> @var{fname},
>>
>> | +## @deftypefnx {Function File} address@hidden, @var{fpath}, @var{fltidx}]
>> =} uiputfile ())
>> | +## Opens a GUI dialog to select a file. @var{flt} contains a (list of)
>> file
>> | +## filter string(s) in one of the following formats:
>>
>> Please consistently use "Open" instead of "Opens" here. The first
>> sentence of a doc string should be written as a command, not a
>> description.
>>
>> Thanks,
>>
>> jwe
> O.k. I have pushed it with the minor fixes. Since I could try this on linux
> 32bit and 64bit I am especially interested in reports if these function work
> as expected on MacOS and Windows. For a simple test you can just use:
>
> demo uigetdir
> demo uigetfile
> demo uiputfile
>
> Kai
When I demo uigetfile or uiputfile, I'm presented with a dialog what is not of
the pwd. I've attached a picture. uigetdir works the same as Matlab and
presents the pwd.
It looks to me as if the dialog is a partial representation of my root
directory.
octave:8> ls -1 /
Applications
Developer
Library
Network
ProIndependent.QtiPlot
System
User Guides And Information
Users
Volumes
bin
cores
dev
etc
home
home (from old Mac)
lost+found
mach_kernel
net
opt
private
sbin
sw
tmp
usr
var
Ben
- [Changeset] uigetfile, uigetdir, uiputfile, Kai Habel, 2010/11/14
- Re: [Changeset] uigetfile, uigetdir, uiputfile, Kai Habel, 2010/11/18
- Re: [Changeset] uigetfile, uigetdir, uiputfile, Michael Goffioul, 2010/11/18
- Re: [Changeset] uigetfile, uigetdir, uiputfile, Kai Habel, 2010/11/18
- Re: [Changeset] uigetfile, uigetdir, uiputfile, John W. Eaton, 2010/11/18
- Re: [Changeset] uigetfile, uigetdir, uiputfile, Kai Habel, 2010/11/18
- Re: [Changeset] uigetfile, uigetdir, uiputfile, John W. Eaton, 2010/11/18
Re: [Changeset] uigetfile, uigetdir, uiputfile, John W. Eaton, 2010/11/18
- Re: [Changeset] uigetfile, uigetdir, uiputfile, Kai Habel, 2010/11/21
- Re: [Changeset] uigetfile, uigetdir, uiputfile,
Ben Abbott <=
- Re: [Changeset] uigetfile, uigetdir, uiputfile, Kai Habel, 2010/11/21
- Re: [Changeset] uigetfile, uigetdir, uiputfile, Ben Abbott, 2010/11/21
Re: [Changeset] uigetfile, uigetdir, uiputfile, Kai Habel, 2010/11/18