diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-12-29 20:10:12 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-12-29 20:10:12 +0000 |
commit | 8162d65615239222d3c22f684ce121d2b39f9039 (patch) | |
tree | c6fa5d6ff97fee388a3f2f0efd5ccccce1abe957 /doc/ethereal.pod.template | |
parent | dcd0869b373bcdc2c6a85243035b69c558f472da (diff) |
Changed the protocol tree widget from a GtkTree to a GtkCTree. The two reasons
I did this:
First, Havoc Pennington, in "GTK+/Gnome Application Development", in
Appendix seciton A.3.88, recommends using GtkCTree instead of GtkTree
because GtkCtree is faster, and GtkTree has limitation on its total row
height: since it must fit inside a GdkWindow, it is limited to 32,768
pixels of height. GtkTree is more flexible with regards to the types of
widgets that can be placed in the tree, but since we deal only with text,
that doesn't matter, at least for now.
Secondly, a GtkTree doesn't allow arrow-key navigation (at least as far
as I could tell). It always bothered me that the up and down arrow keys
worked in the packet list and in the hex dump, but no in the protocol tree.
GtkCTree does allow arrow-key navigation. In fact, GtkCTree is a subclass
of GtkCList (the packet list widget), so they behave a lot alike.
I went ahead and fixed the selection bar which has been bothering Richard
for a long time now. :) In the GUI preferences dialogue, you can now set
both the packet list selection bar and the protocol tree selection bar
to either "browse" or "select" mode. "browse" mode is what you're used to:
the arrow keys move an outline of the selection bar, but do not change
the selection. "select" mode does change the selection when the arrow keys
are pressed. The default behavior is set to "select", which seems more
natural for a first-time user.
svn path=/trunk/; revision=1393
Diffstat (limited to 'doc/ethereal.pod.template')
-rw-r--r-- | doc/ethereal.pod.template | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/ethereal.pod.template b/doc/ethereal.pod.template index 00e768d62f..f19ee216fa 100644 --- a/doc/ethereal.pod.template +++ b/doc/ethereal.pod.template @@ -399,8 +399,15 @@ desired color. The new text colors are displayed in a sample window. =item GUI Preferences The I<GUI> page is used to modify small aspects of the GUI to your own -personal taste. The only current option is the placement of the -vertical scrollbars in the three panes, either on the left or the right. +personal taste. The vertical scrollbars in the three panes can be +set to be either on the left or the right. The selection bar in the +packet list and protocol tree can have either a "browse" or "select" +behavior. If the selection bar has a "browse" behavior, the arrow keys +will move an outline of the selection bar, allowing you to browse +the rest of the list or tree without changing the selection +until you press the space bar. If the selection bar has a "select" +behavior, the arrow keys will move the selection bar and change +the selection to the new item in the packet list or protocol tree. =back |