octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Changeset] uigetfile, uigetdir, uiputfile


From: Kai Habel
Subject: Re: [Changeset] uigetfile, uigetdir, uiputfile
Date: Thu, 18 Nov 2010 17:17:40 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100914 SUSE/3.1.4 Lightning/1.0b2 Thunderbird/3.1.4

 On 18.11.2010 16:19, Michael Goffioul wrote:
On Thu, Nov 18, 2010 at 1:13 PM, Kai Habel<address@hidden>  wrote:
  On 14.11.2010 21:52, Kai Habel wrote:
  Hello,

I have implemented the user interface functions
uigetdir, uigetfile, and uiputfile
using the Fltk Fl_File_Chooser class. It should be almost feature complete
and compatible with matlab. I would like to get feedback if the functions
work as expected for you. Comments and suggestions are welcome too.

Kai
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 forgot to answer. I was just wondering whether the implementation
could be made in such a flexible way that it would allow a 3rd party backend
to hook in its own standard dialog boxes.

Michael.

Hello Michael,

I have separated the fltk specific code from the common code as much as possible. The generic m-files uigetdir, uigetfile and uiputfile call the backend specific function __fltk_uigetfile__. So other backends could provide a similar function. If we have two or more backends available, we have to find a way to determine the 'right' backend and call the correct __xxx_uigetfile__ function. Or have you thought of other means?

Kai


reply via email to

[Prev in Thread] Current Thread [Next in Thread]