aboutsummaryrefslogtreecommitdiffstats
path: root/column.h
Commit message (Collapse)AuthorAgeFilesLines
* "col_format_to_pref_str()" is used only in "prefs.c", and knows aboutGuy Harris2001-07-221-2/+1
| | | | | | | | the format of string lists in a preferences file; rename it to "put_string_list()", make it take the list as an argument rather than working only on "prefs.col_list", and put it in "prefs.c". svn path=/trunk/; revision=3776
* Move the code in "column.c" that implements the column preferences tabGuy Harris2000-01-101-8/+6
| | | | | | | | | | | into "gtk/column_prefs.c". Get rid of "get_column_width()" - instead, export "get_column_longest_string()", and have "get_column_width()"'s callers make the GDK call to get the width of that string, so that "column.c" contains no GTK+/GDK code. svn path=/trunk/; revision=1447
* Add summary-vs-detail radio buttons to the print dialog box; detailGuy Harris1999-09-121-1/+2
| | | | | | | | | | | | | | | | | | | | | prints the protocol tree, and summary prints the fields in the summary clist, with a header line at the beginning of the printout. Print only packets selected by the current packet filter. Just have "ARP" and "RARP" in the "Protocol" field for ARP packets; whether it's a request or a reply can be seen in the "Info" field. Add to the "Frame" section of the protocol tree the time between the current packet and the previous displayed packet, and the packet number. Have FT_RELATIVE_TIME fields be a "struct timeval", and display them as seconds and fractional seconds (we didn't have any fields of that type, and that type of time fits the delta time above). Add an FT_DOUBLE field type (although we don't yet have anything using it). svn path=/trunk/; revision=666
* We need to catch a "window delete" event for the preferences dialog boxGuy Harris1999-09-101-1/+2
| | | | | | | | | | | | | | | | | | | | | - that event happens if, say, you nuke the dialog box from a window manager - and call "delete" routines for each of the preferences tabs, so that, for preferences tabs that include list widgets, we can set a flag on the preferences tab widget telling the selection callback for the list widget that the buttons it would normally set the sensitivity of, based on whether any row in the list is selected or not, have Joined the Choir Invisible, and therefore that we shouldn't change their sensitivity because GTK+ will whine at us if we do, just as is the case if we press the "OK" or "Cancel" button (which also cause the window to go away). Can we just do this in the "window delete" handler? I.e., does that get called if we explicitly destroy the widget? Or should we catch a "destroy" event instead? (There must be a better way to do this....) svn path=/trunk/; revision=647
* Have:Guy Harris1999-07-281-10/+17
| | | | | | | | | | | | | | COL_INFO columns resize automatically even during a live capture; columns showing network addresses never resize automatically; other columns resize only when a capture is done; and make all columns resizeable by hand (once they've resized, for auto-resizeable columns). svn path=/trunk/; revision=394
* Revert to static sizing of columns.Guy Harris1999-07-221-1/+2
| | | | svn path=/trunk/; revision=377
* Use "gtk_toggle_button_set_state()" rather thanGuy Harris1999-06-191-2/+1
| | | | | | | | | | | "gtk_toggle_button_set_active()" to set the state of radio buttions; "gtk_toggle_button_set_active()" doesn't exist in GTK+ 1.0[.x], and "gtk_toggle_button_set_state()" is an alias for it in GTK+ 1.2[.x]. Compute the column widths in the summary display based on the longest string in the column; recompute it whenever we update the columns. svn path=/trunk/; revision=319
* * Added column formatting functionality.Gerald Combs1998-11-171-0/+44
* Added check_col(), add_col_str() and add_col_fmt() to replace references to ft->win_info. * Added column prefs handling code. svn path=/trunk/; revision=97