bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Batch analysis of several matches.


From: Holger
Subject: Re: [Bug-gnubg] Batch analysis of several matches.
Date: Tue, 21 Jan 2003 18:12:19 +0100

On Tue, 21 Jan 2003 15:41:14 +0100, "Øystein O Johansen"
<address@hidden> wrote:
>A friend of mine asked for this feature. It's the same feature as Snowie 4
>has. Batch analysis of several matches. Click a menu selection for "Batch
>analyse", the user selects the files he wants to analyse, and then then he
>click "Run" and the matches are all imported and analysed and saved. It
>would be nice to have this feature in GNU Backgammon as well. (Of course we
>will make our similar feature a bit better). Of course this can be solved
>by a shell script or batch file, but I guess this may be too complicated
>for most of our users.
>
>I therefore like to discuss how to implement this. The GTK
>FileSelectionDialog is not suited for this since it cannot make selections
>of multiple files. So, if we want a GTK interface we have to generate a new
>widget (?) for selecting files.

As of GTK+ 2+ there is gtk_file_selection_set_select_multiple (), and
gtk_file_selection_get_selections () is capable of getting more than
one filename. Of course for Windows there is the performance
problem... but then there is the native dialogue...

>Now -- say the user selects one .sgf file, one .tmg file and one .mat.
>Should we make the program examine the file to find the format, or should
>the user specify which format each file has (and a "by extension" option).

The latter maybe, but the first in either way. If only to make sure
the file indeed has the specified format.

>An alternative to whole thing is to make another executable.
>batchanalysis.exe, which takes all the files in as the argument at the
>command prompt. Tools like that are useful because the the file manager /
>file explorer can be configured with an extra button or a right-click menu
>option to send the files to batchanalysis.exe. (guess you can do something
>similar in midnight commander or any Unix file manager as well ? )

A "normal" user would never find this feature if it's outside GNUbg.
Most/many probably don't know what the right mouse button is for, let
alone what context menus are.
Besides, this would be very platform specific.

Regards,

        Holger




reply via email to

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