Ethereal-dev: Re: [ethereal-dev] Starting up with a single pane

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gerald Combs <gerald@xxxxxxxx>
Date: Thu, 13 Jan 2000 09:55:53 -0600 (EST)
On Thu, 13 Jan 2000, Richard Sharpe wrote:

> I have some patches to 0.8.0 that allow us to start up with a single pane,
> of size = pl_size + tv_size + bv_size.
> 
> There are no packets selected or highlighted initially, as I switch to
> three panes in the select callback if we are in single pane view ...
> 
> I suspect that we need a menu item, and a button, that allows us to switch
> between the two views, but I will also have to retrieve the sizes of the
> three panes so we can set them back of we change the no of panes.  That is,
> not set them to the default ...

The Netscape browser under Unix has these nifty tabs on the left side of
its toolbars that let you collapse them and move them around.  The closest
thing in GTK-land appears to be the HandleBox.  It lets you drag panes
into their own window and drop them back onto their parent.  They're
described at

    http://developer.gnome.org/doc/API/gtk/gtkhandlebox.html

I think having a widget along the side of each pane that simply called
gtk_widget_hide()/gtk_widget_show() on its corresponding pane would be
handy.