Ethereal-dev: [Ethereal-dev] Re: [Ethereal-cvs] cvs commit: ethereal/gtk color_dlg.c dlg_utils
On Sat, May 22, 2004 at 02:56:19PM -0500, Ulf Lamping wrote:
> ulfl 2004/05/22 14:56:19 CDT
>
> Modified files:
> gtk color_dlg.c dlg_utils.c dlg_utils.h
> follow_dlg.c gsm_map_summary.c
> h225_counter.c help_dlg.c io_stat.c
> mgcp_stat.c mtp3_summary.c rtp_analysis.c
> summary_dlg.c
> Log:
> going to have a standard behaviour of the dialogs
> (including remebering of the dialog size in recent file).
> for a first step, I replaced all window_new() calls from dialogs
> into dlg_window_new() ones,
What specifies whether a window is a dialog or not? For example, in
"follow_dlg.c", the window that contains text from the TCP stream isn't
a dialog in the sense of a window where you fill in some fields and then
click an "OK" or "Go" or "do it" button to cause some action to be taken
with the values you filled in as parameters. It seems more like the
type of window you'd get, for example, with a spreadsheet if there's an
option to draw a graph or chart in a secondary window.
Neither the GNOME nor the Mac OS X HIG seem to have a term for that type
of window; the OS X HIG lists:
"document windows", which "contain file-based user data" - the
main Ethereal window would be one of those, but I don't know
whether a derived view would be one of those;
"application windows", which "are the main windows of
applications that are not document-based" - but Ethereal is
document-based, even if it can only have one document open at a
time;
"utility windows", which "float above other windows and provide
tools or controls that users can work with while documents are
open" - the "Graph {N} - Control" window for the TCP graph would
be an example of that (and the "TCP Graph {N}: {file name}"
window would be a window similar to the "Follow TCP Stream"
window);
"dialogs and alerts", which "require a response from the user".
The GNOME HIG (not entirely surprisingly, as the GNOME HIG, and a number
of aspects of the GTK+ 2.x/GNOME UI, seem OS X-inspired) has a similar
list of window types - "primary windows" (which subsume the OS X
concepts of "document windows" and "application windows"), "utility
windows", "alerts", "dialog boxes", and "assistants" (think "wizards" in
Windows).
The Windows HIG at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwue/html/welcome.asp
also doesn't seem to have a separate category for derived view
windows; it's less detailed about what primary windows are, however, so
it's not as if it describes other types of primary windows and doesn't
mention derived views.
Perhaps:
the OS X HIG explicitly describes document and application
windows and needs to explicitly mention "derived view" windows
as well;
the GNOME HIG isn't as explicit, but does talk about documents
in word processors, images in drawing programs, or
"calculations" in calculator or spreadsheet programs as having
primary windows, and should perhaps at least mention derived
views.
I'd consider the statistics windows popped up for various taps, the
capture summary window, and the help window to be derived view windows,
not dialogs, as well.